<?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 help:multiple regression in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/help-multiple-regression/m-p/377417#M62731</link>
    <description>&lt;P&gt;hi, does anyone know how to compare two multiple regression?&lt;/P&gt;&lt;P&gt;i have two years data, so each year I will make a multiple regression using the same independent and dependent variable just different 2 years. how I can compare these two&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 00:32:11 GMT</pubDate>
    <dc:creator>tang1111</dc:creator>
    <dc:date>2023-06-09T00:32:11Z</dc:date>
    <item>
      <title>help:multiple regression</title>
      <link>https://community.jmp.com/t5/Discussions/help-multiple-regression/m-p/377417#M62731</link>
      <description>&lt;P&gt;hi, does anyone know how to compare two multiple regression?&lt;/P&gt;&lt;P&gt;i have two years data, so each year I will make a multiple regression using the same independent and dependent variable just different 2 years. how I can compare these two&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 00:32:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/help-multiple-regression/m-p/377417#M62731</guid>
      <dc:creator>tang1111</dc:creator>
      <dc:date>2023-06-09T00:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: help:multiple regression</title>
      <link>https://community.jmp.com/t5/Discussions/help-multiple-regression/m-p/377452#M62732</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/26965"&gt;@tang1111&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; It kind of depends on what/how you want to compare the two. In the simplest case, let's consider that you have three columns: date, X, and Y. Apparently, Date spans two years, say 2019 and 2020. If you do a fit Y by X casting the corresponding columns into their roles, and then put the date (as a year only value) in the By role, then you'll get two regression fits for 2019 and 2020, respectively.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; After that, it's really how you are comparing the two fits that counts for the next questions. You might need to make a new column formula for the date (right click the date column &amp;gt; new column formula &amp;gt; date and time &amp;gt; year). This would be needed if you have your date column in a YYYY/MM/DD format, or something similar. If you try to use a date column with that kind of format in the By role, then you'll get a regression for each individual day, which wouldn't make much sense.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Without specifying any more details of your current issues at hand, it's hard to provide further suggestions. If you can provide a data table (e.g. anonymized and/or standardized), it might be easier to go into more detail as to what you're looking for.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps!,&lt;/P&gt;&lt;P&gt;DS&lt;/P&gt;</description>
      <pubDate>Fri, 16 Apr 2021 20:00:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/help-multiple-regression/m-p/377452#M62732</guid>
      <dc:creator>SDF1</dc:creator>
      <dc:date>2021-04-16T20:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: help:multiple regression</title>
      <link>https://community.jmp.com/t5/Discussions/help-multiple-regression/m-p/377477#M62734</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/26965"&gt;@tang1111&lt;/a&gt;&amp;nbsp;, First, welcome to the community. Just adding, what comparisons do you want to make? &amp;nbsp;RSquare, RSquare adjusted, RMSE, p-values, residuals, CV, etc. There are many statistics used to compare or build models.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Apr 2021 21:24:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/help-multiple-regression/m-p/377477#M62734</guid>
      <dc:creator>statman</dc:creator>
      <dc:date>2021-04-16T21:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: help:multiple regression</title>
      <link>https://community.jmp.com/t5/Discussions/help-multiple-regression/m-p/377490#M62735</link>
      <description>&lt;P&gt;As others already stated there are many ways and questions.&lt;/P&gt;&lt;P&gt;It also depends on what version you use (Pro or not).&lt;/P&gt;&lt;P&gt;But maybe here is a starting point:&lt;/P&gt;&lt;P&gt;I opened Big Class sample table,&lt;/P&gt;&lt;P&gt;made age to continuous,&lt;/P&gt;&lt;P&gt;and used Fit y by x to build a regression model,&lt;/P&gt;&lt;P&gt;age and height to x,&amp;nbsp;&lt;/P&gt;&lt;P&gt;weight to y,&lt;/P&gt;&lt;P&gt;and used sex (instead of year) for the by rule.&lt;/P&gt;&lt;P&gt;This gave me a report with two regression models, one for male and one for female.&lt;/P&gt;&lt;P&gt;Here already you can compare the numbers like Rsquare etc.&lt;/P&gt;&lt;P&gt;Additionally you can save the model as formula for each by group,&lt;/P&gt;&lt;P&gt;and finally you can plot predicted over actual by age (in your case year then).&lt;/P&gt;&lt;P&gt;And you can review the formula for both groups.&lt;/P&gt;&lt;P&gt;The Script will start the Big Class example.&lt;/P&gt;&lt;P&gt;In Jmp Pro there is a model compairing function.&lt;/P&gt;&lt;P&gt;Is this what you want?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Georg_0-1618609450316.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/32148i68996E391A763628/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Georg_0-1618609450316.png" alt="Georg_0-1618609450316.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Georg_1-1618609858847.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/32149iA607517C5EC6D184/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Georg_1-1618609858847.png" alt="Georg_1-1618609858847.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Names Default To Here( 1 );&lt;/P&gt;&lt;P&gt;dt = Open( "$SAMPLE_DATA/Big Class.jmp" );&lt;BR /&gt;column(dt, "Age") &amp;lt;&amp;lt; set modeling type( "Continuous" );&lt;/P&gt;&lt;P&gt;model = dt &amp;lt;&amp;lt; Fit Model(&lt;BR /&gt;Y( :weight ),&lt;BR /&gt;By( :sex ),&lt;BR /&gt;Effects( :age, :height ),&lt;BR /&gt;Personality( "Standard Least Squares" ),&lt;BR /&gt;Emphasis( "Minimal Report" ),&lt;BR /&gt;Run(&lt;BR /&gt;:weight &amp;lt;&amp;lt; {Summary of Fit( 1 ), Analysis of Variance( 1 ),&lt;BR /&gt;Parameter Estimates( 1 ), Scaled Estimates( 0 ),&lt;BR /&gt;Plot Actual by Predicted( 0 ), Plot Regression( 0 ),&lt;BR /&gt;Plot Residual by Predicted( 0 ), Plot Studentized Residuals( 0 ),&lt;BR /&gt;Plot Effect Leverage( 0 ), Plot Residual by Normal Quantiles( 0 ),&lt;BR /&gt;Box Cox Y Transformation( 0 )}&lt;BR /&gt;)&lt;BR /&gt;);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Apr 2021 22:33:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/help-multiple-regression/m-p/377490#M62735</guid>
      <dc:creator>Georg</dc:creator>
      <dc:date>2021-04-16T22:33:20Z</dc:date>
    </item>
  </channel>
</rss>

