SASCHAP4 - SAS SAS/BASE SAS Language Guide SAS Procedures...

Info icon This preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: SAS SAS/BASE SAS Language Guide SAS Procedures Guide SAS/STAT SAS/IML SAS/GRAPH SAS/STAT GLM ANOVA CATMOD NESTED VARCOMP MIXED NPAR1WAY TTEST PLAN (Analysis of Variance) (Sources of Variation) (Effects) (Random error) ( ) (least-square) ANOVA (Balanced Designs) (multivariate analysis) (analysis of variance for repeated measurement) (multiple comparison tests) (treatment combination) (experimental unit) ANOVA GLM CATMOD GLM (linear contrast) (estimate) NESTED 87 NPAR1WAY (nonparametric one-way analysis of rank scores) PLAN (nested and crossed experiments) TTEST VARCOMP F test µ i Ho: µ 1 = µ 2 = µ 3 = …= µ t ANOVA GLM MEANS ( Duncan’s NMRT LSD Tukey’s HSD SNK Bonferroni Scheffe ) TEST (Mean squares) (Error mean square) ( ) 1.PROC ANOVA options; CLASS variables; MODEL dependents = effects / options; ABSORT variables; BY variables; FREQ variables; MEANS effects / options; TEST H = effects E = effect; MANOVA H = effects E = effect M=equation2,… REPEATED factorname levels (levevalues) transformation [,..]/options; CLASS variables; (classification variables) MODEL numeric character CLASS BLOCK TRT MODEL dependents = effects / options; 88 ANOVA MODEL PROC ANOVA; CLASS BLOCK TRT; MODEL ADG BF=BLOCK TRT; PROC ANOVA; CLASS A B C; MODEL Y1 Y2 Y3 Y4=A B C B*C ( Y1-Y4=A B|C; ) ABSORT variables; (blocking factor) level PROC ANOVA; CLASS HERD A B; MODEL Y=HERD A B A*B; PROC ANOVA; ABSORT HERD; MODEL Y=A B A*B; ABSORT (sorting) MODEL RUN BY variables FREQ variable MEANS effects/options CLASS ANOVA MEANS MODEL options BON Bonferroni t test DUNCAN Duncan’s multiple-range test SCHEFFE Scheffe’s multiple comparison SNK Student-Newman-Keul multiple range test T or LSD Least Significance Difference test TUKEY Tukey’s studentized range test (HSD) DUNNETT DUNNETT test 89 MEANS A/DUNNET(‘CONTROL) ALPHA (level of significance) E = effect (error mean square) LINES CLDIFF TEST H=effects E = effect (effect) (error mean square) F test (Split-plot design) PROC ANOVA; CLASS A B C; MODEL Y=A|B(A)|C; TEST H=A E=B(A); TEST H=C A*C E=C*B(A); MANOVA H=effects E = effect M=equation1, equation2,… MNAMES= list of names PREFIX =name/options; MODEL (dependent variables) MANOVA (observation) missing REPEATED factorname levels (levevalues ) transformation [,..]/options MODEL 90 /* Example from Snedecor & Cochran, 1980. Statistical Methods, p216 */ DATA DOUGHNUT; INPUT TRT $ FAT @@; CARDS; 1 64 2 78 3 75 4 55 1 72 2 91 3 93 4 66 1 68 2 97 3 78 4 49 1 77 2 82 3 71 4 64 1 56 2 85 3 63 4 70 1 95 2 77 3 76 4 68 ; PROC ANOVA; CLASS TRT; MODEL FAT=TRT; MEANS TRT; RUN; 91 The SAS System 1 22:10 Tuesday, May 19, 1998 Analysis of Variance Procedure Class Level Information Class Levels Values TRT 4 1 2 3 4 Number of observations in data set = 24 The SAS System 2 22:10 Tuesday, May 19, 1998 Analysis of Variance Procedure Dependent Variable: FAT Sum of Mean Source DF Squares Square F Value Pr > F Model 3 1636.500000 545.500000 5.41 0.0069 Error 20 2018.000000 100.900000 100....
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern