BookmarkSubscribeRSS Feed
Asudipta
Calcite | Level 5

Hi everyone,

Do you think this is the right algorithm to approach the problem?

Start with a dummy parameters(omega, alpha, beta)

Calculate the cost function ( J=mod(h(xi)-yi)^2/n    y=h(xi)=omega + alpha * xi-1 + beta * ei) is the regression function)

And do a Gradient Descent algorithim with a  certain learning rate to find the optimum value of alpha , beta and omega where J is min .

Can this works this way?

Thanks and Regards,

Sudipta

2 REPLIES 2
Asudipta
Calcite | Level 5

Hi , In addition to my previous question,Can someone share the algorithm for ARIMA model, I want to cross check the output with real time data .

SteveDenham
Jade | Level 19

In PROC ARIMA, specify METHOD=ML in the ESTIMATE statement to get maximum likelihood estimates.  The algorithm is Marquardt's method for nonlinear least squares estimation.

Steve Denham

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

Multiple Linear Regression in SAS

Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1822 views
  • 0 likes
  • 2 in conversation