BookmarkSubscribeRSS Feed
deleted_user
Not applicable
I have the following function I would like to find the Maximum Likelihood Estimates for alpha1, alpha2, sigma_r, and sigma_n:

SS = sqrt(sigma_r^2+sigma_n^2);
PP = sigma_r*sigma_n;

A = {cdf(('NORMAL',(-alpha2+Ret*sigma_r^2/SS^2)*SS/PP,0,1) + cdf('NORMAL',(-alpha1-Ret*sigma_r^2/SS^2)*SS/PP,0,1)}*pdf('NORMAL',Ret/SS,0,1)/SS;
B = {cdf('NORMAL',alpha2/sigma_r,0,1)-cdf('NORMAL',-alpha1/sigma_r,0,1)}*pdf('NORMAL',Ret/sigma_n,0,1)/sigma_n;

Min -log(A+B);

However the Hessian is singlular. I don't know how to get t-stats. Can anyone tell me, step-by-step (preferably with SAS code), how to find the MLEs and corresponding t-stats or p-values for this problem... using SAS?

"Ret" is the time-series of the return on a stock or a group of stocks.

Thanks so much,

Steve

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 0 replies
  • 613 views
  • 0 likes
  • 1 in conversation