pageup key
- Quantitative data:
SUM marize Variable Variable 1 Variable 2 ... n- (Double click variables can be obtained by a variable window)
obs: number of samples
mean: the average
std.dev:. standard deviation
SUM marize Variable Variable 1 Variable 2 ... n-, D (add several analysis amount)
- Qualitative data :( numbers represent some kind of nature / character)
Tab ulate variable name, Gen (A) - Returns a frequency distribution table corresponding to this variable, dummy variable and generates a corresponding (beginning with A)
REG R & lt ESS Y X1 X2 ... XK (default OLS: ordinary least squares estimation)
- If it is qualitative variables, it is necessary to use dummies can not use variable names.
ssc install reg2docx
regress y x1 x2 … xk,beta
- The larger the absolute value of the normalization factor, the larger factors
generate lny = log (evaluation value)
generate price_square = 2 ^ Tuangou Jia Yuan
generate interaction_term = Tuangou Jia Yuan * Gross Weight kg
cld
Draw a scatter plot residuals and fitted values (residual = true value - the predicted value)
rvfplot
画残差与自变量x的散点图
rvpplot x