libname Joy "/home/u XXXXXXXXXX/sasuser.v94"; proc contents data=Joy.joybrfss2018; run; data WORK; set Joy.joybrfss2018; if 6

1 answer below »
I need the statistical analysis of the attached SAS result.


libname Joy "/home/u62540377/sasuser.v94"; proc contents data=Joy.joybrfss2018; run; data WORK; set Joy.joybrfss2018; if 6<><=10 then sleepcat=1; obese=0; if _bmi5cat = 4 then obese=1; educat=0; * hs or less; if _educag in (3,4) then educat=1; *college or more; employed=0; *not employed/retired/unable to work; if employ1 in (1,2,5,6) then employed=1; *employed; run; proc freq data=joy.joybrfss2018; *table 1; tables ( educat employed)*obese / chisq; run; proc freq data=joy.joybrfss2018; *table 2; tables (obese educat employed)*sleepcat / chisq; run; proc logistic data=joy.joybrfss2018; *table 3; class sleepcat (ref='0') obese (ref='0') educat (ref='0') employed (ref='0')/ param=ref; model sleepcat = obese educat employed ; *title 'multivariable logistic regression for odds'; run; then="" sleepcat="1;" obese="0;" if="" _bmi5cat="4" then="" obese="1;" educat="0;" *="" hs="" or="" less;="" if="" _educag="" in="" (3,4)="" then="" educat="1;" *college="" or="" more;="" employed="0;" *not="" employed/retired/unable="" to="" work;="" if="" employ1="" in="" (1,2,5,6)="" then="" employed="1;" *employed;="" run;="" proc="" freq="" data="Joy.joyBRFSS2018;" *table="" 1;="" tables="" (="" educat="" employed)*obese="" chisq;="" run;="" proc="" freq="" data="Joy.joyBRFSS2018;" *table="" 2;="" tables="" (obese="" educat="" employed)*sleepcat="" chisq;="" run;="" proc="" logistic="" data="Joy.joyBRFSS2018;" *table="" 3;="" class="" sleepcat="" (ref='0' )="" obese="" (ref='0' )="" educat="" (ref='0' )="" employed="" (ref='0' )/="" param="ref;" model="" sleepcat="obese" educat="" employed="" ;="" *title="" 'multivariable="" logistic="" regression="" for="" odds';="">
Answered Same DayOct 23, 2022

Answer To: libname Joy "/home/u XXXXXXXXXX/sasuser.v94"; proc contents data=Joy.joybrfss2018; run; ...

Mukesh answered on Oct 23 2022
47 Votes
2
Solution
    
DECISION AND CONCLUSIONS
Hypothesis
H01 = there is no association between educat
ed and obese
H02 = there is no association between employed and obese
H03 = there is no association between obese and Sleepcat
H04 = there is no association between employed and sleepcat
     Analysis of Effects
    Effect
    DF
    Chi-Square
    p- value
    educat * obese
     1
    919.2429
    <.0001
    employed * obese
     1
    660.6443
    <.0001
    obese * sleepcat
     1
    1076.1261    
    <.0001
    educat * sleepcat
     1
    2314.7180
    <.0001
    employed * sleepcat
    
        5374.7661
    
    <.0001
There was a significant association between educated and obese (Χ2(1) = 919.2429, p < .0001).
There was a significant association between employed and obese...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here