Hi all:
My dependent variable, v6mouses, is drug use; 60.15% of the result is 0 and 26.92% of the result is 1, which is overdispersion. Hence, I used "xtnbreg v6mouses IV, fe" to run my analysis. However, I have a concern xtnbreg is not a true fixed effects model.
I referred to the previous post, and I am using xtpoisson with robust option. Here is my code:
xtpoisson v6mouses l.exptots l.cynics l.mordiss l.parmnts l.impulss l.peerprs l.hoods i.wave, robust i(caseid) fe
I also use "l." option for creating lagged one variables for all IV to establish temporal sequences. I am not sure whether this would be suitable.
Thank you very much!!
Steven
Related Posts with Alternative to fixed-effects Binomial Model for longitudinal data
Latent Class Analysis - How to identify the main drivers?Hi All! I ran a LCA to identify the best possible segmentation of classes in a population. I used L…
Power calculation using pairwise matching design.Hi All, For our cluster level specification, we are currently using “clustersampsi” command in Stat…
Decimal places control when exporting to tex file using logoutDear Statalists, I have a few numbers in my dta which I would like them to remain in this format (ro…
Export trade durationHello, I am trying to assign consecutive years of exports to my data. My data consists of Years, pr…
Spectral decomposition in MataHi Mata users, I would like to know if there is a built-in function in Mata that calculates the squ…
Subscribe to:
Post Comments (Atom)
0 Response to Alternative to fixed-effects Binomial Model for longitudinal data
Post a Comment