<?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: Multi variable linear regression in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Multi-variable-linear-regression/m-p/460550#M70549</link>
    <description>&lt;P&gt;Thank you so much for your explanation.&lt;/P&gt;&lt;P&gt;I want to explain the situation more to avoid any confusion.&lt;/P&gt;&lt;P&gt;Country Variable I have 50 entries&lt;/P&gt;&lt;P&gt;Outcome (A) Continuous Variable I have ( 20 columns for each country)&amp;nbsp;&lt;/P&gt;&lt;P&gt;Predictor (B)&amp;nbsp;Continuous Variable&amp;nbsp;I have ( 20 columns for each country)&amp;nbsp;&lt;/P&gt;&lt;P&gt;Predictor (C) Continuous Variable&amp;nbsp;I have ( 20 columns for each country)&amp;nbsp;&lt;/P&gt;&lt;P&gt;Predictor (D)&amp;nbsp;Continuous Variable&amp;nbsp;I have ( 20 columns for each country)&amp;nbsp;&lt;/P&gt;&lt;P&gt;So in total, I have 1000 entries for the outcome/predictors&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The photo below explains how my data is collected. I did not include the 20 years for each.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please explain how I should adjust, given that each country has 20 values that follow particular growth? And to account for that, we have 1000 different values for each variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do we describe the adjusted model then?&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;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/39946iD2F2AE10CC6B12D8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 13 Feb 2022 04:34:14 GMT</pubDate>
    <dc:creator>yousefhan</dc:creator>
    <dc:date>2022-02-13T04:34:14Z</dc:date>
    <item>
      <title>Multi variable linear regression</title>
      <link>https://community.jmp.com/t5/Discussions/Multi-variable-linear-regression/m-p/460485#M70543</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on a multivariable linear regression model for Outcome A using data from 50 countries worldwide.&lt;/P&gt;&lt;P&gt;I have Data on outcome A in all the 50 countries and through 20 years in each country.&lt;/P&gt;&lt;P&gt;So total, I have about 1000 different values of A. For the suggested predictors, I have the same as well.&lt;/P&gt;&lt;P&gt;But given that each country has its characteristics, I do not feel comfortable treating each value separatly.&lt;/P&gt;&lt;P&gt;Is there a way to adjust the model to consider that each country has 20 values and adjust for that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 00:45:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Multi-variable-linear-regression/m-p/460485#M70543</guid>
      <dc:creator>yousefhan</dc:creator>
      <dc:date>2023-06-09T00:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: Multi variable linear regression</title>
      <link>https://community.jmp.com/t5/Discussions/Multi-variable-linear-regression/m-p/460545#M70546</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;At the risk of being too simplistic, have you considered building your model as follows (in the Fit Model platform):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Y: A&lt;/P&gt;
&lt;P&gt;Effects:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Country (Nominal)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Year (Continuous)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Country x Year (i.e., Interaction)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let us know if you are looking for something more sophisticated.&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;TS&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Feb 2022 01:58:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Multi-variable-linear-regression/m-p/460545#M70546</guid>
      <dc:creator>Thierry_S</dc:creator>
      <dc:date>2022-02-13T01:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: Multi variable linear regression</title>
      <link>https://community.jmp.com/t5/Discussions/Multi-variable-linear-regression/m-p/460550#M70549</link>
      <description>&lt;P&gt;Thank you so much for your explanation.&lt;/P&gt;&lt;P&gt;I want to explain the situation more to avoid any confusion.&lt;/P&gt;&lt;P&gt;Country Variable I have 50 entries&lt;/P&gt;&lt;P&gt;Outcome (A) Continuous Variable I have ( 20 columns for each country)&amp;nbsp;&lt;/P&gt;&lt;P&gt;Predictor (B)&amp;nbsp;Continuous Variable&amp;nbsp;I have ( 20 columns for each country)&amp;nbsp;&lt;/P&gt;&lt;P&gt;Predictor (C) Continuous Variable&amp;nbsp;I have ( 20 columns for each country)&amp;nbsp;&lt;/P&gt;&lt;P&gt;Predictor (D)&amp;nbsp;Continuous Variable&amp;nbsp;I have ( 20 columns for each country)&amp;nbsp;&lt;/P&gt;&lt;P&gt;So in total, I have 1000 entries for the outcome/predictors&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The photo below explains how my data is collected. I did not include the 20 years for each.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please explain how I should adjust, given that each country has 20 values that follow particular growth? And to account for that, we have 1000 different values for each variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do we describe the adjusted model then?&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;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/39946iD2F2AE10CC6B12D8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Feb 2022 04:34:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Multi-variable-linear-regression/m-p/460550#M70549</guid>
      <dc:creator>yousefhan</dc:creator>
      <dc:date>2022-02-13T04:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: Multi variable linear regression</title>
      <link>https://community.jmp.com/t5/Discussions/Multi-variable-linear-regression/m-p/460551#M70550</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;First, I recommend exploring the Fit Model platform by running the examples included in the JMP documentation and Example Data.&lt;/P&gt;
