<?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: Generalized Linear Models without intercept in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Generalized-Linear-Models-without-intercept/m-p/212497#M42549</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14985"&gt;@mhans&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;It is possible in standard JMP, but it requires a slight restructuring of your table. What you need is a nominal outcome variable of Win or Loss, and what you have is a summarized table of the frequencies of those occurrences. I've attached such an expanded table here, with the nominal logistic script saved (discussed below more). Note the form of these tables, in the image below is the original table with the first row selected, in the bottom is the expanded table, with the 13 rows selected that correspond to that one summarized row. Note there are 13, which are the 13 contests between Mil and Det, and there are 7 wins, and 6 losses, which reflect the win = 7 in the top table. &lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="expanded.png" style="width: 818px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/17680i93308270F455D3A3/image-size/large?v=v2&amp;amp;px=999" role="button" title="expanded.png" alt="expanded.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The model is straightforward to set up: Analyze &amp;gt; Fit Model, with Outcome as Y, all the teams as model effects, and No Intercept checked. &lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="model.png" style="width: 991px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/17681i95D88E9D94918544/image-size/large?v=v2&amp;amp;px=999" role="button" title="model.png" alt="model.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This returns the following output, which you will see matches:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="output.png" style="width: 542px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/17682i66E8A814E54CB864/image-size/large?v=v2&amp;amp;px=999" role="button" title="output.png" alt="output.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Fit Model(
	Y( :Outcome ),
	Effects( :mil, :det, :tor, :new, :bos, :cle, :bal ),
	No Intercept( 1 ),
	Choose High Target( 1 ),
	Personality( "Nominal Logistic" ),
	Run( Likelihood Ratio Tests( 1 ), Wald Tests( 0 ) ))&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The value-add of Generalized Regression here is that you can directly specify the win/total structure when defining your y variable, which handles the expansion in the background.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2026"&gt;@jules&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Jun 2019 15:09:57 GMT</pubDate>
    <dc:creator>jules</dc:creator>
    <dc:date>2019-06-10T15:09:57Z</dc:date>
    <item>
      <title>Generalized Linear Models without intercept</title>
      <link>https://community.jmp.com/t5/Discussions/Generalized-Linear-Models-without-intercept/m-p/212444#M42535</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need your help. I want to make an anaylsis with GLM, but without intercept. I can't choose the option "No intercept".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to get the same results like there:&amp;nbsp;&lt;A href="http://support.sas.com/kb/24/992.html" target="_blank" rel="noopener noopener noreferrer"&gt;http://support.sas.com/kb/24/992.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have no idea, how the get the option "No Intercept" in GLM, distribution=Binomial, Link=Logit&lt;/P&gt;&lt;DIV class="tlid-input input"&gt;&lt;DIV class="source-wrap"&gt;&lt;DIV class="input-full-height-wrapper tlid-input-full-height-wrapper"&gt;&lt;DIV class="source-input"&gt;&lt;DIV class="source-footer-wrap source-or-target-footer"&gt;&lt;DIV class="character-count tlid-character-count"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="tlid-results-container results-container"&gt;&lt;DIV class="tlid-result result-dict-wrapper"&gt;&lt;DIV class="result tlid-copy-target"&gt;&lt;DIV class="text-wrap tlid-copy-target"&gt;&lt;DIV class="result-shield-container tlid-copy-target"&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class=""&gt;I will be very thankful for your help&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 09 Jun 2019 23:49:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Generalized-Linear-Models-without-intercept/m-p/212444#M42535</guid>
      <dc:creator>mhans</dc:creator>
      <dc:date>2019-06-09T23:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: Generalized Linear Models without intercept</title>
      <link>https://community.jmp.com/t5/Discussions/Generalized-Linear-Models-without-intercept/m-p/212475#M42538</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14985"&gt;@mhans&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Unlike the &lt;EM&gt;Generalized Linear Model&lt;/EM&gt; personality, the &lt;EM&gt;Nominal Logistic&lt;/EM&gt; personality in Fit Model can be run without an intercept by checking the box "No Intercept" in the Fit Model dialog window. This personality will return equivalent results to the Generalized Linear Model personality with a binomial error distribution and logit link function, assuming you haven't checked the Firth Bias-Adjusted estimates (with this box checked the model estimates will differ). Perhaps this will work for your situation?&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2026"&gt;@jules&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 11:37:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Generalized-Linear-Models-without-intercept/m-p/212475#M42538</guid>
      <dc:creator>jules</dc:creator>
      <dc:date>2019-06-10T11:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: Generalized Linear Models without intercept</title>
      <link>https://community.jmp.com/t5/Discussions/Generalized-Linear-Models-without-intercept/m-p/212485#M42545</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2026"&gt;@jules&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;thanks for your reply. I tired to use the nominal logistic personality. The response variable y should be nominal, my variable y was metric (between 0 and 1, a percentage of wins). I made a new structur for my data with the variable y: 1 or -1 and I copied the data in the form&lt;/P&gt;&lt;PRE&gt;                              &lt;BR /&gt;1   -1  0   0   0   0   0   7 &lt;STRONG&gt; 1&lt;/STRONG&gt;
