BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Fellow SAS users,

This is more a statistics-related question and I request you kindly respond. I am trying to develop a regression model with time as one of the factors for a continuous dependent variable. There are three other independent variables in addition to time. After I run a linear regression using PROC REG with four independent variables and get the parameter estimates, can I use the predicted values for the dependent variable to draw curves in a plot of dependent variable versus time? Is it appropriate to just plot dependent var against time, when the equation was developed using other variables as well? Thank you.
2 REPLIES 2
Paige
Quartz | Level 8
You can do this, but you will have to fix the other independent variables to a certain value. When you plot dependent variable against time, you are plotting the main effect only. If there are interactions, this plot will not indicate interactions.
deleted_user
Not applicable
Thanks Paige.

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
  • 2 replies
  • 1198 views
  • 0 likes
  • 2 in conversation