Note: This chapter uses a suite of commands, called spost, written by J. Scott Long and Jeremy Freese. The commands must be downloaded prior to their use, and this…
Read More
Search Results for: stata
Multilevel Analysis by Tom Snijders and Roel BoskerChapter 14: Discrete Dependent Variables | Stata Textbook Examples
Figure 14.1 on page 211. use snijder_chap14, clear preserve collapse (mean) cohab, by(reg) gen one = 1 gen zero = 0 twoway rspike one zero cohab, xlab(.2(.2) .8) ylab(0 5)…
Read More
Methods Matter: Improving causal Inference in Educational and Social Science Research by Richard J. Murnane and John B. Willett Chapter 10: Introducing Instrumental-Variables Estimation | Stata Textbook Examples
use https://stats.idre.ucla.edu/stat/stata/examples/methods_matter/chapter10/dee, clear (a) Univariate Statistics from Table 10.1 on page 207. summarize register college, detail Is respondent currently registered to vote? ————————————————————- Percentiles Smallest 1% 0 0 5% 0…
Read More
Methods Matter: Improving causal Inference in Educational and Social Science Research by Richard J. Murnane and John B. Willett Chapter 11: Using IVE to Recover the Treatment Effect in a Quasi-Experiment | Stata Textbook Examples
use https://stats.idre.ucla.edu/stat/stata/examples/methods_matter/chapter11/colombia_voucher, clear Descriptive statistics for Table 11.1 on page 270. sum finish8th use_fin_aid won_lottry base_age male Variable | Obs Mean Std. Dev. Min Max ————-+——————————————————– finish8th | 1171 .6814688…
Read More
Methods Matter: Improving causal Inference in Educational and Social Science Research by Richard J. Murnane and John B. Willett Chapter 12: Dealing with Bias in Treatment Effects Estimated from Nonexperimental Data | Stata Textbook Examples
use https://stats.idre.ucla.edu/stat/stata/examples/methods_matter/chapter12/catholic, clear Descriptive statistics for mathematics score (math12) and type of high school (catholic). Note: this output does not appear in the text. sum math12 catholic, detail 12th grade…
Read More
Methods Matter: Improving causal Inference in Educational and Social Science Research by Richard J. Murnane and John B. Willett Chapter 4: Investigator-Designed Randomized Experiments | Stata Textbook Examples
use https://stats.idre.ucla.edu/stat/stata/examples/methods_matter/chapter4/nyvoucher, clear Descriptive statistics for the variables voucher, pre_ach, and post_ach. Note: this output does not appear in the text. sum voucher pre_ach post_ach Variable | Obs Mean Std….
Read More
Methods Matter: Improving causal Inference in Educational and Social Science Research by Richard J. Murnane and John B. Willett Chapter 7: Experimental Research When Participants Are Clustered Within Intact Groups | Stata Textbook Examples
use https://stats.idre.ucla.edu/stat/stata/examples/methods_matter/chapter7/sfa Descriptive statistics for the variable wattack. Notice the floor effect which cannot be resolved by a straightforward transformation. (Note these analyses are not shown in the text.) sum…
Read More
Methods Matter: Improving causal Inference in Educational and Social Science Research by Richard J. Murnane and John B. Willett Chapter 8: Using Natural Experiments to Provide “Arguably Exogenous” Treatment Variability | Stata Textbook Examples
use https://stats.idre.ucla.edu/stat/stata/examples/methods_matter/chapter8/dynarski, clear svyset, clear svyset [pw=wt88], psu(hhid) pweight: wt88 VCE: linearized Single unit: missing Strata 1: <one> SU 1: hhid FPC 1: <zero> Descriptive statistics and cross-tabulations for key…
Read More
Methods Matter: Improving causal Inference in Educational and Social Science Research by Richard J. Murnane and John B. Willett Chapter 9: Estimating Causal Effects Using a Regression-Discontinuity Approach | Stata Textbook Examples
use https://stats.idre.ucla.edu/stat/stata/examples/methods_matter/chapter9/angrist, clear Descriptive statistics for the all variables. The variable read is the average reading score for each school, size is the cohort size for each school, intended_classsize is…
Read More
Modeling Longitudinal Data by Robert Weiss Chapter 2: Plots | Stata Textbook Examples
Figure 2.1, page 31. use bigmice, clear graph twoway scatter weight day, msymbol(Oh) Figure 2.2, page 32. use bigmice, clear graph box weight, over(day) nooutsides Figure 2.3, page 34. use…
Read More
