I am relating age to a binary outcome in a logistic model (or, more to the point I would like to). However, the distribution of the ages looks like this:
nn <- 1000
age <- c(rpois(nn / 3, lambda = 0.5),
rnorm(nn / 3, mean = 10, sd = 2),
runif(nn / 3, min = 0, max = 15))
age <- age[which(age > 0)]
How would you approach this problem?
Thanks!