1   0   -1  0   0   0   0   9  &lt;STRONG&gt;1&lt;/STRONG&gt;
(...)
0   0   0   0   0   1   -1  6 &lt;STRONG&gt; 1&lt;/STRONG&gt;&lt;BR /&gt;(new part of data)&lt;BR /&gt;-1  1   0   0   0   0    0  6  &lt;STRONG&gt;-1&lt;/STRONG&gt;&lt;BR /&gt;-1  0   1   0   0   0    0  4  &lt;STRONG&gt;-1&lt;/STRONG&gt; &lt;BR /&gt;(...) &lt;BR /&gt;0   0   0    0   0   -1   1  7  &lt;STRONG&gt;-1&lt;BR /&gt;&lt;/STRONG&gt;&lt;/PRE&gt;&lt;P&gt;The results are not the same like in SAS.&amp;nbsp; I have no idea, how to repear it...&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 13:43:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Generalized-Linear-Models-without-intercept/m-p/212485#M42545</guid>
      <dc:creator>mhans</dc:creator>
      <dc:date>2019-06-10T13:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Generalized Linear Models without intercept</title>
      <link>https://community.jmp.com/t5/Discussions/Generalized-Linear-Models-without-intercept/m-p/212492#M42547</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14985"&gt;@mhans&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I better understand what you're trying to do now. To match those results (Bradley-Terry model) you will need to use the Generalized Regression platform, which is available in JMP Pro only. I've attached a JMP version of the data table used in that SAS example and saved the script to the table. Here are the steps to reproduce this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Launch Analyze &amp;gt; Fit Model.&lt;/P&gt;
