Unformatted text preview: correlate Computes the correlation matrix between all variables Correlate var1 var2 Computes correlations between var1 and var2 list Lists the values of all variables for all observations list in 1/20 Lists the values of all variables for the first 20 observations list var1 var2 in 1/20 Lists the values of var1 and var2 for the first 20 observations scatter y x Plots the scatterplot of y against x regress y x Runs an OLS regression of y on x without taking into account heteroskedasticity regress y x, robust Runs an OLS regression of y on x taking into account heteroskedasticity predict yhat Computes a series of fitted values of y from the regression estimated above predict uhat, resid Computes a series of residuals from the regression estimated above scatter gpa hsgpa  line yhat hsgpa, sort Plots the regression line (fitted values of y) and the scatterplot on the same graph log close Closes the log file with your results exit Exit Stata...
View
Full Document
 Spring '11
 silous
 Statistics, Econometrics, Regression Analysis, Descriptive statistics, log file, OLS regression

Click to edit the document details