Hi everyone,
I'm sorry in advance if this is a dumb question. Say I'm using panel data to model log(Speed) as the response and Turbo as a binary predictor (0= No, 1= Yes). My question:
1- Is Proc Mixed usable here, or do I have to use PROC NLMIXED?
2- Would the results be valid and interpretable as they are in cross-sectional data (i.e. we get x% in speed for Turbo)?
SAS Version: 9.4
Thank you.
1. You can use PROC MIXED and other linear regression procedures if you first use the DATA step to define logSpeed = log(speed). Then use logSpeed as the response variable.
2. I am not sure what you are asking, but perhaps it has to do with the interpretation of the parameter estimates for Turbo. If you model
log(Speed) = Intercept + A*Turbo then
Speed = exp(Intercept)*exp(A*Turbo)
Thus when Turbo=0, the predicted speed is exp(Intercept).
When Turbo=1, the predicted speed is exp(Intercept)*exp(A).
So the model predicts that using Turbo results in MULTIPLYING the speed by exp(A).
1. You can use PROC MIXED and other linear regression procedures if you first use the DATA step to define logSpeed = log(speed). Then use logSpeed as the response variable.
2. I am not sure what you are asking, but perhaps it has to do with the interpretation of the parameter estimates for Turbo. If you model
log(Speed) = Intercept + A*Turbo then
Speed = exp(Intercept)*exp(A*Turbo)
Thus when Turbo=0, the predicted speed is exp(Intercept).
When Turbo=1, the predicted speed is exp(Intercept)*exp(A).
So the model predicts that using Turbo results in MULTIPLYING the speed by exp(A).
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.
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.