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
Generating dummy based on company classificationHi everyone, I am looking to create a dummy variable based on another dummy variable for an identif…
Generating new variable from r-class command that produces multiple returns (as a result of using 'by:' command)Hello I would like some assistance with generating newvar [XIRR] from returned r-class command. I …
VARNAME dialog elementDear All, While programming a dialog one can use an option numeric for the VARNAME dialog elements,…
Pooled-Cross Sectional Data - nhis_alcohol.dtaHello, I am writing an Empirical Paper on the effect of alcohol on labor market outcomes. The data i…
replacing data of two row in only one row.i have data like below Code: * Example generated by -dataex-. To install: ssc install dataex clear …
Subscribe to:
Post Comments (Atom)
0 Response to Alternative to fixed-effects Binomial Model for longitudinal data
Post a Comment