Date: Mon, 23 Jan 2006 13:59:26 -0500
Reply-To: Arthur Tabachneck <art297@NETSCAPE.NET>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Arthur Tabachneck <art297@NETSCAPE.NET>
Subject: Re: SAS program
Kijoeng,
Are you asking how to specify AA as a covariate? If so, see:
http://www.ats.ucla.edu/stat/sas/examples/da/dasas14.htm
Art
---------
On Mon, 23 Jan 2006 13:44:14 -0500, Kijoeng Nam <kijoeng@GMAIL.COM> wrote:
>Question : In this sas code, AA is corelated, how can I give option in
proc
>glm ?
> (
>
>
>What we'd like to assess is change in physical activity over time by group
>(standard 0 = intervention; 1= control), adjusting for race (AA).
>
>
>)
>
>data test;
>input F3_KKD F2_KKD F1_KKD BKKD standard AA;
>
>datalines;
>32.21428571 33.30357143 32.66071429 33.69642857 1 1
>32.73214286 33.51785714 34 33.91071429 1 1
>32.375 34.44642857 33.73214286 32.58928571 0 1
>32.78571429 33.82142857 33.03571429 33.28571429 1 1
>32.35714286 35.75 34.92857143 31.73214286 0 1
>33.55357143 37.28571429 34.57142857 35.64285714 0 1
>32.23214286 . 31.75 35.25 0 1
>34.08928571 37.53571429 34.67857143 38.57142857 0 1
>. 33.21428571 36.33928571 34.32142857 1 0
>32.71428571 37.94642857 34.41071429 42.60714286 0 1
>32.25 32.21428571 32.92857143 34.57142857 0 1
>36.94642857 34.08928571 34.69642857 36.25 0 1
>31.89285714 32.33928571 32.64285714 35.91071429 0 1
>32.89285714 33.08928571 34.21428571 34.80357143 1 1
>33.78571429 38.83928571 32.60714286 34.92857143 0 0
>34.05357143 31.67857143 32.625 32.32142857 0 1
>31.76785714 35.10714286 34.51785714 31.39285714 0 1
>32.01785714 32.35714286 33.42857143 36.66071429 1 1
>32.23214286 34.96428571 34.78571429 34.375 1 1
>34.625 34.53571429 33.14285714 36.55357143 1 1
>32.92857143 32.44642857 32.94642857 34.48214286 0 1
>31.91071429 32.89285714 36.26785714 35.19642857 1 1
>32.85714286 33.16071429 34.67857143 38.25 0 0
>. . 45.125 41.64285714 0 1
>33.30357143 32.375 36.96428571 32.375 0 1
>32.33928571 31.71428571 32.89285714 32.48214286 0 1
>32 31.71428571 32.875 37.375 1 1
>35.69642857 35.375 34.53571429 . 1 1
>;
>run;
>
>proc glm data= KKDglm;
> *standard , AA : classification effect : fixed effect;
> class standard AA;
> * four repeated measures variables : left side;
> model BKKD F1_KKD F2_KKD F3_KKD = standard AA ;
> repeated time 4 ( 0 8 20 32 ) ;
>run;
|