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