<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Estimating implied cost of capital in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Estimating-implied-cost-of-capital/m-p/283746#M14954</link>
    <description>&lt;P&gt;Please post your PROC MODEL code so we can see how you've implemented the model.&lt;/P&gt;</description>
    <pubDate>Tue, 12 Jul 2016 12:51:28 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2016-07-12T12:51:28Z</dc:date>
    <item>
      <title>Estimating implied cost of capital</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Estimating-implied-cost-of-capital/m-p/283745#M14953</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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&amp;nbsp;SAS using&amp;nbsp;IBES dataset.&lt;/P&gt;&lt;P&gt;I have tried using 'proc model' but SAS&amp;nbsp;keeps saying that I need to define the parameters.&lt;/P&gt;&lt;P&gt;So I have tried generating 10000 rates by using do i=1 to 10000 and setting rate = t/10000 and plugging the rates&amp;nbsp;into the model to come up with 10000 prices (left hand variable).&lt;/P&gt;&lt;P&gt;But this seems to take too long and I still cannot get the result with required precision.&lt;/P&gt;&lt;P&gt;Can anyone please recommend me better&amp;nbsp;way to solve this problem?&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/4012i324D52B5780F6DB9/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="cl.jpg" title="cl.jpg" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 12:34:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Estimating-implied-cost-of-capital/m-p/283745#M14953</guid>
      <dc:creator>min6275</dc:creator>
      <dc:date>2016-07-12T12:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Estimating implied cost of capital</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Estimating-implied-cost-of-capital/m-p/283746#M14954</link>
      <description>&lt;P&gt;Please post your PROC MODEL code so we can see how you've implemented the model.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 12:51:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Estimating-implied-cost-of-capital/m-p/283746#M14954</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-07-12T12:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: Estimating implied cost of capital</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Estimating-implied-cost-of-capital/m-p/283952#M14966</link>
      <description>&lt;PRE&gt;data ae_parm; set ae;
	do t=1 to 1000;
	prc=prc;
	bkvlps=bkvlps;
	medest=medest;
	r_cl=rand('Uniform');
	medest2=medest2; bkv1=bkv1; medest3=medest3; bkv2=bkv2;medest4=medest4; bkv3=bkv3;medest5=medest5; bkv4=bkv4;
	growth=growth;
	output;
	end;
run;

data goal; set ae;
	prc=prc;
	bkvlps=bkvlps;
	medest=medest;
	medest2=medest2; bkv1=bkv1;	medest3=medest3; bkv2=bkv2;medest4=medest4; bkv3=bkv3;medest5=medest5; bkv4=bkv4;
	growth=growth;
run;


proc model data = ae_parm noprint outmodel = r_cl;
	endogenous r_cl;
	prc = bkvlps + (medest - bkvlps*r_cl)/(1+r_cl) + (medest2 - bkv1*r_cl)/(1+r_cl)**2 + (medest3 - bkv2*r_cl)/(1+r_cl)**3 +(medest4 - bkv3*r_cl)/(1+r_cl)**4 + (medest5 - bkv4*r_cl)/(1+r_cl)**5
			+ ((medest5 - bkv4*r_cl) + (1 + growth))/((r_cl - growth) * ((1+r_cl)**5));
	fit prc/ outest = prcest;
	solve r_cl  /estdata = prcest data = goal;
run;&lt;/PRE&gt;&lt;P&gt;This is the code I have used trying to estimate r_cl.&lt;/P&gt;&lt;P&gt;I am new to using SAS so I just tried to follow the sample code from online but it doesn't seem to be working as intended.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2016 02:30:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Estimating-implied-cost-of-capital/m-p/283952#M14966</guid>
      <dc:creator>min6275</dc:creator>
      <dc:date>2016-07-13T02:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Estimating implied cost of capital</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Estimating-implied-cost-of-capital/m-p/747793#M36387</link>
      <description>&lt;P&gt;I have got the same problem. Did you manage to solve it?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 13:17:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Estimating-implied-cost-of-capital/m-p/747793#M36387</guid>
      <dc:creator>sassssssssss</dc:creator>
      <dc:date>2021-06-14T13:17:37Z</dc:date>
    </item>
  </channel>
</rss>

