<?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: Calculation of type I sum of squares for a ZIP model in SAS in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Calculation-of-type-I-sum-of-squares-for-a-ZIP-model-in-SAS/m-p/852649#M42192</link>
    <description>It is the last variable added to the model, so this single type 1 value is its effect to the overall model - adjusted for all other variables in the model.</description>
    <pubDate>Sat, 07 Jan 2023 13:14:31 GMT</pubDate>
    <dc:creator>StatDave</dc:creator>
    <dc:date>2023-01-07T13:14:31Z</dc:date>
    <item>
      <title>Calculation of type I sum of squares for a ZIP model in SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Calculation-of-type-I-sum-of-squares-for-a-ZIP-model-in-SAS/m-p/852646#M42191</link>
      <description>&lt;P&gt;I have obtained the type I sum of squares corresponding to the variables in a ZIP model under genmod procedure&amp;nbsp; and i am confused as to how SAS calculates the type I sum of squares for the 2 model statements.( MODEL AND ZEROMODEL STATEMENTS)&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 459px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/79146iF05E5BE5AAF76885/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;can someone explain why twice the log likelihood value is same for the variable g in both the models?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Jan 2023 12:03:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Calculation-of-type-I-sum-of-squares-for-a-ZIP-model-in-SAS/m-p/852646#M42191</guid>
      <dc:creator>Uvanpriya</dc:creator>
      <dc:date>2023-01-07T12:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of type I sum of squares for a ZIP model in SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Calculation-of-type-I-sum-of-squares-for-a-ZIP-model-in-SAS/m-p/852649#M42192</link>
      <description>It is the last variable added to the model, so this single type 1 value is its effect to the overall model - adjusted for all other variables in the model.</description>
      <pubDate>Sat, 07 Jan 2023 13:14:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Calculation-of-type-I-sum-of-squares-for-a-ZIP-model-in-SAS/m-p/852649#M42192</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2023-01-07T13:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of type I sum of squares for a ZIP model in SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Calculation-of-type-I-sum-of-squares-for-a-ZIP-model-in-SAS/m-p/852652#M42193</link>
      <description>&lt;P&gt;what do you mean by the overall model? Are you referring to both the model statement and the zeromodel statement?&lt;/P&gt;&lt;P&gt;so let's consider the variable 'a' defined under the MODEL statement. so then if we calculate the type I sum of squares corresponding to the variable 'a' under the MODEL statement does it make adjustments for all the variables x1,x2,x3,x4,x5,x6,x7 and z1,z2,z3,a or does it make adjustments only for the variables&amp;nbsp;x1,x2,x3,x4,x5,x6,x7?&lt;/P&gt;</description>
      <pubDate>Sat, 07 Jan 2023 14:28:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Calculation-of-type-I-sum-of-squares-for-a-ZIP-model-in-SAS/m-p/852652#M42193</guid>
      <dc:creator>Uvanpriya</dc:creator>
      <dc:date>2023-01-07T14:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of type I sum of squares for a ZIP model in SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Calculation-of-type-I-sum-of-squares-for-a-ZIP-model-in-SAS/m-p/852673#M42195</link>
      <description>&lt;P&gt;These are log-likelihood type 1 analyses, describing the log-likelihood improvement as each parameter is added to the model. The Chi-square p-values describe the improvements as significant or not. So, when parameter a is lastly introduced in the model fit, the improvement is evaluated after the other parameters are taken into account.&lt;/P&gt;
&lt;P&gt;The tables above would indicate that the inclusion of parameter a does not improve significantly the model fit.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Jan 2023 04:57:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Calculation-of-type-I-sum-of-squares-for-a-ZIP-model-in-SAS/m-p/852673#M42195</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2023-01-08T04:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of type I sum of squares for a ZIP model in SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Calculation-of-type-I-sum-of-squares-for-a-ZIP-model-in-SAS/m-p/852674#M42196</link>
      <description>&lt;P&gt;yes i do understand how to interpret the results. Here what i want to know is the procedure which is happening inside. For an example under the zeromodel statement i have defined the variables in the order z1,z2,z3,a. so then if i calculate the type I sum of squares when the variable 'a' is added to the zeromodel statement does it make adjustments only for the variables defined under the zeromodel statement(z1,z2,z3) or does it make adjustments for the variables defined under the model statement as well(x1,x2,x3,x4,x5,x6,x7,a)?&lt;/P&gt;</description>
      <pubDate>Sun, 08 Jan 2023 05:22:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Calculation-of-type-I-sum-of-squares-for-a-ZIP-model-in-SAS/m-p/852674#M42196</guid>
      <dc:creator>Uvanpriya</dc:creator>
      <dc:date>2023-01-08T05:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of type I sum of squares for a ZIP model in SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Calculation-of-type-I-sum-of-squares-for-a-ZIP-model-in-SAS/m-p/852688#M42197</link>
      <description>&lt;P&gt;I am not an expert in ZIP Models, but it seems like you can answer this question yourself by using an experiment. Merely change the order of the variables on the MODEL statement and see if the values in the Type1Zero table change.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I do the experiment I find the following:&lt;BR /&gt;1. If I change the order of the variables on the MODEL statement. the values in the Type1Zero table do not change.&lt;/P&gt;
&lt;P&gt;2. Similarly, if I change the order of the variables on the ZEROMODEL statement, the values in the Type1 table do not change.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can do a second experiment: Change the model or zero-model and see how it affects the tables.&lt;/P&gt;
&lt;P&gt;3. If I change the variables used on the MODEL statement. the values in the Type1Zero table change.&lt;/P&gt;
&lt;P&gt;2. Similarly, if I change the variables used on the ZEROMODEL statement, the values in the Type1 table change.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think this answers your question.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Jan 2023 12:06:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Calculation-of-type-I-sum-of-squares-for-a-ZIP-model-in-SAS/m-p/852688#M42197</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2023-01-08T12:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of type I sum of squares for a ZIP model in SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Calculation-of-type-I-sum-of-squares-for-a-ZIP-model-in-SAS/m-p/852689#M42198</link>
      <description>&lt;P&gt;Thanks for your answer. I actually have figured out this today by following a similar approach to your second experiment.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Jan 2023 12:22:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Calculation-of-type-I-sum-of-squares-for-a-ZIP-model-in-SAS/m-p/852689#M42198</guid>
      <dc:creator>Uvanpriya</dc:creator>
      <dc:date>2023-01-08T12:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation of type I sum of squares for a ZIP model in SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Calculation-of-type-I-sum-of-squares-for-a-ZIP-model-in-SAS/m-p/853150#M42214</link>
      <description>&lt;P&gt;The procedure is performing two series of tests, that as &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/462"&gt;@PGStats&lt;/a&gt; said are based on likelihood ratio statistics. The Type1 table shows the results for adding effects to the mean model, (using the full zero inflated model), and the Type1Zero table shows the results for adding effects to the zero inflated model (using the full mean model). The 2*LogLikelihood values are the same in the final row of each table, because in both cases it is based on the likelihood when all the effects in the mean model and all the effects in the zero inflated model are used.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To your original question, the 2*LogLikelihood values are the same in the tables for the effect “a” because it was the last effect you specified in both the MODEL and ZEROMODEL statements, so it corresponds to the last row of both tables.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 20:03:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Calculation-of-type-I-sum-of-squares-for-a-ZIP-model-in-SAS/m-p/853150#M42214</guid>
      <dc:creator>MichaelL_SAS</dc:creator>
      <dc:date>2023-01-10T20:03:13Z</dc:date>
    </item>
  </channel>
</rss>

