Hi all,
i have a dataset with one oberservation for each id. I want to compare values between two variables using paired t-test.
My problem is, that i have a lot of missings in one of the variables and when i do the proc t-test, sas only uses a small number of observations.
Is there a way, where i can compare means calculated using all the observations in each variable?
Lots of discussion on the internet about this issue of missing values in a paired t-test.
For example, here we see
Missing values can severely impact a paired sample t-test because the entire row of data will generally be excluded. If you have a lot of missing data, one alternative would be to perform a single factor repeated measures mixed model ANOVA. This would allow for the computation of estimated marginal means to compensate for the uneven replication between groups.
Lots of discussion on the internet about this issue of missing values in a paired t-test.
For example, here we see
Missing values can severely impact a paired sample t-test because the entire row of data will generally be excluded. If you have a lot of missing data, one alternative would be to perform a single factor repeated measures mixed model ANOVA. This would allow for the computation of estimated marginal means to compensate for the uneven replication between groups.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
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.