how to estimate LOT measure using RATS
Posted: Mon Jan 25, 2010 6:29 am
I need your help on the following MLE problem used by Lesmond et al.(1999)
This is the log likelihood function of LOT measure.
lnf=sum(if R_m< 0) [ln(1/(2*pi*(sigma_j^2)))-(1/(2*(sigma_j^2))*(R_j+al_j-b_j*R_m))^2] +
sum(if R_m> 0) [ln(1/(2*pi*(sigma_j^2)))-(1/(2*(sigma_j^2))*(R_j+au_j-b_j*R_m))^2] +
sum(if R_m= 0) [ln(%CDF((au_j-b_j*R_m)/sigma_j)- %CDF((al_j-b_j*R_m)/sigma_j)].
The R_j and R_m represents the dependent(each stock return:R_j) and independent variables(market return R_m), respectively and
%CDF stands for normal cumulative density function. The parameters are al_j, au_j, b_j , and sigma_j need to be estimate.
http://rfs.oxfordjournals.org/cgi/conte ... /12/5/1113-original paper.
A new estimate of transaction costs DA Lesmond0,z, JP Ogden1 and CA Trzcinka2
Can you help me how to estmate LOT measure using RATS?
thank you
This is the log likelihood function of LOT measure.
lnf=sum(if R_m< 0) [ln(1/(2*pi*(sigma_j^2)))-(1/(2*(sigma_j^2))*(R_j+al_j-b_j*R_m))^2] +
sum(if R_m> 0) [ln(1/(2*pi*(sigma_j^2)))-(1/(2*(sigma_j^2))*(R_j+au_j-b_j*R_m))^2] +
sum(if R_m= 0) [ln(%CDF((au_j-b_j*R_m)/sigma_j)- %CDF((al_j-b_j*R_m)/sigma_j)].
The R_j and R_m represents the dependent(each stock return:R_j) and independent variables(market return R_m), respectively and
%CDF stands for normal cumulative density function. The parameters are al_j, au_j, b_j , and sigma_j need to be estimate.
http://rfs.oxfordjournals.org/cgi/conte ... /12/5/1113-original paper.
A new estimate of transaction costs DA Lesmond0,z, JP Ogden1 and CA Trzcinka2
Can you help me how to estmate LOT measure using RATS?
thank you