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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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