BookmarkSubscribeRSS Feed
MattK
Calcite | Level 5

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.    

3 REPLIES 3
trekvana
Calcite | Level 5

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.

MattK
Calcite | Level 5

Is there not a way to perform this analysis without writing script?

Doc_Duke
Rhodochrosite | Level 12

you can do it in the point-n-click interface of Enterprise Guide.

sas-innovate-2024.png

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.

 

Register now!

What is ANOVA?

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.

Discussion stats
  • 3 replies
  • 3027 views
  • 0 likes
  • 3 in conversation