I am trying to calculate the implied cost of capital (k_ct in the model below) of four models following Hail and Leuz (2006, 2009) with SAS using IBES dataset. I have tried using 'proc model' but SAS keeps saying that I need to define the parameters. So I have tried generating 10000 rates by using do i=1 to 10000 and setting rate = t/10000 and plugging the rates into the model to come up with 10000 prices (left hand variable). But this seems to take too long and I still cannot get the result with required precision. Can anyone please recommend me better way to solve this problem? Thank you in advance.
... View more