&lt;P&gt;Second, if I understand your question correctly, you will need to stack your columns into groups with one column for Outcome and one column for each Predictor, assuming that predictors B, C, and D are independent (Table &amp;gt; Stack &amp;gt; Multiple Series Stack).&lt;/P&gt;
&lt;P&gt;Your model would then be at a minimum:&lt;/P&gt;
&lt;P&gt;Y: Outcome A&lt;/P&gt;
&lt;P&gt;Effects:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Country&lt;/LI&gt;
&lt;LI&gt;Predictor B&lt;/LI&gt;
&lt;LI&gt;Predictor C&lt;/LI&gt;
&lt;LI&gt;Predictor D&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Depending on the question you are asking from your model, you may also need to consider interactions between Predictors and Country.&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;TS&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Feb 2022 06:37:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Multi-variable-linear-regression/m-p/460551#M70550</guid>
      <dc:creator>Thierry_S</dc:creator>
      <dc:date>2022-02-13T06:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: Multi variable linear regression</title>
      <link>https://community.jmp.com/t5/Discussions/Multi-variable-linear-regression/m-p/460553#M70552</link>
      <description>&lt;P&gt;Thanks a lot for this informative explanation.&lt;/P&gt;&lt;P&gt;Just last question? do I have to do any adjustments to the fit model to show that the 20 outcomes or predictors for the 20 years within each country are correlated? when analysing all countries together&lt;/P&gt;&lt;P&gt;in other words... If I am doing one country only then one column for each will be so simple model,&lt;/P&gt;&lt;P&gt;but as I am putting all countries together through years, I feel more sophisticated measures are needed, can you advise, please?&lt;/P&gt;</description>
      <pubDate>Sun, 13 Feb 2022 07:08:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Multi-variable-linear-regression/m-p/460553#M70552</guid>
      <dc:creator>yousefhan</dc:creator>
      <dc:date>2022-02-13T07:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Multi variable linear regression</title>
      <link>https://community.jmp.com/t5/Discussions/Multi-variable-linear-regression/m-p/460556#M70555</link>
      <description>&lt;P&gt;Found a similar exact case somewhere else.....&lt;/P&gt;&lt;P&gt;Please advise&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm measuring the garbage output of various cities in my country. I have 5 independent variables as predictors measured at 4 time points.&lt;/P&gt;&lt;P&gt;I'm not interested in the effects of time. I just want to know the regression coefficients for each of my variables. To find that out, I could do 4 separate multiple regressions, one for each time point. But that wouldn't summarize the data well, since I would have 4 sets of results. So my question is, is there a way to enter the data for all four time points and get one set of regression coefficients?&lt;/P&gt;</description>
      <pubDate>Sun, 13 Feb 2022 13:05:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Multi-variable-linear-regression/m-p/460556#M70555</guid>
      <dc:creator>yousefhan</dc:creator>
      <dc:date>2022-02-13T13:05:33Z</dc:date>
    </item>
  </channel>
</rss>

