Statistical Procedures

Programming the statistical procedures from SAS
BookmarkSubscribeRSS Feed
stodo53
Obsidian | Level 7

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-white.png

Join us for our biggest event of the year!

Four days of inspiring keynotes, product reveals, hands-on learning opportunities, deep-dive demos, and peer-led breakouts. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

Register now!

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
  • 526 views
  • 0 likes
  • 1 in conversation