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-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!

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
  • 1534 views
  • 0 likes
  • 2 in conversation