Statistical Procedures

Programming the statistical procedures from SAS
BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
mragaa
Obsidian | Level 7

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 ACCEPTED SOLUTION

Accepted Solutions
Rick_SAS
SAS Super FREQ

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).

View solution in original post

2 REPLIES 2
Rick_SAS
SAS Super FREQ

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).

mragaa
Obsidian | Level 7
Thanks a lot.

sas-innovate-white.png

Join us for our biggest event of the year!

Four days of inspiring keynotes, product reveals, hands-on learning opportunities, deep-dive demos, and peer-led breakouts. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

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
  • 1504 views
  • 1 like
  • 2 in conversation