I received this warning when running a paired proc ttest:
WARNING: There are insufficient nonmissing observations to create a density plot.
There are 19 observations in both the pre and post of the variable I am observing.
I thought maybe I just needed to include:
ods graphics off;
ods exclude all;
proc ttest;
...
ods output ttests=outtest;
run;
ods exclude none;
But the output from this addition showed an empty tValue, DF of 0, and empty probt.
Am I getting this error because the sample size is too small? Or am I doing something wrong? Both variables are numeric.
Are you sure your data has 19non missing observations?
Post a PROC MEANS output of the two variables.
And show the code and log with error.
Are you sure your data has 19non missing observations?
Post a PROC MEANS output of the two variables.
And show the code and log with error.
I think I realized my mistake. What I did was output the means from a proc means statement and then used those outputs to see a difference, but that doesn't work since that's just one observation for both variables. Sorry about that. But is there a better way to analyze likert pre vs post data?
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.