topic Generalized Regression with calculated factors in Discussions
https://community.jmp.com/t5/Discussions/Generalized-Regression-with-calculated-factors/m-p/321719#M57171
<P>I want to use the General Regression platform to compare different models.I have several factors, some of which a categorical and others a continuous numeric. I have normalized all factors to the interval [-1;1] and they are all calculated from other columns in the data table.</P><P>When I look at the models in the General Regression Platform, I get as expected models based on the calculated factors that I had selected in the model specification window of the Fit Model Platform:</P><DIV class="mceNonEditable lia-copypaste-placeholder"> </DIV><DIV class="mceNonEditable lia-copypaste-placeholder"> </DIV><DIV class="mceNonEditable lia-copypaste-placeholder"> </DIV><P> </P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 583px;"><img src="https://community.jmp.com/t5/image/serverpage/image-id/27396i4E5BE3D45C9442DB/image-size/large?v=1.0&px=999" role="button" title="image.png" alt="image.png" /></span></P><P>Question: The Model Comparison table at the top of the Generalized Regression Platform indicates for this model "4 nonzero parameters" but I would only expect 3. How are the "nonzero parameters counted"?</P><P> </P><P>When I put these models in the Formula Depot (Save Columns -> Publish Prediction Formula) the factors that are listed in the window are the columns that were used to calculate the parameters I use as input for the model fitting (like E^n), not the inputs themselves. (These are listed as "Others".)<span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"><img src="https://community.jmp.com/t5/image/serverpage/image-id/27397i8E6CA06DBE992288/image-size/large?v=1.0&px=999" role="button" title="image.png" alt="image.png" /></span></P><P>Question: Is that the intended behaviour and is there a means to switch that off?</P><P> </P><P>If I continue and use start the Model Comparison from the Formula Depot, I obtain the following window. On the top there is a question: "Which column is mean strain (%)_1 predicting?". In the original data table, there is a column mean strain(%) which is used to calculate one of the factors I want to put in the model. (There is no column mean strain (%)_1).</P><P>Question: What do I need to do in this window?</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"><img src="https://community.jmp.com/t5/image/serverpage/image-id/27398iF2E7C4BA2CD63F3D/image-size/large?v=1.0&px=999" role="button" title="image.png" alt="image.png" /></span></P><DIV class="mceNonEditable lia-copypaste-placeholder"> </DIV><P>For the time being I've selected the column εₘⁿ because that's the factor in the model that is calculated from the column mean strain(%).</P><P> </P><P>Choosing the profile in the Model Comparison part of the Formula Depot I get this plot. "Mean strain" appears as output instead of input; what I want to predict is N25. So something seems to be completely wrong.</P><P>Question: What am I doing wrong?</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 547px;"><img src="https://community.jmp.com/t5/image/serverpage/image-id/27399iBBDACA08F001B053/image-size/large?v=1.0&px=999" role="button" title="image.png" alt="image.png" /></span></P><P>The problem seem to disappear when I copy the calculated factors into a new table and start the model selection from there. So that's a workaround, but I loose the connection to the original table, so that's not an ideal solution.</P>Wed, 14 Oct 2020 17:21:23 GMTmatthias_bruchh2020-10-14T17:21:23ZGeneralized Regression with calculated factors
https://community.jmp.com/t5/Discussions/Generalized-Regression-with-calculated-factors/m-p/321719#M57171
<P>I want to use the General Regression platform to compare different models.I have several factors, some of which a categorical and others a continuous numeric. I have normalized all factors to the interval [-1;1] and they are all calculated from other columns in the data table.</P><P>When I look at the models in the General Regression Platform, I get as expected models based on the calculated factors that I had selected in the model specification window of the Fit Model Platform:</P><DIV class="mceNonEditable lia-copypaste-placeholder"> </DIV><DIV class="mceNonEditable lia-copypaste-placeholder"> </DIV><DIV class="mceNonEditable lia-copypaste-placeholder"> </DIV><P> </P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 583px;"><img src="https://community.jmp.com/t5/image/serverpage/image-id/27396i4E5BE3D45C9442DB/image-size/large?v=1.0&px=999" role="button" title="image.png" alt="image.png" /></span></P><P>Question: The Model Comparison table at the top of the Generalized Regression Platform indicates for this model "4 nonzero parameters" but I would only expect 3. How are the "nonzero parameters counted"?</P><P> </P><P>When I put these models in the Formula Depot (Save Columns -> Publish Prediction Formula) the factors that are listed in the window are the columns that were used to calculate the parameters I use as input for the model fitting (like E^n), not the inputs themselves. (These are listed as "Others".)<span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"><img src="https://community.jmp.com/t5/image/serverpage/image-id/27397i8E6CA06DBE992288/image-size/large?v=1.0&px=999" role="button" title="image.png" alt="image.png" /></span></P><P>Question: Is that the intended behaviour and is there a means to switch that off?</P><P> </P><P>If I continue and use start the Model Comparison from the Formula Depot, I obtain the following window. On the top there is a question: "Which column is mean strain (%)_1 predicting?". In the original data table, there is a column mean strain(%) which is used to calculate one of the factors I want to put in the model. (There is no column mean strain (%)_1).</P><P>Question: What do I need to do in this window?</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"><img src="https://community.jmp.com/t5/image/serverpage/image-id/27398iF2E7C4BA2CD63F3D/image-size/large?v=1.0&px=999" role="button" title="image.png" alt="image.png" /></span></P><DIV class="mceNonEditable lia-copypaste-placeholder"> </DIV><P>For the time being I've selected the column εₘⁿ because that's the factor in the model that is calculated from the column mean strain(%).</P><P> </P><P>Choosing the profile in the Model Comparison part of the Formula Depot I get this plot. "Mean strain" appears as output instead of input; what I want to predict is N25. So something seems to be completely wrong.</P><P>Question: What am I doing wrong?</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 547px;"><img src="https://community.jmp.com/t5/image/serverpage/image-id/27399iBBDACA08F001B053/image-size/large?v=1.0&px=999" role="button" title="image.png" alt="image.png" /></span></P><P>The problem seem to disappear when I copy the calculated factors into a new table and start the model selection from there. So that's a workaround, but I loose the connection to the original table, so that's not an ideal solution.</P>Wed, 14 Oct 2020 17:21:23 GMThttps://community.jmp.com/t5/Discussions/Generalized-Regression-with-calculated-factors/m-p/321719#M57171matthias_bruchh2020-10-14T17:21:23ZRe: Generalized Regression with calculated factors
https://community.jmp.com/t5/Discussions/Generalized-Regression-with-calculated-factors/m-p/324471#M57384
<P>For the 1st question, Scale is the 4th parameter, i.e. the very last line in your screenshot.</P>
<P>For the rest of questions, both seem to be related to using intermediate formula columns as your predictors with Formula Depot, you may want to contact JMP Technical Support to sort it out.</P>Wed, 21 Oct 2020 11:01:08 GMThttps://community.jmp.com/t5/Discussions/Generalized-Regression-with-calculated-factors/m-p/324471#M57384peng_liu2020-10-21T11:01:08ZRe: Generalized Regression with calculated factors
https://community.jmp.com/t5/Discussions/Generalized-Regression-with-calculated-factors/m-p/327276#M57654
Thanks for your answer about the number of parameters. That's clear now.<BR />Wed, 28 Oct 2020 07:28:44 GMThttps://community.jmp.com/t5/Discussions/Generalized-Regression-with-calculated-factors/m-p/327276#M57654matthias_bruchh2020-10-28T07:28:44Z