Dear Statalist forum members,
Can family(binomial) be used in xtgee to assess proportions (e.g., percent of hospitalizations resulting in readmission)? Or can it only be used for binary outcomes (hospitalized yes/no)?
I wish to model the relationship between hosp_hhi and readmission_rate_pc using xtgee, where readmission rate is a continuous variable ranging between 0 and 1. Is the use of family(binomial) appropriate for this case?
xtset hospital_center_id
xtgee readmission_rate_pc hosp_hhi, family(binomial) link(logit) corr(independent) vce(robust)
Thank you.
Can family(binomial) be used in xtgee to assess proportions (e.g., percent of hospitalizations resulting in readmission)? Or can it only be used for binary outcomes (hospitalized yes/no)?
I wish to model the relationship between hosp_hhi and readmission_rate_pc using xtgee, where readmission rate is a continuous variable ranging between 0 and 1. Is the use of family(binomial) appropriate for this case?
xtset hospital_center_id
xtgee readmission_rate_pc hosp_hhi, family(binomial) link(logit) corr(independent) vce(robust)
Thank you.
Comment