clearcapdropcount*bysyearlighting_sourcesM:gencount=_Nseparatecount,by(lighting_sourcesM)veryshortlabeleststoclearglc="lighting_sourcesM age_yr gender marstat hh_size education lnconsumption fuelwoodprice keroseneprice"eststo:xtmlogit$c,febaseoutcome(0)eststo:xtmlogit$cifrural==1,febaseoutcome(0)est...
xtmlogit — Fixed-effects and random-effects multinomial logit models Description Syntax Remarks and examples References Quick start Options for RE model Stored results Also see Menu Options for FE model Methods and formulas Description xtmlogit fits random-effects and conditional fixed-effects ...
xtmlogit workstat age i.race i.student i.msp, re But what would re mean here? Should Stata assume I want one random effect for each level of workstat or one random effect overall? If I have multiple random effects, should they be independent or should they be correlated?
在Stata中加入rrr选项,即可得到相对风险比。 xtmlogit estatus i.hhchild age hhincome i.hhsigno i.bwinner, rrr 加入rrr选项后,Out_of_labor_force部分hhchild的相对风险比(RRR)约为1.6,表明与家庭中没有18岁以下孩子的妇女相比,有18岁以下孩子的妇女就业状态为非劳动力的相对风险是在职情况下相对风险的1.6...