<?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: determine slope in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/determine-slope/m-p/328192#M62477</link>
    <description>&lt;P&gt;I'm assuming that you'd like to try and write the code at some point. If not, use the GUI to point and click your selections.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 28 Jan 2017 04:38:39 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-01-28T04:38:39Z</dc:date>
    <item>
      <title>determine slope</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/determine-slope/m-p/328176#M62472</link>
      <description>&lt;P&gt;Hi I have a dataset (refer attached image). I have imported this data in SAS and want a procedure to determine a slope value (T vs Cn) for 3&amp;nbsp;samples. As shown in the imagefile. Can you please help me in achieving this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13374iF151A5C118359AC8/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="11.JPG" title="11.JPG" /&gt;</description>
      <pubDate>Sat, 28 Jan 2017 00:16:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/determine-slope/m-p/328176#M62472</guid>
      <dc:creator>DShah</dc:creator>
      <dc:date>2017-01-28T00:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: determine slope</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/determine-slope/m-p/328179#M62473</link>
      <description>&lt;P&gt;1. Create a grouping variable that allows you to group observations.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use SUBSTR() function to extract a portion of a string variable, I think Sample in this case.&lt;/P&gt;
&lt;P&gt;2. Sort the data explicitly by the variable in part 1. PROC SORT.&lt;/P&gt;
&lt;P&gt;3. Run a PROC REG to determine the slope variables. Use OUTEST on PROC REG statement to store the estimated slopes per group into a data set that can then be merged into your previous data set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS. If you want help with code, provide sample data as text, not as an image. To generate code for you, that actually worked, would require typing out your data. On principle I generally don't do that anymore and many others don't either.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you require further assistance post the code you've developed and the log indicating where you're having issues.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can find how to instructional videos on various topics here:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/training/tutorial/" target="_blank"&gt;http://support.sas.com/training/tutorial/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jan 2017 01:21:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/determine-slope/m-p/328179#M62473</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-01-28T01:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: determine slope</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/determine-slope/m-p/328180#M62474</link>
      <description>&lt;P&gt;Thank you for your reply. I do not know how to write a code. please find data as in attached CSV file:&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jan 2017 01:25:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/determine-slope/m-p/328180#M62474</guid>
      <dc:creator>DShah</dc:creator>
      <dc:date>2017-01-28T01:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: determine slope</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/determine-slope/m-p/328192#M62477</link>
      <description>&lt;P&gt;I'm assuming that you'd like to try and write the code at some point. If not, use the GUI to point and click your selections.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jan 2017 04:38:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/determine-slope/m-p/328192#M62477</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-01-28T04:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: determine slope</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/determine-slope/m-p/328193#M62478</link>
      <description>&lt;P&gt;i have very limited application for this software. I will be very grateful if you will write a code for me.&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jan 2017 04:43:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/determine-slope/m-p/328193#M62478</guid>
      <dc:creator>DShah</dc:creator>
      <dc:date>2017-01-28T04:43:01Z</dc:date>
    </item>
  </channel>
</rss>

