SEARCH
You are in browse mode. You must login to use MEMORY

   Log in to start

level: Stata

Questions and Answers List

level questions: Stata

QuestionAnswer
Normal regressionreg yvar xvar, r
Regression med kontrolreg yvar xvar zvar, r
hypotesetestttest yvar, by(xvar) unequal
ciplotciplot yvar, by(xvar)
Samme stikprøvegenerate used=e(sample)
Justeret R^2Display e(r2_a)
Interflexinterflex yvar xvar zvar
Marginale effekterMargins, dydx(x) at(z=(0(1)2))
InteraktionsanalyseReg y c.x##i.z z1 z2 z3, r
Grafisk illustration af marginale effektermarginsplot (post estimation)
ACPRacpr xvar, (optioner omkring lowess og lfit)
DiD-analyseReg y x##bølge, cluster(id)
Angivelse af treatmentbys id: egen TG=max(euLeaveContact)
polynomisk regressionreg yvar xvar##xvar
logistisklogit yvar xvar
odd-ratio, or
faktoranalysefactor item1 item2, pcf
postestimationskommando der giver f-testtestparm
fixed effectsxtset niveau2 derefter: xtreg yvar xvar zvar, fe cluster(niveau1)