Transcription of Title stata.com regress — Linear regression
{{id}} {{{paragraph}}}
Linear regressionSyntaxMenuDescriptionOptionsRe marks and examplesStored resultsMethods and formulasAcknowledgmentsReferencesAlso seeSyntaxregressdepvar[indepvars] [if] [in] [weight] [,options]optionsDescriptionModelnoconst antsuppress constant termhasconshas user-supplied constanttssconscompute total sum of squares with constant; seldom usedSE/Robustvce(vcetype)vcetypemay beols,robust,clusterclustvar,bootstrap,j ackknife,hc2, orhc3 Reportinglevel(#)set confidence level; default islevel(95)betareport standardized beta coefficientseform(string)report exponentiated coefficients and label asstringdepname(varname)substitute dependent variable name; programmer s optiondisplayoptionscontrol column formats, row spacing, line width, display of omittedvariables and base and empty cells, and factor-variable labelingnoheadersuppress output headernotablesuppress coefficient tableplusmake table extendablemse1force mean squared error to1coeflegenddisplay legend instead of statisticsindepvarsmay contain factor variables; see[U] Factor contain time-series operators; see[U] Time-series ,by,fp,jackknife,mfp,mi estimate,nestreg,rolling,statsby,stepwis e, andsvyare allowed;see[U] Prefix (bootstrap)andvce(jackknife)are not allowed with themi estimateprefix; see [MI]mi are not allowed with thebootstrapprefix; s
calculations made by predict, where the residual would be calculated as deviations from varname rather than depvar. depname() is most typically used when depvar is a temporary variable (see ... At the upper left, regress reports an analysis-of-variance (ANOVA) table. The column headings SS,
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}