I want to determine if the the response to one treatment is different from another. I have multiple animals, some that received drug A and others drug B. They are distrubuted based on starting weight, so the x-axis is a continuous variable. The y-axis is response time in seconds. Essentially I would like to determine whether the slopes of the best fit lines are similiar or different.
build a linear model y= intercept+x+trt +x*trt and then test the coefficient for x*trt to see if the slopes are zero. to test if both treatments have the same intercept then test the trt coefficient to see if it zero.
Is there not a way to perform this analysis without writing script?
you can do it in the point-n-click interface of Enterprise Guide.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.