<?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: Growth Curve Analysis in SAS. in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Growth-Curve-Analysis-in-SAS/m-p/70381#M20250</link>
    <description>Fit a linear model within anid and then output the parameters.&lt;BR /&gt;
&lt;BR /&gt;
e.g.&lt;BR /&gt;
&lt;BR /&gt;
PROC GLM;&lt;BR /&gt;
BY anid;&lt;BR /&gt;
MODEL wt=duration;&lt;BR /&gt;
&lt;BR /&gt;
You can output the slope an intercept with either ODS or an OUTPUT statement.

The classical growth curve analysis (Wishert), requires the same time intervals (number and placement) so you can put all the wt's on the left hand side of the model and fit the curve within the times.  IF you have that situation (you don't), this method is algebraically equivalent.&lt;BR /&gt;
&lt;BR /&gt;
    &lt;BR /&gt;
Message was edited by: Doc@Duke</description>
    <pubDate>Thu, 10 Sep 2009 16:22:43 GMT</pubDate>
    <dc:creator>Doc_Duke</dc:creator>
    <dc:date>2009-09-10T16:22:43Z</dc:date>
    <item>
      <title>Growth Curve Analysis in SAS.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Growth-Curve-Analysis-in-SAS/m-p/70380#M20249</link>
      <description>I have a table that looks like this :&lt;BR /&gt;
&lt;BR /&gt;
an id	  duration       wt&lt;BR /&gt;
7401-2001	0	    129&lt;BR /&gt;
7401-2001	167	    540&lt;BR /&gt;
7401-2001	198	    652&lt;BR /&gt;
7401-2001	224	    680&lt;BR /&gt;
7401-2001	246	    715&lt;BR /&gt;
7401-2002	0	    94&lt;BR /&gt;
7401-2002	133	    416&lt;BR /&gt;
7401-2002	169	   556&lt;BR /&gt;
7401-2002	203	   644&lt;BR /&gt;
7401-2002	226	   700&lt;BR /&gt;
7401-2002	247	   723&lt;BR /&gt;
&lt;BR /&gt;
and so on.&lt;BR /&gt;
&lt;BR /&gt;
The 'anid' is a categorical variable. The goal is to calculate the slope for each anid treating duration as X and weight as Y. That is, a linear regression for each anid.&lt;BR /&gt;
&lt;BR /&gt;
There are 2000 data rows and 500 different anids. I ran a GLM code on it but this gives me the same slope for each anid , with different intercepts.&lt;BR /&gt;
&lt;BR /&gt;
I specifically require different slopes for different anids for further growth curve analysis.  How to go about it? Please help.</description>
      <pubDate>Thu, 10 Sep 2009 06:00:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Growth-Curve-Analysis-in-SAS/m-p/70380#M20249</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-09-10T06:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: Growth Curve Analysis in SAS.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Growth-Curve-Analysis-in-SAS/m-p/70381#M20250</link>
      <description>Fit a linear model within anid and then output the parameters.&lt;BR /&gt;
&lt;BR /&gt;
e.g.&lt;BR /&gt;
&lt;BR /&gt;
PROC GLM;&lt;BR /&gt;
BY anid;&lt;BR /&gt;
MODEL wt=duration;&lt;BR /&gt;
&lt;BR /&gt;
You can output the slope an intercept with either ODS or an OUTPUT statement.

The classical growth curve analysis (Wishert), requires the same time intervals (number and placement) so you can put all the wt's on the left hand side of the model and fit the curve within the times.  IF you have that situation (you don't), this method is algebraically equivalent.&lt;BR /&gt;
&lt;BR /&gt;
    &lt;BR /&gt;
Message was edited by: Doc@Duke</description>
      <pubDate>Thu, 10 Sep 2009 16:22:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Growth-Curve-Analysis-in-SAS/m-p/70381#M20250</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2009-09-10T16:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Growth Curve Analysis in SAS.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Growth-Curve-Analysis-in-SAS/m-p/70382#M20251</link>
      <description>Thanks for the reply. It worked great. I have worked on logistic models before, its my first tryst with ODS output.&lt;BR /&gt;
&lt;BR /&gt;
I am trying to get the output into excel. ODS gives a lot of options. But each of them has a lot of unwanted result. The final excel table I am looking to compile has only 3 columns:&lt;BR /&gt;
an id,  slope, intercept&lt;BR /&gt;
&lt;BR /&gt;
Thats it. Anyway I can just extract slope and intercept only from the output and chuck the other inferences which I do not need at the moment?&lt;BR /&gt;
&lt;BR /&gt;
With 4 other files like this, I am looking at a formatting nightmare otherwise!!&lt;BR /&gt;
&lt;BR /&gt;
Thanks again.</description>
      <pubDate>Thu, 10 Sep 2009 23:27:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Growth-Curve-Analysis-in-SAS/m-p/70382#M20251</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-09-10T23:27:51Z</dc:date>
    </item>
  </channel>
</rss>

