/*********************************************************** * Master do file to recreate all the examples in the * * Kleinbaum et al. textbook. * ***********************************************************/ quietly capture cd "c:\documents and settings\hp_owner\desktop\kleinbaum-c5\" /* Create the systolic blood pressure data set */ do "SOCY602-CH5-CREATE-SBS-DATA.do" /* Create first scatterplot on p. 42 (Figure 5-1) */ do "SOCY602-CH5-FIG5-1.do" /* Create plot of mathematical function example on p. 44 (Figure 5-3) */ do "SOCY602-CH5-FIG5-3-Straight-Line.do" /* Long-hand solution for the SBP regression problem pp. 50-53, Section 5-5-3*/ do "SOCY602-CH5-Tab5-1-Regression-Solution.do" /* Create scatterplot on p. 53 (Figure 5-8) */ do "SOCY602-CH5-FIG5-8.do" /* Create scatterplot with CI's (Figure 5-10) */ do "SOCY602-CH5-FIG5-10.do" /* Create predicted values and CI's on pp. 58-59 */ do "SOCY602-CH5-p58-Conf_Int_Table.do" /* Run some of the Chapter Problems */ do "SOCY602-CH5-PROBLEM-1.do" do "SOCY602-CH5-PROBLEM-2.do" do "SOCY602-CH5-PROBLEM-3.do" do "SOCY602-CH5-PROBLEM-4.do" do "SOCY602-CH5-PROBLEM-5.do"