<?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: Proc LOGISTIC - meaning of UNITS statement in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-LOGISTIC-meaning-of-UNITS-statement/m-p/783044#M38451</link>
    <description>Typically you lose information when binning/categorizing variables as already mentioned by &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13633"&gt;@StatDave&lt;/a&gt;. &lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 29 Nov 2021 23:06:13 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2021-11-29T23:06:13Z</dc:date>
    <item>
      <title>Proc LOGISTIC - meaning of UNITS statement</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-LOGISTIC-meaning-of-UNITS-statement/m-p/782975#M38443</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;This can be tested experimentally, but I would like to prime the work with some discussion of variable distributions and primitive vs. advanced normalization. I have a distribution of times to be used in logistic regression. Majority of the times are short, so the distribution is skewed. I want to rank the times (i.e., bin them into groups of equal size) and use them as an ordinal variable.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Is it the same as setting a unit change in time to group size in the UNITS statement?&lt;/LI&gt;
&lt;LI&gt;Ranked times will have a uniform distribution - is it legit to use such variable in PROC LOGISTICS?&lt;/LI&gt;
&lt;LI&gt;Should I be setting some sort of a reference level, or can I use the ranked time as a continuous-ordinal variable?&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Many thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 18:54:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-LOGISTIC-meaning-of-UNITS-statement/m-p/782975#M38443</guid>
      <dc:creator>pink_poodle</dc:creator>
      <dc:date>2021-11-29T18:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: Proc LOGISTIC - meaning of UNITS statement</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-LOGISTIC-meaning-of-UNITS-statement/m-p/782984#M38444</link>
      <description>&lt;P&gt;Personally, I would try regularization/standardization for variables before binning.&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/235176"&gt;@pink_poodle&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;This can be tested experimentally, but I would like to prime the work with some discussion of variable distributions and primitive vs. advanced normalization. I have a distribution of times to be used in logistic regression. Majority of the times are short, so the distribution is skewed. I want to rank the times (i.e., bin them into groups of equal size) and use them as an ordinal variable.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Is it the same as setting a unit change in time to group size in the UNITS statement?&lt;/LI&gt;
&lt;LI&gt;Ranked times will have a uniform distribution - is it legit to use such variable in PROC LOGISTICS?&lt;/LI&gt;
&lt;LI&gt;Should I be setting some sort of a reference level, or can I use the ranked time as a continuous-ordinal variable?&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Many thanks!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 20:01:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-LOGISTIC-meaning-of-UNITS-statement/m-p/782984#M38444</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-11-29T20:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: Proc LOGISTIC - meaning of UNITS statement</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-LOGISTIC-meaning-of-UNITS-statement/m-p/782989#M38445</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;, could you please be more specific?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 20:27:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-LOGISTIC-meaning-of-UNITS-statement/m-p/782989#M38445</guid>
      <dc:creator>pink_poodle</dc:creator>
      <dc:date>2021-11-29T20:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: Proc LOGISTIC - meaning of UNITS statement</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-LOGISTIC-meaning-of-UNITS-statement/m-p/782999#M38446</link>
      <description>Are you familiar with the concept of variable standardization and why having variables with various different units are problematic?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://statisticsbyjim.com/regression/standardize-variables-regression/" target="_blank"&gt;https://statisticsbyjim.com/regression/standardize-variables-regression/&lt;/A&gt;</description>
      <pubDate>Mon, 29 Nov 2021 20:51:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-LOGISTIC-meaning-of-UNITS-statement/m-p/782999#M38446</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-11-29T20:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Proc LOGISTIC - meaning of UNITS statement</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-LOGISTIC-meaning-of-UNITS-statement/m-p/783005#M38447</link>
      <description>Thank you, this is a very nice website. The times are all in minutes. If I subtract the mean from times to center them, many will be negative.</description>
      <pubDate>Mon, 29 Nov 2021 21:04:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-LOGISTIC-meaning-of-UNITS-statement/m-p/783005#M38447</guid>
      <dc:creator>pink_poodle</dc:creator>
      <dc:date>2021-11-29T21:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: Proc LOGISTIC - meaning of UNITS statement</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-LOGISTIC-meaning-of-UNITS-statement/m-p/783016#M38448</link>
      <description>&lt;P&gt;If you are saying that your question is about how to use a continuously-valued but positively skewed variable, TIME, as a predictor in a logistic regression model, then I suggest you simply use the variable, as is, in your model. Logistic regression makes no assumption on the distribution of the predictors. And categorizing a continuous variable simply throws away information that can be used to better model its effect. If the association between TIME and your response is complex, you can even use a spline on TIME (in the EFFECTS statement) to allow for as much flexibility as needed, or you could simply add higher order polynomial terms like quadratic, cubic, and so on. That cannot be done if the variable is categorized and used in the CLASS statement. Regarding the UNITS statement, that is only used to modify the odds ratio estimates computed after the model is fitted. The UNITS statement has no effect on how a predictor is used in the model.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 21:38:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-LOGISTIC-meaning-of-UNITS-statement/m-p/783016#M38448</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2021-11-29T21:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: Proc LOGISTIC - meaning of UNITS statement</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-LOGISTIC-meaning-of-UNITS-statement/m-p/783036#M38449</link>
      <description>A negative standardized value, means it's less than the average, which is informative in terms of comparisons and predictions, but may not make intuitive sense initially. For explanations and odds ratio, you could convert it back to the original scale though the non linear relationship makes it difficult to explain.&lt;BR /&gt;&lt;BR /&gt;There are various standardization methods, not all would cause you to have negative values, e.g using a RANGE method. Here's a few from the PROC STDIZE documentation. &lt;BR /&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.3/statug/statug_stdize_details01.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.3/statug/statug_stdize_details01.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Are you looking to build a model for predictive power?&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Nov 2021 22:28:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-LOGISTIC-meaning-of-UNITS-statement/m-p/783036#M38449</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-11-29T22:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: Proc LOGISTIC - meaning of UNITS statement</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-LOGISTIC-meaning-of-UNITS-statement/m-p/783042#M38450</link>
      <description>I already built it with a continuous variable. Just trying to determine if there are additional benefits to be had from using time as an ordinal variable.</description>
      <pubDate>Mon, 29 Nov 2021 22:55:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-LOGISTIC-meaning-of-UNITS-statement/m-p/783042#M38450</guid>
      <dc:creator>pink_poodle</dc:creator>
      <dc:date>2021-11-29T22:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: Proc LOGISTIC - meaning of UNITS statement</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-LOGISTIC-meaning-of-UNITS-statement/m-p/783044#M38451</link>
      <description>Typically you lose information when binning/categorizing variables as already mentioned by &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13633"&gt;@StatDave&lt;/a&gt;. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Nov 2021 23:06:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-LOGISTIC-meaning-of-UNITS-statement/m-p/783044#M38451</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-11-29T23:06:13Z</dc:date>
    </item>
  </channel>
</rss>

