<?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 change units of continuous variable in PROC GENMOD in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-change-units-of-continuous-variable-in-PROC-GENMOD/m-p/923646#M45895</link>
    <description>&lt;P&gt;I'm guessing that your response is binary and you are trying to estimate the relative risk as shown in the "Zou's modified Poisson approach" section &lt;A href="https://support.sas.com/kb/23/003.html" target="_self"&gt;this note&lt;/A&gt; - but for a 5 unit increase in those continuous variables in your case. Instead of the LSMEANS statement as shown in the note, you could use the ESTIMATE for your continuous variables. For example, use this statement to estimate the effect of a 5 unit increase. Be sure to look at the coefficients (shown by the E option) being applied to the parameter estimates to verify that you are estimating what you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;estimate '5 unit RR' baseline_SBP 5 / exp e;&lt;/P&gt;</description>
    <pubDate>Tue, 09 Apr 2024 16:07:20 GMT</pubDate>
    <dc:creator>StatDave</dc:creator>
    <dc:date>2024-04-09T16:07:20Z</dc:date>
    <item>
      <title>How to change units of continuous variable in PROC GENMOD</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-change-units-of-continuous-variable-in-PROC-GENMOD/m-p/923640#M45894</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I'm running the following multivariable Poisson model using PROC GENMOD, is there a way to change the units of the continuous variables baseline_SBP and baseline_DBP to 5 units instead of 1 unit? Similar to how UNITS is used in PROC LOGISTIC&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;proc genmod data = have;
class id gender(ref="M") race_cat(ref="White");
model bp_control = gender race_cat baseline_SBP baseline_DBP/ dist = poisson link = log;
repeated subject = id/ type = unstr;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 09 Apr 2024 15:22:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-change-units-of-continuous-variable-in-PROC-GENMOD/m-p/923640#M45894</guid>
      <dc:creator>raj23</dc:creator>
      <dc:date>2024-04-09T15:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to change units of continuous variable in PROC GENMOD</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-change-units-of-continuous-variable-in-PROC-GENMOD/m-p/923646#M45895</link>
      <description>&lt;P&gt;I'm guessing that your response is binary and you are trying to estimate the relative risk as shown in the "Zou's modified Poisson approach" section &lt;A href="https://support.sas.com/kb/23/003.html" target="_self"&gt;this note&lt;/A&gt; - but for a 5 unit increase in those continuous variables in your case. Instead of the LSMEANS statement as shown in the note, you could use the ESTIMATE for your continuous variables. For example, use this statement to estimate the effect of a 5 unit increase. Be sure to look at the coefficients (shown by the E option) being applied to the parameter estimates to verify that you are estimating what you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;estimate '5 unit RR' baseline_SBP 5 / exp e;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2024 16:07:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-change-units-of-continuous-variable-in-PROC-GENMOD/m-p/923646#M45895</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2024-04-09T16:07:20Z</dc:date>
    </item>
  </channel>
</rss>

