I am interested in estimating the likelihood that a patient has a prescription for a specific drug. Beneficiaries are nested within physicians. I have observations for two periods pre and post an FDA safety alert. I am interested in getting physician-specific effects for their relative level of prescribing the drug in each of the two periods.
So, I have: melogit y post || physician: post, cov(un)
However, when I estimate the physician level random effects using reffects bpst bint, reffects I get values that are perfectly correlated. I know that physicians who had a higher share of benes on the relevant drug before the safety alert had a higher share after the alert, but these are definitely not perfectly correlated. Where am I going wrong?
Thanks
So, I have: melogit y post || physician: post, cov(un)
However, when I estimate the physician level random effects using reffects bpst bint, reffects I get values that are perfectly correlated. I know that physicians who had a higher share of benes on the relevant drug before the safety alert had a higher share after the alert, but these are definitely not perfectly correlated. Where am I going wrong?
Thanks
Comment