<?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: changing units in a regression in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/changing-units-in-a-regression/m-p/679790#M23949</link>
    <description>&lt;P&gt;Note that the procedure displays two tables "Odds ratio estimates" and "Odds Ratios". The later includes a column for units and the odds ratio for those units.&amp;nbsp; In your case, for an odds ratio of 31, the corrected value corresponding to units=0.1 should be Exp(0.1*Log(31)) = 1.41.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 27 Aug 2020 16:18:58 GMT</pubDate>
    <dc:creator>PGStats</dc:creator>
    <dc:date>2020-08-27T16:18:58Z</dc:date>
    <item>
      <title>changing units in a regression</title>
      <link>https://communities.sas.com/t5/New-SAS-User/changing-units-in-a-regression/m-p/679673#M23943</link>
      <description>&lt;P&gt;Hie guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am curently in an intership working on SAS, it's ending soon and therfore I am re-runing it bit by bit to make sure it works and that I did not make any mistake.&lt;/P&gt;&lt;P&gt;I had an issue with the unit of one of my variables, the variable take very small values so when odds ratio associated is quite big (31) I tryed changing the unit using 'Units' but the results are exactly the same and i dont get why. Especially since I remember that it use to work . Here is my code, I deleted some of the lines such as title or comments to make it more clear...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Proc Logistic data=Table_arachide desc; 
	Model REAALL_A = TRARAH3 ;
Run;

/* and */
Proc Logistic data=Table_arachide desc; 
	Units TRARAH3 = 0.1 ;
	Model REAALL_A = TRARAH3 ;
Run;&lt;/PRE&gt;&lt;P&gt;I tried multipling the varble value by ten it then gives me different results for the asymptotic test but for the exact one it return me a strange confidence intervalle: [ . ,3.373 ]&amp;nbsp; the "." being the strange part.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope one of you will be able to help me &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Englich is not my first langage so pardon me if I made some mistake, feel free to ask for any clarification ...&lt;/P&gt;&lt;DIV class="branch"&gt;&lt;DIV&gt;&lt;DIV align="center"&gt;&lt;TABLE cellspacing="0" cellpadding="5"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 27 Aug 2020 09:53:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/changing-units-in-a-regression/m-p/679673#M23943</guid>
      <dc:creator>Asmy</dc:creator>
      <dc:date>2020-08-27T09:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: changing units in a regression</title>
      <link>https://communities.sas.com/t5/New-SAS-User/changing-units-in-a-regression/m-p/679680#M23944</link>
      <description>&lt;P&gt;As an example, lets look at&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc logistic data=sashelp.class;
model sex=height;
units height=0.1;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;so, here is the relevant parts of the output&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;           Odds Ratio Estimates

             Point          95% Wald
Effect    Estimate      Confidence Limits

Height       0.863       0.700       1.064

          Odds Ratios

Effect         Unit     Estimate

Height       0.1000        0.985
&lt;/PRE&gt;
&lt;P&gt;The odds ratio calculated normally (without the UNITS command) is 0.863. If you set the UNIT to 0.1, you get an odds ratio of 0.985.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 10:57:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/changing-units-in-a-regression/m-p/679680#M23944</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-08-27T10:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: changing units in a regression</title>
      <link>https://communities.sas.com/t5/New-SAS-User/changing-units-in-a-regression/m-p/679684#M23945</link>
      <description>&lt;P&gt;Thank you for your response PaigeMiller but am not sure to get what you are trying to say. Could you explaine it a little more ?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 11:46:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/changing-units-in-a-regression/m-p/679684#M23945</guid>
      <dc:creator>Asmy</dc:creator>
      <dc:date>2020-08-27T11:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: changing units in a regression</title>
      <link>https://communities.sas.com/t5/New-SAS-User/changing-units-in-a-regression/m-p/679775#M23948</link>
      <description>&lt;P&gt;What part is not clear? The example shows that using the UNITS command does produce in a different odds ratio, as expected.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 15:39:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/changing-units-in-a-regression/m-p/679775#M23948</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-08-27T15:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: changing units in a regression</title>
      <link>https://communities.sas.com/t5/New-SAS-User/changing-units-in-a-regression/m-p/679790#M23949</link>
      <description>&lt;P&gt;Note that the procedure displays two tables "Odds ratio estimates" and "Odds Ratios". The later includes a column for units and the odds ratio for those units.&amp;nbsp; In your case, for an odds ratio of 31, the corrected value corresponding to units=0.1 should be Exp(0.1*Log(31)) = 1.41.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 16:18:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/changing-units-in-a-regression/m-p/679790#M23949</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2020-08-27T16:18:58Z</dc:date>
    </item>
  </channel>
</rss>

