<?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: Linear regression help in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Linear-regression-help/m-p/34304#M20324</link>
    <description>&lt;P&gt;One last question.&amp;nbsp; In my attached example using the fit model shown, I'm just wondering how to report this in my manuscript as an odds ratio?&amp;nbsp; Essentially, I want to be able to say, "when adjusted for time to follow-up using a multivariate logistic regression, the presence of pain at initial presentation was associated with pain at early follow up (odds ratio &lt;FONT face="AGaramond-Regular" size="2"&gt;[OR] &lt;/FONT&gt;&lt;FONT face="Universal-GreekwithMathPi" size="2"&gt;&amp;#1; X&lt;/FONT&gt;&lt;FONT face="AGaramond-Regular" size="2"&gt;, 95% CI Y–Z, &lt;/FONT&gt;&lt;I&gt;&lt;FONT face="AGaramond-Italic" size="2"&gt;p &lt;/FONT&gt;&lt;/I&gt;= ?).&amp;nbsp; Looking at the output in my data, I'm having a hard time with all of the data that's being spit out to plug it into this statement (my understanding of statistics is rudimentary at best).&amp;nbsp; Thanks for your help.&lt;/P&gt;</description>
    <pubDate>Mon, 09 Jan 2017 17:10:29 GMT</pubDate>
    <dc:creator>cli</dc:creator>
    <dc:date>2017-01-09T17:10:29Z</dc:date>
    <item>
      <title>Linear regression help</title>
      <link>https://community.jmp.com/t5/Discussions/Linear-regression-help/m-p/34291#M20313</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I am working on a research project and am trying to perform a pretty basic comparison between a few variables in my data. &amp;nbsp;I have a list of categorical variables (age, initially had pain at onset of symptoms, initially had bladder symptoms at symptom onset, etc) and I am trying to correlate the presence of these variables with a categorical variable at early or late follow up (pain at follow up, need for a gait aid, need for catheter). &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have done a fit X by Y linear regression with the categorical variables and each dependent outcome. &amp;nbsp;What I am trying to do next is to account for the fact that the time to follow up is different for each subject, and to control for this. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, in my set of subjects the presence of bladder symptoms at symptom onset is correlated with the need for catheterization at follow up. &amp;nbsp;However, the range of time to follow up is variable between subjects, and can be anywhere from 10 days to 300 days, as that was when they were next evaluated. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What would be the easiest way to analyze the correlation between my two categorical variables while controlling for a continuous variable (time to follow up) and to display this as an odds ratio?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Jan 2017 17:59:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Linear-regression-help/m-p/34291#M20313</guid>
      <dc:creator>cli</dc:creator>
      <dc:date>2017-01-08T17:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: Linear regression help</title>
      <link>https://community.jmp.com/t5/Discussions/Linear-regression-help/m-p/34297#M20318</link>
      <description>&lt;P&gt;I'd would be happy to take a go at this. I made up some&amp;nbsp;data based on your post and&amp;nbsp;entered the onset pain as a value 1-10, bladder symptom severity 1-10 and entered an improvement percentage 0-100. I then ran a Fit Model without interactions to start. &amp;nbsp;My goal is&amp;nbsp;to increase improvement values for all patients and also know which gender and age have increased &lt;SPAN&gt;sensitivity.&amp;nbsp;&lt;/SPAN&gt;In the Fit Model platform I entered my desired response (improvement), then I &amp;nbsp;added a Profiler under the Report's Red Triangle&amp;gt;Factor Profiling &amp;gt;Profiler. We can now can interactively discover&amp;nbsp;the correlations between each or all of the variables and maximize anyone of them. &amp;nbsp;I'm sure other folks here&amp;nbsp;may have a different or more effcient approach. &amp;nbsp;My fictional patient data and attached Fit Model report is attached, just run the script in the tables panel on right by right-clicking &amp;gt; Run Script or if you have JMP 13 click the green arrow to launch the Model. Have a great day.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-htcWJ0ODE6Vr92MIV35Tw_kTEN4CqnaJw600h450r177" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6064698250001" data-account="6058004218001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6058004218001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-htcWJ0ODE6Vr92MIV35Tw_kTEN4CqnaJw600h450r177');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.jmp.com/t5/video/gallerypage/video-id/htcWJ0ODE6Vr92MIV35Tw_kTEN4CqnaJ"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2017 16:12:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Linear-regression-help/m-p/34297#M20318</guid>
      <dc:creator>ryandewitt</dc:creator>
      <dc:date>2017-01-09T16:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: Linear regression help</title>
      <link>https://community.jmp.com/t5/Discussions/Linear-regression-help/m-p/34300#M20321</link>
      <description>&lt;P&gt;Thanks for your very detailed response.&amp;nbsp; For my data, the presence of pain/bladder symptoms is a nominal variable (yes/no) and response time is continuous, as detailed in your explanation.&amp;nbsp; Would the process be similar, or would there need to be additional steps needed&amp;nbsp;to have a meaningful odds ratio after controlling for response time?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2017 16:12:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Linear-regression-help/m-p/34300#M20321</guid>
      <dc:creator>cli</dc:creator>
      <dc:date>2017-01-09T16:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: Linear regression help</title>
      <link>https://community.jmp.com/t5/Discussions/Linear-regression-help/m-p/34302#M20322</link>
      <description>&lt;P&gt;&lt;SPAN&gt;You bet! You can see in the Profiler, I do have a categorical value, gender, and we can examine it's effect on the other variables,&amp;nbsp;its correlation with the entire model. &amp;nbsp;I was suggesting Fit Model vs.&amp;nbsp;Fit YX because you have multiple variables influencing your response (Y) which can theoretically interact significantly with the others. .i.e. an older patient (Age)&amp;nbsp;whom does not receive a followup&amp;nbsp;20+ days post procedure, without new medication intervention is most likely to result in a chronic case long term case.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;I suggest entering your data using a Fit Model, or wait to see if another Community member has a different approach.&amp;nbsp;&lt;/SPAN&gt;My intention of making the pain/bladder a continuous variable was to extract more intel out of the patient and possibly show progression over multiple patient visits, which is&amp;nbsp;beyond your study. &amp;nbsp;Pain is usually subjective as well as the Bladder symptoms. "Well Doc , they're almost gone (8) however I have no pain (0)"&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Cool project. Let us know how we can help further.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2017 16:35:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Linear-regression-help/m-p/34302#M20322</guid>
      <dc:creator>ryandewitt</dc:creator>
      <dc:date>2017-01-09T16:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: Linear regression help</title>
      <link>https://community.jmp.com/t5/Discussions/Linear-regression-help/m-p/34304#M20324</link>
      <description>&lt;P&gt;One last question.&amp;nbsp; In my attached example using the fit model shown, I'm just wondering how to report this in my manuscript as an odds ratio?&amp;nbsp; Essentially, I want to be able to say, "when adjusted for time to follow-up using a multivariate logistic regression, the presence of pain at initial presentation was associated with pain at early follow up (odds ratio &lt;FONT face="AGaramond-Regular" size="2"&gt;[OR] &lt;/FONT&gt;&lt;FONT face="Universal-GreekwithMathPi" size="2"&gt;&amp;#1; X&lt;/FONT&gt;&lt;FONT face="AGaramond-Regular" size="2"&gt;, 95% CI Y–Z, &lt;/FONT&gt;&lt;I&gt;&lt;FONT face="AGaramond-Italic" size="2"&gt;p &lt;/FONT&gt;&lt;/I&gt;= ?).&amp;nbsp; Looking at the output in my data, I'm having a hard time with all of the data that's being spit out to plug it into this statement (my understanding of statistics is rudimentary at best).&amp;nbsp; Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2017 17:10:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Linear-regression-help/m-p/34304#M20324</guid>
      <dc:creator>cli</dc:creator>
      <dc:date>2017-01-09T17:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: Linear regression help</title>
      <link>https://community.jmp.com/t5/Discussions/Linear-regression-help/m-p/34306#M20326</link>
      <description>&lt;P&gt;Glad to answer. Could you attach your Fit Model to the data table by selecting Save Script to Data Table under red triangle in the Fit Model or use the icon in the tool bar, then re-upload.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2017 17:28:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Linear-regression-help/m-p/34306#M20326</guid>
      <dc:creator>ryandewitt</dc:creator>
      <dc:date>2017-01-09T17:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Linear regression help</title>
      <link>https://community.jmp.com/t5/Discussions/Linear-regression-help/m-p/34307#M20327</link>
      <description>&lt;P&gt;Here it is.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2017 17:35:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Linear-regression-help/m-p/34307#M20327</guid>
      <dc:creator>cli</dc:creator>
      <dc:date>2017-01-09T17:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Linear regression help</title>
      <link>https://community.jmp.com/t5/Discussions/Linear-regression-help/m-p/34310#M20328</link>
      <description>&lt;P&gt;You need to answer that question (or Stat formula) with an additional setting turned on in a JMP report. &amp;nbsp;In both Fit Model and Fit Y by X we can toggle on &lt;STRONG&gt;Odds Ratios&lt;/STRONG&gt; under the red triangle to get exactly what you're looking , just right click in that report over hover over items to recieve tools tips. &amp;nbsp;See annotated images below.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is more on Odds Ratios from our &lt;A href="http://www.jmp.com/support/help/13/Odds_Ratios_Nominal_Responses_Only.shtml" target="_self"&gt;JMP Docs&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The Library of Medicine has some great content online on this topic. &lt;A href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2938757/" target="_self"&gt;Explaining Odds Ratios&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="odds_ratio_fit_YX.jpeg" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/4748iA68D75B1F40D1B7F/image-size/large?v=v2&amp;amp;px=999" role="button" title="odds_ratio_fit_YX.jpeg" alt="odds_ratio_fit_YX.jpeg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="odds_ratio_fit_model.jpeg" style="width: 610px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/4749iB8C2BE8DBBB9CDA7/image-size/large?v=v2&amp;amp;px=999" role="button" title="odds_ratio_fit_model.jpeg" alt="odds_ratio_fit_model.jpeg" /&gt;&lt;/span&gt;i&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2017 17:56:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Linear-regression-help/m-p/34310#M20328</guid>
      <dc:creator>ryandewitt</dc:creator>
      <dc:date>2017-01-09T17:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: Linear regression help</title>
      <link>https://community.jmp.com/t5/Discussions/Linear-regression-help/m-p/34316#M20332</link>
      <description>&lt;P&gt;Hope these solutions helped with your project. If one of our suggestions worked for you please kindly&amp;nbsp;click the &lt;STRONG&gt;Accept as Solution&lt;/STRONG&gt; button. &amp;nbsp;Good luck with your project. &amp;nbsp;And let us know how we can further help you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2017 02:27:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Linear-regression-help/m-p/34316#M20332</guid>
      <dc:creator>ryandewitt</dc:creator>
      <dc:date>2017-01-10T02:27:02Z</dc:date>
    </item>
  </channel>
</rss>

