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.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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