<?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: Getting equation from proc transreg in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Getting-equation-from-proc-transreg/m-p/179627#M9316</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your ultimate objective is to project out, then I would really urge you to look into the SAS/ETS procedures--ARIMA and MODEL may be appropriate.&amp;nbsp; Extrapolating beyond the range of existing data is extremely dangerous for ordinary least squares or maximum likelihood methods, such as those used by SAS/STAT procedures.&amp;nbsp; However, it can be done.&amp;nbsp; Append records to the end of your data, indicating months and with growth_rate set to missing.&amp;nbsp; For the two time points you mention, it would mean adding&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;120 .&lt;/P&gt;&lt;P&gt;240 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to your existing dataset.&amp;nbsp; Now whatever procedure you use will fit based on complete data, but OUTPUT datasets can be set up to contain predicted values and confidence intervals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would do a search on this site for "hockey stick" and "PROC NLIN" as a way to fit this data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Dec 2013 13:54:09 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2013-12-23T13:54:09Z</dc:date>
    <item>
      <title>Getting equation from proc transreg</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Getting-equation-from-proc-transreg/m-p/179624#M9313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a small dataset of x and y values that create a downward trending curve. Using my vast statistical vocabulary, it looks like an "L". I'm trying to determine the equation for it. Looks like I can use proc transreg to fit the curve but how do I output the equation? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 18:16:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Getting-equation-from-proc-transreg/m-p/179624#M9313</guid>
      <dc:creator>jawon</dc:creator>
      <dc:date>2013-12-20T18:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Getting equation from proc transreg</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Getting-equation-from-proc-transreg/m-p/179625#M9314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The output should contain estimates for the terms in the model.&amp;nbsp; That should provide the equation of interest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if you use a semiparametric method like a spline, there isn't really a closed form equation that you can output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 18:59:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Getting-equation-from-proc-transreg/m-p/179625#M9314</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-12-20T18:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: Getting equation from proc transreg</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Getting-equation-from-proc-transreg/m-p/179626#M9315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, this is new to me. Could use some handholding. So let's say I have this dataset:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data spon_prod;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; input months growth_rate;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; datalines;&lt;/P&gt;&lt;P&gt; 6 1.8472&lt;/P&gt;&lt;P&gt;12 1.4303&lt;/P&gt;&lt;P&gt;18 1.2740&lt;/P&gt;&lt;P&gt;24 1.2078&lt;/P&gt;&lt;P&gt;30 1.1601&lt;/P&gt;&lt;P&gt;36 1.1353&lt;/P&gt;&lt;P&gt;42 1.1129&lt;/P&gt;&lt;P&gt;48 1.0988&lt;/P&gt;&lt;P&gt;54 1.0853&lt;/P&gt;&lt;P&gt;60 1.0778&lt;/P&gt;&lt;P&gt;66 1.0698&lt;/P&gt;&lt;P&gt;72 1.0645&lt;/P&gt;&lt;P&gt;78 1.0599&lt;/P&gt;&lt;P&gt;84 1.0555&lt;/P&gt;&lt;P&gt;90 1.0504&lt;/P&gt;&lt;P&gt;96 1.0463&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So this is the "L" curve. Ultimately I want to project this curve out to 120 months, or 240 months, and beyond. How would I fit this curve and then estimate the "growth rate" at whatever point I want? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2013 21:09:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Getting-equation-from-proc-transreg/m-p/179626#M9315</guid>
      <dc:creator>jawon</dc:creator>
      <dc:date>2013-12-20T21:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: Getting equation from proc transreg</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Getting-equation-from-proc-transreg/m-p/179627#M9316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your ultimate objective is to project out, then I would really urge you to look into the SAS/ETS procedures--ARIMA and MODEL may be appropriate.&amp;nbsp; Extrapolating beyond the range of existing data is extremely dangerous for ordinary least squares or maximum likelihood methods, such as those used by SAS/STAT procedures.&amp;nbsp; However, it can be done.&amp;nbsp; Append records to the end of your data, indicating months and with growth_rate set to missing.&amp;nbsp; For the two time points you mention, it would mean adding&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;120 .&lt;/P&gt;&lt;P&gt;240 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to your existing dataset.&amp;nbsp; Now whatever procedure you use will fit based on complete data, but OUTPUT datasets can be set up to contain predicted values and confidence intervals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would do a search on this site for "hockey stick" and "PROC NLIN" as a way to fit this data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Dec 2013 13:54:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Getting-equation-from-proc-transreg/m-p/179627#M9316</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-12-23T13:54:09Z</dc:date>
    </item>
  </channel>
</rss>

