<?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: How to calculate regression slopes by subject in table with many subjects each measured at different ages? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-calculate-regression-slopes-by-subject-in-table-with-many/m-p/6485#M6479</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks MS: The script worked immediately and removed the intercept rows. After a couple of stumbles, I was able to get the same results using the JMP menus. The slopes agree with independent regression runs. Very Good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TSP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Apr 2013 18:03:56 GMT</pubDate>
    <dc:creator>tomparker</dc:creator>
    <dc:date>2013-04-03T18:03:56Z</dc:date>
    <item>
      <title>How to calculate regression slopes by subject in table with many subjects each measured at different ages?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-calculate-regression-slopes-by-subject-in-table-with-many/m-p/6483#M6477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Renal function is measured as Glomerular Filtration rate (GFR) and loss of function in renal disease is estimated as the (negative) slope of GFR by advancing age. In studies of kidney disease, it is often the objective to test for baseline predictors of the slope of GFR by age or time. The attached table shows typical data for 10 subjects with each having GFR measured at two or more ages. Can anyone suggest a method (using JMP10) to calculate the slope for each subject to produce a new table with SubjectID in column one and Slope in column two? Subsequent columns optionally may contain additional information about the fit.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2013 19:14:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-calculate-regression-slopes-by-subject-in-table-with-many/m-p/6483#M6477</guid>
      <dc:creator>tomparker</dc:creator>
      <dc:date>2013-04-02T19:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate regression slopes by subject in table with many subjects each measured at different ages?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-calculate-regression-slopes-by-subject-in-table-with-many/m-p/6484#M6478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the Fit Y by X platform. Add GFR as Y, Age as X. Then in the bivariate report, select "Group By..." under the red triangle and select Patient before choosing "Fit Line" (also under the red triangle). Finally, right-click on any of the tables named "Parameter Estimates" and select "make combined data table" to make a table with all the slopes (the intercepts will be there too but are easy to sort out and delete).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The JSL version would be something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; color: #801392;"&gt;&lt;SPAN style="color: #000000;"&gt;dt &lt;/SPAN&gt;&lt;SPAN style="color: #160091;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2800e1;"&gt;Data Table&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;"Sample_GFRbyAgebyPt.jmp"&lt;SPAN style="color: #000000;"&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #160091;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;biv &lt;SPAN style="color: #160091;"&gt;=&lt;/SPAN&gt; dt &lt;SPAN style="color: #160091;"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; Bivariate&lt;STRONG&gt;(&lt;/STRONG&gt; Y&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;SPAN style="color: #160091;"&gt;:&lt;/SPAN&gt;GFR &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #160091;"&gt;,&lt;/SPAN&gt; X&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;SPAN style="color: #160091;"&gt;:&lt;/SPAN&gt;Age &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #160091;"&gt;,&lt;/SPAN&gt; Group by&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;SPAN style="color: #160091;"&gt;:&lt;/SPAN&gt;Patient &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #160091;"&gt;,&lt;/SPAN&gt; Fit Line&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;SPAN style="color: #509092;"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #160091;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;slopes &lt;SPAN style="color: #160091;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #2800e1;"&gt;Report&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; biv &lt;STRONG&gt;)[&lt;/STRONG&gt;&lt;SPAN style="color: #801392;"&gt;"Parameter Estimates"&lt;/SPAN&gt;&lt;STRONG&gt;][&lt;/STRONG&gt;&lt;SPAN style="color: #509092;"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;]&lt;/STRONG&gt; &lt;SPAN style="color: #160091;"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; make combined data table&lt;SPAN style="color: #160091;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;slopes &lt;SPAN style="color: #160091;"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; select where&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;SPAN style="color: #160091;"&gt;:&lt;/SPAN&gt;Term &lt;SPAN style="color: #160091;"&gt;==&lt;/SPAN&gt; &lt;SPAN style="color: #801392;"&gt;"Intercept"&lt;/SPAN&gt; &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;SPAN style="color: #160091;"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; delete rows&lt;SPAN style="color: #160091;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 17:15:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-calculate-regression-slopes-by-subject-in-table-with-many/m-p/6484#M6478</guid>
      <dc:creator>ms</dc:creator>
      <dc:date>2013-04-03T17:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate regression slopes by subject in table with many subjects each measured at different ages?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-calculate-regression-slopes-by-subject-in-table-with-many/m-p/6485#M6479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks MS: The script worked immediately and removed the intercept rows. After a couple of stumbles, I was able to get the same results using the JMP menus. The slopes agree with independent regression runs. Very Good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TSP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 18:03:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-calculate-regression-slopes-by-subject-in-table-with-many/m-p/6485#M6479</guid>
      <dc:creator>tomparker</dc:creator>
      <dc:date>2013-04-03T18:03:56Z</dc:date>
    </item>
  </channel>
</rss>

