1
$\begingroup$

I have a binary variable indicating the presence or absence of a disease as well as variables for time and other covariates. SOME (not all) people are observed (tested) several times. Suppose I want to estimate the prevalence of disease for a given year. I believe that if there was just one observation per person I could do that with an intercept only logistic regression where the estimated intercept is the prevalence. However, because there are several observations per subject Im unsure how to proceed. If I modelled all the data and accounted for subject id e.g. using a mixed model or clustered standard errors, I believe the standard errors will be valid but I cannot see how the point estimate is valid. Im imagining an extreme example where one person accounts for the majority of the data who has the disease present in all of his/her observations; that will surely increase the point estimate of the prevalence which would not be realistic. I might be thinking about this all wrong...would really appreciate some help!

Update / clarification: Suppose in a population of 10 people, each person is measured once. 5 people are positive for the disease whilst 5 are negative. The prevalence is 50% which can be estimated using the formula for prevalence, or using poisson (aggregated counts) or logistic (binary data) regression. Now, suppose one of the subjects is actually measured 20 times. How does one calculate the "correct" prevalence using 1. Formula method, 2 Poisson regression, 3. Logistic regression?

$\endgroup$
3
  • $\begingroup$ You can use logistic regression where the presence observation is not just $0$ or $1$ but some intermediate value. You may get a warning message in some implementations $\endgroup$
    – Henry
    Commented May 28, 2022 at 13:00
  • $\begingroup$ Thanks for the reply but this does not answer the question $\endgroup$
    – user167591
    Commented May 28, 2022 at 13:30
  • $\begingroup$ I think you'll need to make some important assumptions, and so give further details. Can you assume that once you have the disease you won't revert to the disease free state (at least during the experiment period)? How do different measurements of a same person relate to one another? Can you tell whether different +ve measures of a same person correspond to the same disease state? Is becoming healthy and sick again a possibility? $\endgroup$
    – dherrera
    Commented Nov 4, 2023 at 5:05

1 Answer 1

-1
$\begingroup$

Why don't you bootstrap your data (replace with sampling) B times and apply logistric regression and use majority voting.. your variance will be smaller. Duplicate data means your data has already been bootstrap little bit but not enough, I think...

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.