1) Is there a relationship between maternal height and baby length?
My code:
proc reg data= birthw.birthweight;
model mheight = length;
run;
@saza wrote:
- State your null and alternative hypothesis: Honestly I am uncertain of how to write the hypothesis because I did not think they would be able to relate the variables but I believe they are related due to the correlation on the graphs I get using my code.
Your hypothesis isn't what you think the answer is, it's what the question is, which is defined for you. You need to translate the words into a statistical test comparison.
"The null and alternative hypotheses for this analysis are
H0: There is not a linear relationship between exposure and mortality (R=0)
H1: There is a linear relationship between exposure and mortality (R≠0)"
This looks more like what you want in the way of hypothesis testing.
SteveDenham
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.