&lt;P&gt;2. Specify Generalized Regression as the Personality, and Distribution as Binomial.&lt;/P&gt;
&lt;P&gt;3. Enter both Win and Total as Y, Columns, and enter all predictors as model effects.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4. Check "No Intercept" at the bottom.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your Fit Model dialog should now look like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Fitmodel.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/17677i26FF7CA42379B72A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Fitmodel.png" alt="Fitmodel.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;5. Click Run, then in the resulting dialog, specify Logistic Regression as the estimation method, and click go:&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="genreg.png" style="width: 386px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/17678i8744D4E621D2091A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="genreg.png" alt="genreg.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This will return the following output, which you can confirm matches the SAS results.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="results.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/17679iA37B7DCDA42D575B/image-size/large?v=v2&amp;amp;px=999" role="button" title="results.png" alt="results.png" /&gt;&lt;/span&gt;Here is the JSL for this analysis, which is also saved to the attached table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Fit Model(
	Y( :win, :total ),
	Effects( :mil, :det, :tor, :new, :bos, :cle, :bal ),
	No Intercept( 1 ),
	Personality( "Generalized Regression" ),
	Generalized Distribution( "Binomial" ),
	Run(
		Fit( Estimation Method( Logistic Regression ), Validation Method( None ) )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2026"&gt;@jules&lt;/a&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 14:39:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Generalized-Linear-Models-without-intercept/m-p/212492#M42547</guid>
      <dc:creator>jules</dc:creator>
      <dc:date>2019-06-10T14:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Generalized Linear Models without intercept</title>
      <link>https://community.jmp.com/t5/Discussions/Generalized-Linear-Models-without-intercept/m-p/212493#M42548</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2026"&gt;@jules&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;wow, thnank you! I am seeing, it is possible in JMP. I have only the "normal" version of JMP. Is it possible to do this model with the normal version (as logistic regression without intercept or GLM)?&lt;/P&gt;&lt;P&gt;If no, can you send me the output in the pdf.-form?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hats off for this solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 14:47:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Generalized-Linear-Models-without-intercept/m-p/212493#M42548</guid>
      <dc:creator>mhans</dc:creator>
      <dc:date>2019-06-10T14:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: Generalized Linear Models without intercept</title>
      <link>https://community.jmp.com/t5/Discussions/Generalized-Linear-Models-without-intercept/m-p/212497#M42549</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14985"&gt;@mhans&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;It is possible in standard JMP, but it requires a slight restructuring of your table. What you need is a nominal outcome variable of Win or Loss, and what you have is a summarized table of the frequencies of those occurrences. I've attached such an expanded table here, with the nominal logistic script saved (discussed below more). Note the form of these tables, in the image below is the original table with the first row selected, in the bottom is the expanded table, with the 13 rows selected that correspond to that one summarized row. Note there are 13, which are the 13 contests between Mil and Det, and there are 7 wins, and 6 losses, which reflect the win = 7 in the top table. &lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="expanded.png" style="width: 818px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/17680i93308270F455D3A3/image-size/large?v=v2&amp;amp;px=999" role="button" title="expanded.png" alt="expanded.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The model is straightforward to set up: Analyze &amp;gt; Fit Model, with Outcome as Y, all the teams as model effects, and No Intercept checked. &lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="model.png" style="width: 991px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/17681i95D88E9D94918544/image-size/large?v=v2&amp;amp;px=999" role="button" title="model.png" alt="model.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This returns the following output, which you will see matches:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="output.png" style="width: 542px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/17682i66E8A814E54CB864/image-size/large?v=v2&amp;amp;px=999" role="button" title="output.png" alt="output.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Fit Model(
	Y( :Outcome ),
	Effects( :mil, :det, :tor, :new, :bos, :cle, :bal ),
	No Intercept( 1 ),
	Choose High Target( 1 ),
	Personality( "Nominal Logistic" ),
	Run( Likelihood Ratio Tests( 1 ), Wald Tests( 0 ) ))&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The value-add of Generalized Regression here is that you can directly specify the win/total structure when defining your y variable, which handles the expansion in the background.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2026"&gt;@jules&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 15:09:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Generalized-Linear-Models-without-intercept/m-p/212497#M42549</guid>
      <dc:creator>jules</dc:creator>
      <dc:date>2019-06-10T15:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: Generalized Linear Models without intercept</title>
      <link>https://community.jmp.com/t5/Discussions/Generalized-Linear-Models-without-intercept/m-p/212498#M42550</link>
      <description>Thank you very much! I am indebted to you :)&lt;/img&gt;</description>
      <pubDate>Mon, 10 Jun 2019 15:15:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Generalized-Linear-Models-without-intercept/m-p/212498#M42550</guid>
      <dc:creator>mhans</dc:creator>
      <dc:date>2019-06-10T15:15:12Z</dc:date>
    </item>
  </channel>
</rss>

