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
getting error doing structural testHello all, I am testing for structural breaks using estat sbsingle. I am specifically focusing on th…
Determine how many respondents answered a question where they could select multiple responsesI am no STATA guru, so this may be simple, but I cannot find guidance anywhere (probably because I d…
count number of unique values over a rolling time window defined by a date variableDear Stata community, I'd like to generate a variable that records the number of unique values of a…
Heckprobit regression with dummy variablesI have done a heckprobit regression on a cross section data. My main explanatory variable is a distr…
To generate a new variable to subset a dataset based off number of visit a patient has attendedDear all, Patient number is a key identifier variable. For example Patients have come for 3 visits,…
Subscribe to:
Post Comments (Atom)
0 Response to Alternative to fixed-effects Binomial Model for longitudinal data
Post a Comment