* chapter_16_table_1 We begin by revisiting the Clinical Trainee example from Table 10.9. However, we will now make use of PROC MIXED for the analyses. Because Chapter 15 provides all of the SAS syntax necessary to replicate the results given in the chapter, and because explanations of the syntax is also given in the text, most of the code given below is taken directly from the chapter without further elaborating on what was given in the text. ; LIBNAME md 'd:\data files by type\sas data files\tables'; Data c16t1; SET md.chapter_16_table_1; PROC MEANS MEAN; BY gender; CLASS trainee; TYPES () trainee; VAR severity; RUN; PROC MIXED; CLASS trainee gender; MODEL severity = gender / SOLUTION; RANDOM trainee(gender) / SUBJECT=trainee(gender); ESTIMATE 'Gender' gender 1 -1; RUN; PROC MIXED; CLASS trainee gender; MODEL severity = gender / SOLUTION; RANDOM int / SUBJECT=trainee(gender); ESTIMATE 'Gender' gender 1 -1; RUN;