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
Search Results for: stata
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
Regression with Stata Chapter 4: Answers to Excersises
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
Regression with Stata Chapter 5 – Additional coding systems for categorical variables in regression analysis
Chapter Outline 5.1 Simple Coding 5.2 Forward Difference Coding 5.3 Backward Difference Coding 5.4 Helmert Coding 5.5 Reverse Helmert Coding 5.6 Deviation Coding …
Read More
Regression with Stata Chapter 6: More on interactions of categorical variables Draft version
This is a draft version of this chapter. Comments and suggestions to improve this draft are welcome. Chapter outline 6.1. Analysis with two categorical variables 6.2. Simple effects 6.2.1 Analyzing…
Read More