mloop / lodr

R package for analyzing covariates subject to a limit of detection
Other
0 stars 0 forks source link

Use mean values for LOD participants to calculate fitted values #16

Closed mloop closed 4 years ago

mloop commented 4 years ago

When calculating fitted values ($\hat{y}$), we currently don't provide them for the participants with a value below the LOD. We are going to change that behavior to use the mean of the sampled values for each covariate subject to an LOD, for each participant.

kmdono02 commented 4 years ago

This has been implemented in latest Github push. I also added the option to use the lower limit of detection (though I set the mean to the default option).