Using Stata for Survey Data Analysis
Minot
Page 49
SECTION 10: REGRESSION ANALYSIS
This section describes the use of Stata to do regression analysis. Regression analysis involves
estimating an equation that best describes the data. One variable is considered the
dependent
variable, while the others are considered independent (or explanatory) variables. Stata is capable of
many types of regression analysis and statistical tests.
In this section, we touch on only a few of the
more common commands and procedures. The commands described in this section are:
regress
probit
predict
test, testparm
ovtest
hettest
svy option
regress
This command carries out a regression analysis on the variables specified.
Regression analysis
estimates an equation of “independent” (or “explanatory”) variables that best explains variation in a
“dependent” variable. This command is used when the dependent variable is a continuous variable.
The syntax is:
Do'stlaringiz bilan baham: