Table 2.1, page 24. Ten selected schools for NELS-88: within-school means. use https://stats.idre.ucla.edu/stat/stata/examples/mlm_imm/imm10, clear table schnum, cont(freq mean math mean homework) format(%6.2f) ———————————————————- group(sch | id) | Freq. mean(math) mean(homework)…
Read More
Search Results for: stata
Introduction to Multilevel Modeling by Kreft and de Leeuw Chapter 3: Varying and Random Coefficient Models | Stata Textbook Examples
Note: This page has been updated in January 2011 using Stata 11. Table 3.2, page 46. OLS regression lines over 10 schools. use https://stats.idre.ucla.edu/stat/stata/examples/mlm_imm/imm10, clear statsby intercept=_b[_cons] se_int=_se[_cons] homework=_b[homework] ///…
Read More
Introduction to Multilevel Modeling by Kreft and de Leeuw Chapter 4: Analyses | Stata Textbook Examples
use https://stats.idre.ucla.edu/stat/examples/imm/imm23, clear describe Contains data from imm23.dta obs: 519 vars: 18 19 Mar 2002 10:39 size: 39,444 (99.8% of memory free) ——————————————————————————- storage display value variable name type format…
Read More
Multilevel Analysis Techniques and Applications by Joop Hox Chapter 2: The Basic Two-Level Regression Model: Introduction | Stata Textbook Examples
The data set used in this chapter is popular.dta. The programs we use in this chapter are gllamm and gllapred. You can find the programs and download them by issuing…
Read More
Multilevel Analysis Techniques and Applications by Joop Hox Chapter 4: Some Important Methodological and Statistical Issues | Stata Textbook Examples
The data set used in this chapter is popular.dta. use https://stats.idre.ucla.edu/stat/stata/examples/mlm_ma_hox/popular.dta, clear The programs we use in this chapter are gllamm and gllapred. You can find the programs and download…
Read More
Multilevel Analysis Techniques and Applications by Joop Hox Chapter 5: Analyzing Longitudinal Data | Stata Textbook Examples
Note: the following analysis and results were performed with Stata 14.2 This chapter uses data file gpach5.dta and vocagrwt.dta. Table 5.1 on page 78. use https://stats.idre.ucla.edu/stat/stata/examples/mlm_ma_hox/gpach5, clear keep student sex…
Read More
Multilevel Analysis Techniques and Applications by Joop Hox Chapter 7: Cross-Classified Multilevel Models | Stata Textbook Examples
Table 7.1 on page 126 using data set pupcross. Part 1: Intercept only. use https://stats.idre.ucla.edu/stat/stata/examples/mlm_ma_hox/pupcross, clear xtmixed achiev || _all: R.sschool||_all: R.pschool, var ml Performing EM optimization: Performing gradient-based optimization:…
Read More
Multilevel Analysis Techniques and Applications by Joop Hox Chapter 8: The Multilevel Approach to Meta-Analysis | Stata Textbook Examples
Table 8.3 on page 148 using meta20.dta. use https://stats.idre.ucla.edu/stat/stata/examples/mlm_ma_hox/meta20, clear metareg d, wsvar(varofd) Iteration 1: tau^2 = 0 Iteration 2: tau^2 = .10394204 Iteration 3: tau^2 = .1391358 Iteration 4:…
Read More
Applied Regression Analysis Chapter 11: Unusual and Influential Data | Stata Textbook Examples
Regression analysis middle of page 269. Make measwt by female interaction and then run regression with the interaction. use https://stats.idre.ucla.edu/stat/stata/examples/ara/davis, clear generate measwt_f = measwt * female regress reptwt measwt…
Read More
Applied Regression Analysis by John Fox Chapter 12: Nonlinearity and Other Ills | Stata Textbook Examples
Figure 12.1, figure 12.2 and table 12.1, page 297-299 on data file ornstein. We skip the section on confidence envelopes. We only have the usual normal quantile plots without the…
Read More
