<?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 Should I be using the logistic regression or the categorical response module? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Should-I-be-using-the-logistic-regression-or-the-categorical/m-p/537823#M75917</link>
    <description>&lt;P&gt;I'm in JMP Pro 15.2.1.&lt;/P&gt;&lt;P&gt;I have 60 thousand observations, where the response is true/false and two categorical predictors: job, and group (assume they're not correlated). Many thousands of observations. I was about to do a logistic regression under the assumption that every observation was independent. But then I realized that each person had three consecutive response opportunities (one each quarter) and that their successive responses are not entirely independent from earlier responses.&amp;nbsp; I have a person ID for each response, so I know which responses belong to each person ID.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My first attempt was simply to use the 'fit model' platform with a nominal logistic personality. But I wasn't sure how to handle the repeated measures generated by the 'case' variable. I could ignore case, and treat every observation as independent, but that's probably invalidating my test statistics.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For repeated measures, I tried the multiple response module in analyze -&amp;gt; consumer research --&amp;gt; categorical -&amp;gt; related -&amp;gt; repeated measures. 'response' is my repeated measure, 'person' is my ID, and 'job' and 'group' are my X values. But when I run the model, I don't see any of the tests that I'd expect to see with logistic regression. Am I in the wrong module after all?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;person&lt;/TD&gt;&lt;TD&gt;case&lt;/TD&gt;&lt;TD&gt;response&lt;/TD&gt;&lt;TD&gt;job&lt;/TD&gt;&lt;TD&gt;group&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;a&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;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t;c&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;T&lt;/TD&gt;&lt;TD&gt;supt&lt;/TD&gt;&lt;TD&gt;orange&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
    <pubDate>Fri, 09 Jun 2023 00:54:09 GMT</pubDate>
    <dc:creator>gchesterton</dc:creator>
    <dc:date>2023-06-09T00:54:09Z</dc:date>
    <item>
      <title>Should I be using the logistic regression or the categorical response module?</title>
      <link>https://community.jmp.com/t5/Discussions/Should-I-be-using-the-logistic-regression-or-the-categorical/m-p/537823#M75917</link>
      <description>&lt;P&gt;I'm in JMP Pro 15.2.1.&lt;/P&gt;&lt;P&gt;I have 60 thousand observations, where the response is true/false and two categorical predictors: job, and group (assume they're not correlated). Many thousands of observations. I was about to do a logistic regression under the assumption that every observation was independent. But then I realized that each person had three consecutive response opportunities (one each quarter) and that their successive responses are not entirely independent from earlier responses.&amp;nbsp; I have a person ID for each response, so I know which responses belong to each person ID.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My first attempt was simply to use the 'fit model' platform with a nominal logistic personality. But I wasn't sure how to handle the repeated measures generated by the 'case' variable. I could ignore case, and treat every observation as independent, but that's probably invalidating my test statistics.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For repeated measures, I tried the multiple response module in analyze -&amp;gt; consumer research --&amp;gt; categorical -&amp;gt; related -&amp;gt; repeated measures. 'response' is my repeated measure, 'person' is my ID, and 'job' and 'group' are my X values. But when I run the model, I don't see any of the tests that I'd expect to see with logistic regression. Am I in the wrong module after all?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;person&lt;/TD&gt;&lt;TD&gt;case&lt;/TD&gt;&lt;TD&gt;response&lt;/TD&gt;&lt;TD&gt;job&lt;/TD&gt;&lt;TD&gt;group&lt;/TD&gt;&l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t;supt&lt;/TD&gt;&lt;TD&gt;orange&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;c&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;T&lt;/TD&gt;&lt;TD&gt;supt&lt;/TD&gt;&lt;TD&gt;orange&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Fri, 09 Jun 2023 00:54:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Should-I-be-using-the-logistic-regression-or-the-categorical/m-p/537823#M75917</guid>
      <dc:creator>gchesterton</dc:creator>
      <dc:date>2023-06-09T00:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: Should I be using the logistic regression or the categorical response module?</title>
      <link>https://community.jmp.com/t5/Discussions/Should-I-be-using-the-logistic-regression-or-the-categorical/m-p/538965#M76008</link>
      <description>&lt;P&gt;Here is one thought. But I am assuming that the interest is to see (A) how responses are different by job and/or group, AND also (B) how responses change from previous case to next case. If your interest is not that, what I am going to describe may not be proper.&lt;/P&gt;
&lt;P&gt;First step, take the subset of all observations whose case = 1. Analyze the subset using logistic regression and try to answer (A) given case = 1.&lt;/P&gt;
&lt;P&gt;Second step, take the subset of all observations whose case = 2. Analyze the subset using logistic regression and try to answer (A) given case = 2. Then&amp;nbsp; add the response from case = 1 as a new explanatory variables. Analyze the new subset using logistic regression and try to answer (B) given case = 2, conditioning on the response for case = 1. If the previous response turns out significant, then it tells something out how previous response affects the later one.&lt;/P&gt;
&lt;P&gt;So on so forth. As the step moves along, you may need to try adding either only the immediate previous response as explanatory variable, or all previous responses as explanatory variables, and see which matters.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2022 03:39:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Should-I-be-using-the-logistic-regression-or-the-categorical/m-p/538965#M76008</guid>
      <dc:creator>peng_liu</dc:creator>
      <dc:date>2022-08-31T03:39:46Z</dc:date>
    </item>
  </channel>
</rss>

