Question 1. Make five graphs of api99: histogram, kdensity plot, boxplot, symmetry plot and normal quantile plot. Answer 1. First we use the elemapi2 data file. use https://stats.idre.ucla.edu/stat/stata/webbooks/reg/elemapi2, clear Below…
Read More
Search Results for: stata
Regression with Stata Chapter 2 – Regression Diagnostics
Chapter Outline 2.0 Regression Diagnostics 2.1 Unusual and Influential data 2.2 Checking Normality of Residuals 2.3 Checking Homoscedasticity 2.4 Checking for Multicollinearity 2.5 Checking Linearity 2.6 Model Specification 2.7 Issues…
Read More
Regression with Stata Chapter 2 Self Assessment
1. The following data set consists of measured weight, measured height, reported weight and reported height of some 200 people. You can get it from within Stata by typing use…
Read More
Regression with Stata Chapter 2 Self Assessment Answers
1. The following data set consists of measured weight, measured height, reported weight and reported height of some 200 people. We tried to build a model to predict measured weight…
Read More
Regression with Stata Chapter 3 – Regression with Categorical Predictors
Chapter Outline 3.0 Regression with Categorical Predictors 3.1 Regression with a 0/1 variable 3.2 Regression with a 1/2 variable 3.3 Regression with a 1/2/3 variable 3.4 Regression with multiple categorical…
Read More
Regression with Stata Chapter 3 – Self Assessment
1. Using the elemapi2 data file ( use https://stats.idre.ucla.edu/stat/stata/webbooks/reg/elemapi2 ) convert the variable ell into 2 categories using the following coding, 0-25 on ell becomes 0, and 26-100 on ell…
Read More
Regression with Stata Chapter 3: Self Assessment Answers
1. Using the elemapi2 data file ( use https://stats.idre.ucla.edu/stat/stata/examples/ara/elemapi2 ) convert the variable ell into 2 categories using the following coding, 0-25 on ell becomes 0, and 26-100 on ell…
Read More
Regressionwith StataChapter 4 – Beyond OLS
Chapter Outline 4.1 Robust Regression Methods 4.1.1 Regression with Robust Standard Errors 4.1.2 Using the Cluster Option 4.1.3 Robust Regression 4.1.4 Quantile Regression 4.2 Constrained Linear Regression 4.3 Regression…
Read More
Regression with Stata Chapter 4 – Beyond OLS
Chapter Outline 4.1 Robust Regression Methods 4.1.1 Regression with Robust Standard Errors 4.1.2 Using the Cluster Option 4.1.3 Robust Regression 4.1.4 Quantile Regression…
Read More
Regression with Stata Chapter 4 – Self Assessment
1. Use the crime data file that was used in chapter 2 (use https://stats.idre.ucla.edu/stat/stata/webbooks/reg/crime ) and look at a regression model predicting murder from pctmetro poverty pcths and single using…
Read More
