<?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: HELP on régression lineraire in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/HELP-on-r%C3%A9gression-lineraire/m-p/276764#M14632</link>
    <description>&lt;P&gt;Hello and welcome to the community!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the Linear Regression Task in SAS University Edition to help you. &amp;nbsp;If you go to TASKS AND UTILITIES -&amp;gt; Statistics -&amp;gt; scroll down you'll see it there.&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/3585i11B9024F6A6FF055/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Screen Shot 2016-06-12 at 9.15.33 AM.png" title="Screen Shot 2016-06-12 at 9.15.33 AM.png" width="281" height="427" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All you have to do is fill in the screens with the information and run the Task, you will get results. &amp;nbsp;You can specify different criteria without having to worry about wrtiing any code. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/3586i5AE07C756EC7D605/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Screen Shot 2016-06-12 at 9.19.54 AM.png" title="Screen Shot 2016-06-12 at 9.19.54 AM.png" width="348" height="506" /&gt;&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/3587i86879390BD2E11DD/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Screen Shot 2016-06-12 at 9.20.03 AM.png" title="Screen Shot 2016-06-12 at 9.20.03 AM.png" width="390" height="210" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to see the code, you can click on the CODE tab&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/3588iFE1C7125BE7B8186/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Screen Shot 2016-06-12 at 9.22.30 AM.png" title="Screen Shot 2016-06-12 at 9.22.30 AM.png" width="408" height="66" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And you'll get something like this:&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/3589iE642829B52CF2BA4/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Screen Shot 2016-06-12 at 9.22.37 AM.png" title="Screen Shot 2016-06-12 at 9.22.37 AM.png" width="591" height="309" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps. &amp;nbsp;If you need more information about linear regression, I recommend Greg Lee's book &lt;A href="https://www.sas.com/store/books/categories/getting-started/business-statistics-made-easy-in-sas-/prodBK_68300_en.html" target="_blank"&gt;Business statistics made easy&lt;/A&gt;. &amp;nbsp;You can also post back here, plenty of people have lots of experience and can help you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good luck!&lt;/P&gt;
&lt;P&gt;Chris&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 12 Jun 2016 13:28:10 GMT</pubDate>
    <dc:creator>DarthPathos</dc:creator>
    <dc:date>2016-06-12T13:28:10Z</dc:date>
    <item>
      <title>HELP on régression lineraire</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/HELP-on-r%C3%A9gression-lineraire/m-p/276670#M14621</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello I'm a beginner with SAS University Edition and I'm sorry my english is not very good and I need your help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have a database with 50000 data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have 8 variables (Sexe_assure / age / Profession_assure / ancien / Categorie_vehicule / Usage_vehicule / annee / bonus)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And 2 variables quantitative (Nb_sinistres / Cout_sinsitres)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For your information, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Nb_sinistres = Number of car accident&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Cout_sinistres = cost of accident&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have to analyse the population first then&amp;nbsp;estimate the "cost".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have already done the correlations off the varaibles with the fonction PROC CORR PEARSON.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is my code :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;79 /*Population sinsitrée = popuplation with accident*/&lt;BR /&gt;&lt;SPAN&gt;80 PROC CORR PEARSON DATA=WORK.SAS_GLOBAL;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;81 VAR Age Ancien Categorie_vehicule Profession_assure Sexe_assure Usage_vehicule bonus annee;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;82 WHERE nb_sinistres between 1 and 10;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;83 RUN&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;I have done the same operation for nb_sinistres = 0 and an other one without the condition "WHERE". &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;My objectif is&amp;nbsp;to observe the variables for all&amp;nbsp;population, the population without accident and the population with accident.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;I have done my analysis of the different populations.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Now I have to estimate the cost. In this instruction I understand that I have to predict/presage the cost for the next years.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;I suppose I have to do a linaire regression. But i don't know how to get, can you help me write the program ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;I need to have a graph and the result&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Please find attached the database&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Thank you in advance for your help.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Jun 2016 09:54:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/HELP-on-r%C3%A9gression-lineraire/m-p/276670#M14621</guid>
      <dc:creator>Pjag_1975</dc:creator>
      <dc:date>2016-06-11T09:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: HELP on régression lineraire</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/HELP-on-r%C3%A9gression-lineraire/m-p/276764#M14632</link>
      <description>&lt;P&gt;Hello and welcome to the community!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the Linear Regression Task in SAS University Edition to help you. &amp;nbsp;If you go to TASKS AND UTILITIES -&amp;gt; Statistics -&amp;gt; scroll down you'll see it there.&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/3585i11B9024F6A6FF055/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Screen Shot 2016-06-12 at 9.15.33 AM.png" title="Screen Shot 2016-06-12 at 9.15.33 AM.png" width="281" height="427" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All you have to do is fill in the screens with the information and run the Task, you will get results. &amp;nbsp;You can specify different criteria without having to worry about wrtiing any code. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/3586i5AE07C756EC7D605/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Screen Shot 2016-06-12 at 9.19.54 AM.png" title="Screen Shot 2016-06-12 at 9.19.54 AM.png" width="348" height="506" /&gt;&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/3587i86879390BD2E11DD/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Screen Shot 2016-06-12 at 9.20.03 AM.png" title="Screen Shot 2016-06-12 at 9.20.03 AM.png" width="390" height="210" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to see the code, you can click on the CODE tab&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/3588iFE1C7125BE7B8186/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Screen Shot 2016-06-12 at 9.22.30 AM.png" title="Screen Shot 2016-06-12 at 9.22.30 AM.png" width="408" height="66" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And you'll get something like this:&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/3589iE642829B52CF2BA4/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Screen Shot 2016-06-12 at 9.22.37 AM.png" title="Screen Shot 2016-06-12 at 9.22.37 AM.png" width="591" height="309" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps. &amp;nbsp;If you need more information about linear regression, I recommend Greg Lee's book &lt;A href="https://www.sas.com/store/books/categories/getting-started/business-statistics-made-easy-in-sas-/prodBK_68300_en.html" target="_blank"&gt;Business statistics made easy&lt;/A&gt;. &amp;nbsp;You can also post back here, plenty of people have lots of experience and can help you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good luck!&lt;/P&gt;
&lt;P&gt;Chris&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jun 2016 13:28:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/HELP-on-r%C3%A9gression-lineraire/m-p/276764#M14632</guid>
      <dc:creator>DarthPathos</dc:creator>
      <dc:date>2016-06-12T13:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: HELP on régression lineraire</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/HELP-on-r%C3%A9gression-lineraire/m-p/279991#M14750</link>
      <description>&lt;P&gt;Thanks for your help&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2016 14:01:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/HELP-on-r%C3%A9gression-lineraire/m-p/279991#M14750</guid>
      <dc:creator>Pjag_1975</dc:creator>
      <dc:date>2016-06-24T14:01:41Z</dc:date>
    </item>
  </channel>
</rss>

