BookmarkSubscribeRSS Feed
stodo53
Fluorite | Level 6

Hi all,

 

I am trying to figure out how to calculate edf to include in my proc mianalyze statement. The textbook I am following says to use:  dfcomplex=#PSUs-#Strata. However, although I am using complex survey data, I am only using weights (no clusters or strata). I have also used multiple imputation for my analysis. 

 

For exploratory purposes, I changed edf to multiple different values however, it still produced the same output anyways (even without changing it). See the attached output. Essentially, I am trying to compute a pooled F stat with num/denom df in order to calculate the pooled R^2. To do this I am following this textbook: "Multiple Imputation in Practice with Examples using Iveware" Section 3.6.3-3.6.5. 

Once I computed the table below I used this formula to get my R^2 value: rsq = dfnum*F/(dfnum*F + dfdenom). However, the computed, "pooled" R^2 doesn't make sense when comparing it to the 20 imputed datasets. The imputed datasets all have R^2 values around 0.5. Moreover, even in my complete case analysis, the R^2 value is also around 0.5 (I don't have that much missing data). So, it doesn't really make sense to me that this R^2 value is now 0.1? Any help would be very appreciated. 

 

saratodorovic_3-1622830775774.pngsaratodorovic_4-1622830791230.png

 

 

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 0 replies
  • 443 views
  • 0 likes
  • 1 in conversation