Hi STATA forum,
I have panel data, whereby each month, of a cohort of 1000 participants, 200 participants were randomly selected to participate in surveys. Over the 5 months, some respondents were sampled multiple times, therefore I have uneven repeated measures within individuals.
I need to obtain the average probability that y=1 across all the data therefore am using null models with the code 'merqrlogit outcome || cluster || id: || month to account for the survey design.
I can obtain the average probability by the 'predict' command, but how can I also obtain confidence intervals for this?
Many thanks in advance,
Emily
I have panel data, whereby each month, of a cohort of 1000 participants, 200 participants were randomly selected to participate in surveys. Over the 5 months, some respondents were sampled multiple times, therefore I have uneven repeated measures within individuals.
I need to obtain the average probability that y=1 across all the data therefore am using null models with the code 'merqrlogit outcome || cluster || id: || month to account for the survey design.
I can obtain the average probability by the 'predict' command, but how can I also obtain confidence intervals for this?
Many thanks in advance,
Emily
Comment