<?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 do I adjust for covariates in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/how-do-I-adjust-for-covariates/m-p/235988#M46557</link>
    <description>&lt;DIV&gt;&lt;FONT&gt;I think that explains it. I am satisfied with the results&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;One last question hopefully&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;How does this strategy compared to doing a propensity matching of cases and controls.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;I was reading on other discussion posts that propensity matching is not possible in JMP and I have to do it on SPSS or R... Is that correct?&lt;/FONT&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 21 Nov 2019 19:31:51 GMT</pubDate>
    <dc:creator>Sandeep123</dc:creator>
    <dc:date>2019-11-21T19:31:51Z</dc:date>
    <item>
      <title>how do I adjust for covariates</title>
      <link>https://community.jmp.com/t5/Discussions/how-do-I-adjust-for-covariates/m-p/234032#M46408</link>
      <description>&lt;P&gt;I have a data set with two cohorts . They have outcome differences ( Length of stay, continious variables) on univariate analysis. They are however not similiar in baseline characterstics ( have different severity of illness ( continious), age ( continious) and diagnosis ( categorial variables ).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I adjust the outcome variable based on age, disease severity and diagnosis ?&lt;/P&gt;</description>
      <pubDate>Sun, 17 Nov 2019 10:57:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-do-I-adjust-for-covariates/m-p/234032#M46408</guid>
      <dc:creator>Sandeep123</dc:creator>
      <dc:date>2019-11-17T10:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: how do I adjust for covariates</title>
      <link>https://community.jmp.com/t5/Discussions/how-do-I-adjust-for-covariates/m-p/234044#M46409</link>
      <description>&lt;P&gt;Include the covariates as additional predictors in the multiple regression model.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Select Analyze &amp;gt; Fit Model. Select the response data column and click Y. Select the predictor/factor and covariate data columns and click Add. Now click Run. Use the Effect Tests to determine the significance of each term. Use the Parameter Estimates to determine the importance of each term. Click the red triangle and select Factor Profiling &amp;gt; Profiler to understand the contribution of changes in each predictor and covariate to the response.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See Help &amp;gt; Books &amp;gt; Fitting Linear Models for more details and examples.&lt;/P&gt;</description>
      <pubDate>Sun, 17 Nov 2019 12:46:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-do-I-adjust-for-covariates/m-p/234044#M46409</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2019-11-17T12:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: how do I adjust for covariates</title>
      <link>https://community.jmp.com/t5/Discussions/how-do-I-adjust-for-covariates/m-p/234067#M46413</link>
      <description>&lt;DIV&gt;&lt;FONT&gt;Thank you. That is the most logical way of doing it.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;I am not entirely sure that the result I am getting is correct however.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;On univariate comparison for the outcome variables (ICU length of stay,&amp;nbsp; hospital length of stay and ventilator days) between cases and controls there is very significant difference (P value&amp;lt; 0.0001) . There are indeed&amp;nbsp; differences in age groups, and severity of illness score &lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;The severity of illness scores are higher in the control groups then the cases (mean score of 2.5 in the control compared to -4.5 in the case).Which would mean that the control group should have a longer length of stay. And when I adjust for the severity of illness score the difference would be even more prominent.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;I'm assuming that the regression model is not taking the negative sign into account (The patients who are less sick have a negative score.. The score becomes more positive as they become sicker)&lt;/FONT&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 17 Nov 2019 14:48:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-do-I-adjust-for-covariates/m-p/234067#M46413</guid>
      <dc:creator>Sandeep123</dc:creator>
      <dc:date>2019-11-17T14:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: how do I adjust for covariates</title>
      <link>https://community.jmp.com/t5/Discussions/how-do-I-adjust-for-covariates/m-p/234083#M46418</link>
      <description>&lt;P&gt;You are not making sense. "&lt;SPAN&gt;On univariate comparison for the outcome variables (ICU length of stay,&amp;nbsp; hospital length of stay and ventilator days) between cases and controls there is very significant difference (P value&amp;lt; 0.0001) . There are indeed&amp;nbsp; differences in age groups, and severity of illness score&lt;/SPAN&gt;" is not a univariate comparison. Also, why would you expect there to be no differences?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Aside from the issue of the assumptions of the regression model, the differences (e.g., higher severity of illness score in control group) should be modeled without difficulty. In fact the larger the difference, the more significant the effect and the more important the parameter estimates.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have no idea what you mean by "adjust."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have no idea what you mean by "&lt;SPAN&gt;the regression model is not taking the negative sign into account."&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 17 Nov 2019 20:59:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-do-I-adjust-for-covariates/m-p/234083#M46418</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2019-11-17T20:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: how do I adjust for covariates</title>
      <link>https://community.jmp.com/t5/Discussions/how-do-I-adjust-for-covariates/m-p/234086#M46419</link>
      <description>&lt;DIV&gt;&lt;FONT&gt;I am sorry I am a clinician not a statistician. Unfortunately the place where I work does not have statistician so I have to try to figure it out&amp;nbsp; myself.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;I will try again&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;I have a retrospective data of case and control (required escalation of care or not). Outcomes of these two groups ,&amp;nbsp; length of stay in the hospital are significantly different when I use Fit Y by X by&amp;nbsp; non-parametric Wilcoxon test. ( cases have higher Length of stay)&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;&amp;nbsp;the two groups are not similar however and controls have severity&amp;nbsp; of illness which is much higher than the case .&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;Since the patient whose severity of illness or higher are expected to stay in the hospital also longer, it should be expected that when I include the severity of illness in the model, the difference in length of stay between the two groups would become more significant.&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;However when I use the fit model using ICU length of stay as Y and the severity of illness score and categorical variable of case/control in the model effects. I get the following parameter estimates&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;Intercept 3.99 , prob &amp;gt;t &amp;lt; 0.0001&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;PIM 3 -0.17, 0.0039&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;Case/control -0.22 0.514&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;&amp;nbsp;&lt;IMG width="375" height="119" border="0" /&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;I'm assuming from this that there is no significant difference between case/control regarding length of stay while including severity of illness in the model.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Sun, 17 Nov 2019 22:18:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-do-I-adjust-for-covariates/m-p/234086#M46419</guid>
      <dc:creator>Sandeep123</dc:creator>
      <dc:date>2019-11-17T22:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: how do I adjust for covariates</title>
      <link>https://community.jmp.com/t5/Discussions/how-do-I-adjust-for-covariates/m-p/234148#M46435</link>
      <description>&lt;P&gt;I am inclined to agree with your conclusion but that is only if the analysis indicates that your data meet the model and regression assumptions. This seems to be an important study. Care should be taken in the design of the study and the analysis of the data that was collected in the study. This analysis is not a simple t-test, and a t-test is not that simple.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it possible to share more information about the study. For example, repeat the set up for Fit Model but be sure that the Emphasis = Effect Leverage. May you include a picture of Actual by Predicted and the set of Leverage Plots? Also, the Residual by Predicted Plot or Standardized Residual plot? Those plots would go a long way towards assessing if your analysis is OK and then you can move on to conclusions with confidence.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2019 14:40:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-do-I-adjust-for-covariates/m-p/234148#M46435</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2019-11-18T14:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: how do I adjust for covariates</title>
      <link>https://community.jmp.com/t5/Discussions/how-do-I-adjust-for-covariates/m-p/235856#M46520</link>
      <description>&lt;DIV&gt;&lt;FONT&gt;One of my colleague suggested to use generalised linear model in the personality and select poisson distribution with log link to compare the patients length of stay data. Length of stay is in days ..so it is sort of a count data it's the number of days&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;This model results in very significant difference, which is making me very suspect about its validity. Pretty much every variable has a P value of less than 0.0001. When I used the default standard least square model, the significant difference between case and control very quickly goes away as I add more variables in the model but with generalised linear model, it remains very significant.&lt;/FONT&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 21 Nov 2019 03:33:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-do-I-adjust-for-covariates/m-p/235856#M46520</guid>
      <dc:creator>Sandeep123</dc:creator>
      <dc:date>2019-11-21T03:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: how do I adjust for covariates</title>
      <link>https://community.jmp.com/t5/Discussions/how-do-I-adjust-for-covariates/m-p/235972#M46547</link>
      <description>&lt;P&gt;I agree that a Poisson log-linear regression model is reasonable for counts of days. A better model will show more significance. Can you share the regression results from JMP? Some of the information is the estimates. The rest is about the quality of the model. All of the information is helpful to assess the validity of your model.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 14:58:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-do-I-adjust-for-covariates/m-p/235972#M46547</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2019-11-21T14:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: how do I adjust for covariates</title>
      <link>https://community.jmp.com/t5/Discussions/how-do-I-adjust-for-covariates/m-p/235977#M46549</link>
      <description>&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I sent the clip of the analysis to you&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 15:55:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-do-I-adjust-for-covariates/m-p/235977#M46549</guid>
      <dc:creator>Sandeep123</dc:creator>
      <dc:date>2019-11-21T15:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: how do I adjust for covariates</title>
      <link>https://community.jmp.com/t5/Discussions/how-do-I-adjust-for-covariates/m-p/235980#M46551</link>
      <description>&lt;P&gt;First of all, let me explain that we prefer that all exchanges happen in the discussion area, not in private messages. Why? Because other members of the community who might have similar questions or problems are deprived of part or all of the solution. I understand that sometimes the nature of the problem&amp;nbsp;or the data involves privacy issues and cannot be posted publicly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Per your message, the regression results are encouraging! Is it possible to show me the residual plot? This plot would help answer the question about one or more influential observations&amp;nbsp;that are skewing the estimates and the tests. The plot also helps assess goodness of fit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Deviance test is highly significant, too. This test is for lack of fit. Your model is biased and will not provide accurate predictions. It usually indicates that you are either missing important variables or, more likely, are missing terms to address non-linear effects. You might consider adding cross terms (e.g., sex*age) or powers (e.g., age*age).&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 16:03:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-do-I-adjust-for-covariates/m-p/235980#M46551</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2019-11-21T16:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: how do I adjust for covariates</title>
      <link>https://community.jmp.com/t5/Discussions/how-do-I-adjust-for-covariates/m-p/235983#M46553</link>
      <description>&lt;P&gt;tha&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="residual plot.PNG" style="width: 989px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/20427i879F7FC3902499C9/image-size/large?v=v2&amp;amp;px=999" role="button" title="residual plot.PNG" alt="residual plot.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 16:34:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-do-I-adjust-for-covariates/m-p/235983#M46553</guid>
      <dc:creator>Sandeep123</dc:creator>
      <dc:date>2019-11-21T16:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: how do I adjust for covariates</title>
      <link>https://community.jmp.com/t5/Discussions/how-do-I-adjust-for-covariates/m-p/235986#M46555</link>
      <description>Thank you. I agree that it is best to have discussions in the public forum for other researchers who may benefit. Still felt uncomfortable sharing real data on the Internet.&lt;BR /&gt;&lt;BR /&gt;It is interesting and sort of eye-opening for me to realise how much difference in results can there be by just using a different model to compare. Even with generalised linear model, it makes a difference if I choose normal distribution versus Poission distribution. This leads to element of model dependency and researcher discretion.&lt;BR /&gt;&lt;BR /&gt;Even though the difference is significant, the parameters estimate are very low. So cases have a LOS 0.05 days more than the controls..that is not clinically a relevant difference&lt;BR /&gt;&lt;BR /&gt;What bothered me the most is that with this model even sex had a significant impact on length of stay with a P value of&amp;lt; 0.001 and a parameter estimate of 0.05. Just on bivariate comparison of sex with length of stay,&lt;BR /&gt;There is no difference (and there is no clinical reason why there should be a difference)&lt;BR /&gt;&lt;BR /&gt;I would need to include a statement on justification of this model compared to a standard least square regression. And for poisson distribution.&lt;BR /&gt;&lt;BR /&gt;Regarding the lack of fit, I would think that is expected because there would be a lot more variables that may confound the two groups which we have not measured or cannot be measured.&lt;BR /&gt;&lt;BR /&gt;Another concern is that the variables in the model are not entirely independent. Severity of illness scores already include diagnostic categories in them.</description>
      <pubDate>Thu, 21 Nov 2019 17:45:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-do-I-adjust-for-covariates/m-p/235986#M46555</guid>
      <dc:creator>Sandeep123</dc:creator>
      <dc:date>2019-11-21T17:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: how do I adjust for covariates</title>
      <link>https://community.jmp.com/t5/Discussions/how-do-I-adjust-for-covariates/m-p/235987#M46556</link>
      <description>&lt;P&gt;A proper model makes all the difference! The choice is at the discretion of the researcher but it should be guided by prior knowledge, theoretical foundations, objective comparison with alternative models, and evaluation of the model assumptions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The parameter estimates are used in a linear combination to determine the distribution parameters. They can be difficult to interpret on their own. You might click the red triangle at the top and select Profilers &amp;gt; Profiler. You can change factor levels and see the change in the predicted response.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have another idea about the lack of fit. I do not see the test for over-dispersion, which is a common occurance. The Poisson distribution has a single parameter. It is the mean and the variance of the distribution. Real distributions of counts often exhibit a variance that is greater than the mean. You should find check boxes when you select Generalized Linear Models for the over-dispersion tests and intervals and for the Firth bias-adjusted estimates. I recommend selecting both of these options.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise, you might consider adding terms for potential interaction and non-linear effects.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 18:31:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-do-I-adjust-for-covariates/m-p/235987#M46556</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2019-11-21T18:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: how do I adjust for covariates</title>
      <link>https://community.jmp.com/t5/Discussions/how-do-I-adjust-for-covariates/m-p/235988#M46557</link>
      <description>&lt;DIV&gt;&lt;FONT&gt;I think that explains it. I am satisfied with the results&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;One last question hopefully&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;How does this strategy compared to doing a propensity matching of cases and controls.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;I was reading on other discussion posts that propensity matching is not possible in JMP and I have to do it on SPSS or R... Is that correct?&lt;/FONT&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 21 Nov 2019 19:31:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-do-I-adjust-for-covariates/m-p/235988#M46557</guid>
      <dc:creator>Sandeep123</dc:creator>
      <dc:date>2019-11-21T19:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: how do I adjust for covariates</title>
      <link>https://community.jmp.com/t5/Discussions/how-do-I-adjust-for-covariates/m-p/235991#M46560</link>
      <description>&lt;P&gt;I don't know about propensity matching in JMP or other software. Perhaps another community member can help.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 20:56:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-do-I-adjust-for-covariates/m-p/235991#M46560</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2019-11-21T20:56:04Z</dc:date>
    </item>
  </channel>
</rss>

