So I think I learned more about stats from this forum than my actual class and now I just want to apply what I learned through proc corr to different variables. Yesterday I was using proc reg when I later realized I should have used proc corr for this question:
Is there a relationship between gestation and baby weight? Yes, positive relationship
State your null and alternative hypothesis:
Null hypothesis:
(Where
Alternative hypothesis:
Level of significance:
What is the rho value for this analysis? Rho=0
Make your scatter plot for this analysis, does it confirm your rho findings? Yes, I believe it does but not sure if the scatterplot proves it.
Does a statically significant relationship exist between these two variables? If so, interpret:
Yes, since the p-value of the model in the ANOVA table is p=0.001 <0.05 significant, we conclude there is a linear relationship.
I guess what I want to know if i'm making sense with this code and the questions asked or is there another way to do this?
I used this code:
proc corr data=birthw.birthweight;
var gestation birthweight;
run;
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.