BookmarkSubscribeRSS Feed
zircon60
Fluorite | Level 6

I have developed a model using regression analysis with autoregressive errors, using the maximum likelihood method.

I am able to figure out the model equation but when i try to put everything in an equation I get different results.

Parameter Estimates
VariableDFEstimateStandardt ValueApprox
ErrorPr > |t|
Intercept192.52426.228814.85<.0001
T1-1.20820.0741-16.3<.0001
DP1-0.65140.1051-6.2<.0001
T*DP10.01710.0011115.37<.0001
DP*H10.84590.043119.61<.0001
H1-56.45533.705-15.24<.0001
AR11-0.9890.001651-599.11<.0001

The MSE for this analysis is 16.03

The equation would be

y=92.5242-1.2T-0.65DP+0.017T*DP+0.84DP*H-56.45H+Vt

Vt=0.989V(t-1)+16.03

How do I calculate the V(t-1)? as it varies for each observation.

Please help.

2 REPLIES 2
PGStats
Opal | Level 21

Look at the documentation for the AUTOREG procedure at SAS/ETS(R) 9.3 User's Guide.

The recursive expression is given in the section "Predicting Future Series Realizations".

PG

PG
zircon60
Fluorite | Level 6

I tried. but its not working.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 995 views
  • 3 likes
  • 2 in conversation