BookmarkSubscribeRSS Feed
jcsimmo
Fluorite | Level 6

Good evening everyone,

 

I am still relatively new to SAS and I wanted to make sure I am correctly implementing and interpreting my code.

 

I am looking at the age (in months) that patients (<=2yo) with cleft palates undergo cleft palate repair and seeing how race, gender, location, income level, and hospital type affects the timing of that repair.

 

This is my code to determine the estimate age of repair by each of those variables (while controlling for one-another).

 

proc surveyreg data=kid.KID_complete;
class race female hosp_region zipinc hosp_locteach;
weight discwt;
where age<=2 and cleftpalateonly=1 and cleftpalaterepair=1;
model agemonth = race female hosp_region zipinc hosp_locteach/ solution;
domain race female hosp_region zipinc hosp_locteach;
Format race racef.;
Format female femalef.;
Format hosp_region regionf.;
Format zipinc zipincf.;
Format hosp_locteach hosp_locteachf.;
ods output
DataSummary=output
DomainSummary=domain
ParameterEstimates = MyParmEst;
run;

 

 

 

 In the results, for each domain analysis, I get something like this (this is just for the domain race = white children)

 

The SURVEYREG Procedure    
     
I:Race=White    
     
Domain Regression Analysis for Variable AGEMONTH    
     
Domain Summary    
Number of Observations2459   
Number of Observations in Domain1480   
Number of Observations Not in Domain979   
Sum of Weights in Domain2639.9   
Weighted Mean of AGEMONTH12.56934   
Weighted Sum of AGEMONTH33182.4   
     
Fit Statistics    
R-Square0.0295   
Root MSE5.0756   
Denominator DF2458   
     
Tests of Model Effects    
EffectNum DFF ValuePr > F 
Model93.240.0006 
Intercept1787.25<.0001 
RACE0.. 
female10.990.3207 
HOSP_REGION34.730.0027 
zipinc33.290.0197 
HOSP_LOCTEACH20.190.8286 
     
Note: The denominator degrees of freedom for the F tests is 2458.    
     
     
Estimated Regression Coefficients    
ParameterEstimateStandard Errort ValuePr > |t|
Intercept11.7184970.36985331.68<.0001
RACE Asian00..
RACE Black00..
RACE Hispanic00..
RACE Native American00..
RACE Other00..
RACE White00..
female Female0.30518030.307240.990.3207
female Male00..
HOSP_REGION Midwest1.13621710.4607812.470.0137
HOSP_REGION Northeast-0.26835340.365375-0.730.4627
HOSP_REGION South-0.59419620.42009-1.410.1574
HOSP_REGION West00..
zipinc 25-50th1.20508440.4046362.980.0029
zipinc 51-75th0.3865810.3736551.030.301
zipinc <25th0.76360290.4096251.860.0624
zipinc >75th00..
HOSP_LOCTEACH Rural-0.21403081.106108-0.190.8466
HOSP_LOCTEACH Urban non-teaching0.49668770.8524280.580.5602
HOSP_LOCTEACH Urban teaching00..

 

Would I correct in interpreting this as:

 

In white children, when controlling for age, gender, location, income, and hospital type, the average age of repair is 11.7months (p<0.0001)?

 

 

2 REPLIES 2
PGStats
Opal | Level 21

Those results are unreadable. Could you please edit your message above and paste the results using the {i} icon in the editor.

PG

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 636 views
  • 0 likes
  • 2 in conversation