Transcription of Title stata.com regress — Linear regression
{{id}} {{{paragraph}}}
Linear regressionDescriptionQuick startMenuSyntaxOptionsRemarks and examplesStored resultsMethods and formulasAcknowledgmentsReferencesAlso seeDescriptionregressperforms ordinary least-squares Linear also perform weightedestimation, compute robust and cluster robust standard errors, and adjust results for complex startSimple Linear regression ofyonx1regress y x1 regression ofyonx1,x2, and indicators for categorical variablearegress y x1 x2 the interaction between continuous variablex2andaregress y x1 ## model for observations wherev1is greater than zeroregress y x1 x2 if v1>0 With cluster robust standard errors for clustering by levels ofcvarregress y x1 x2 , vce(cluster cvar)With bootstrap standard errorsregress y x1 x2 , vce(bootstrap)Report standardized coefficientsregress y x1 x2 , betaAdjust for complex survey design using
allow for intragroup correlation (cluster clustvar), and that use bootstrap or jackknife methods (bootstrap, jackknife); see[R] vce option. vce(ols), the default, uses the standard variance estimator for ordinary least-squares regression. regress also allows the following:
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}