The data files used for the examples in this text can be downloaded in a zip file from the Stata Web site. You can then use a program such as…
Read More
Search Results for: stata
Econometric Analysis of Cross Section and Panel Data by Jeffrey M. Wooldridge Chapter 7: Estimating Systems of Equations by OLS and GLS | Stata Textbook Examples
Example 7.3 on page 165 using fringe.dta. use http://www.stata.com/data/jwooldridge/eacsap/fringe sureg ( hrearn educ exper expersq tenure tenuresq union south nrtheast nrthcen married white male) ( hrbens educ exper expersq tenure…
Read More
Econometric Analysis of Cross Section and Panel Data by Jeffrey M. Wooldridge Chapter 8 System Estimation by Instrumental Variables | Stata Textbook Examples
Econometric Analysis of Cross Section and Panel Data by Jeffrey M. Wooldridge Chapter 9: Simultaneous Equations Models | Stata Textbook Examples
The data files used for the examples in this text can be downloaded in a zip file from the Stata Web site. You can then use a program such as…
Read More
Elementary Survey Sampling, 5th Edition by Scheaffer, Mendenhall and Ott Chapter 2: A review of some basic concepts | Stata Textbook Examples
NOTE: Before we being working with the data, we rename the variables to match those used in the text and add variable labels to gender and job. Also note that…
Read More
Elementary Survey Sampling, 5th Edition by Scheaffer, Mendenhall and Ott Chapter 5: Stratified random sampling | Stata Textbook Examples
Page 130, Table 5.1 use “a:table5.dta”, clear rename col1 town rename col2 hours list +—————+ | town hours | |—————| 1. | A 35 | 2. | A 28 |…
Read More
Elementary Survey Sampling, 5th Edition by Scheaffer, Mendenhall and Ott Chapter 6: Ratio, regression and difference estimation | Stata Textbook Examples
Page 202, Table 6.1 use “a:table61.dta”, clear rename col1 home rename col2 x rename col3 y tabstat x y, s(sum) display 164.7/154.5 gen diff = (y – x*1.066) list ….
Read More
Elementary Survey Sampling, 5th Edition by Scheaffer, Mendenhall and Ott Chapter 7: Systematic sampling | Stata Textbook Examples
Page 272 use “A:table74.dta”, clear rename col1 a rename col2 x gen index = _n gen b = mod(index, 4) replace b = 4 if b == 0 anova x…
Read More
Elementary Survey Sampling, 5th Edition by Scheaffer, Mendenhall and Ott Chapter 8: Cluster sampling | Stata Textbook Examples
Page 294, Table 8.1 and example 8.2 use “A:table81.dta”, clear rename col1 cluster rename col2 m rename col3 y list +——————–+ | cluster m y | |——————–| 1. | 1…
Read More
Elementary Survey Sampling, 5th Edition by Scheaffer, Mendenhall and Ott Chapter 9: Two-stage cluster sampling | Stata Textbook Examples
Page 339, Table 9.1 use “A:table91.dta”, clear rename col1 plant rename col2 downtime sort plant by plant: list downtime _______________________________________________________________________________ -> plant = 1 +———-+ | downtime | |———-| 1….
Read More
