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-2024.png

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.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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