Difference between revisions of "Statistical Analysis"

From Phdwiki
Jump to: navigation, search
(New page: ===Proc Means=== ===Proc Reg=== ===Proc Univariate=== ===Proc Freq=== ===Proc GLM=== proc glm data=data_set_name; class distinguishing_variable; model dependent ...)
 
(Proc Freq)
Line 7: Line 7:
 
===Proc Freq===
 
===Proc Freq===
  
 
+
proc freq
 
+
    data=info
 +
    page;
 +
    by x;
 +
    tables y*z
 +
    /chisq
 +
    expected
 +
    exact
 +
    sparse
 +
    nocum
 +
    nopercent
 +
    nocol
 +
    norow;
 +
run;
  
 
===Proc GLM===
 
===Proc GLM===

Revision as of 02:41, 17 November 2007

Proc Means

Proc Reg

Proc Univariate

Proc Freq

proc freq

    data=info
    page;
    by x;
    tables y*z
    /chisq		
    expected
    exact
    sparse
    nocum
    nopercent
    nocol
    norow;
run;

Proc GLM

proc glm 
     data=data_set_name;
     class distinguishing_variable;
     model dependent = independent;
run;
example:
proc glm 
     data=pig;
     class litter;
     model weight = litter;
run;

GLM reference page