<?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 How to specify parameters needed for lackfit? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-specify-parameters-needed-for-lackfit/m-p/417991#M21968</link>
    <description>&lt;P&gt;There are two input variable for lackfit option in model option in proc logistic: dfreduce and ngruoups&lt;/P&gt;&lt;P&gt;But when I tried to specify them, error occured.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;title 'Example 1. Stepwise Regression';&lt;BR /&gt;data Remission;&lt;BR /&gt;input remiss cell smear infil li blast temp;&lt;BR /&gt;label remiss='Complete Remission';&lt;BR /&gt;datalines;&lt;BR /&gt;1 .8 .83 .66 1.9 1.1 .996&lt;BR /&gt;1 .9 .36 .32 1.4 .74 .992&lt;BR /&gt;0 .8 .88 .7 .8 .176 .982&lt;BR /&gt;0 1 .87 .87 .7 1.053 .986&lt;BR /&gt;1 .9 .75 .68 1.3 .519 .98&lt;BR /&gt;0 1 .65 .65 .6 .519 .982&lt;BR /&gt;1 .95 .97 .92 1 1.23 .992&lt;BR /&gt;0 .95 .87 .83 1.9 1.354 1.02&lt;BR /&gt;0 1 .45 .45 .8 .322 .999&lt;BR /&gt;0 .95 .36 .34 .5 0 1.038&lt;BR /&gt;0 .85 .39 .33 .7 .279 .988&lt;BR /&gt;0 .7 .76 .53 1.2 .146 .982&lt;BR /&gt;0 .8 .46 .37 .4 .38 1.006&lt;BR /&gt;0 .2 .39 .08 .8 .114 .99&lt;BR /&gt;0 1 .9 .9 1.1 1.037 .99&lt;BR /&gt;1 1 .84 .84 1.9 2.064 1.02&lt;BR /&gt;0 .65 .42 .27 .5 .114 1.014&lt;BR /&gt;0 1 .75 .75 1 1.322 1.004&lt;BR /&gt;0 .5 .44 .22 .6 .114 .99&lt;BR /&gt;1 1 .63 .63 1.1 1.072 .986&lt;BR /&gt;0 1 .33 .33 .4 .176 1.01&lt;BR /&gt;0 .9 .93 .84 .6 1.591 1.02&lt;BR /&gt;1 1 .58 .58 1 .531 1.002&lt;BR /&gt;0 .95 .32 .3 1.6 .886 .988&lt;BR /&gt;1 1 .6 .6 1.7 .964 .99&lt;BR /&gt;1 1 .69 .69 .9 .398 .986&lt;BR /&gt;0 1 .73 .73 .7 .398 .986&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;title 'Stepwise Regression on Cancer Remission Data';&lt;BR /&gt;proc logistic data=Remission outest=betas covout;&lt;BR /&gt;model remiss(event='1')=cell smear infil li blast temp&lt;BR /&gt;/ selection=stepwise&lt;BR /&gt;slentry=0.3&lt;BR /&gt;slstay=0.35&lt;BR /&gt;details&lt;BR /&gt;lackfit;&lt;BR /&gt;* lackfit (dfreduce=2, ngroups=5);*error;&lt;BR /&gt;* I don't know why it does not&lt;BR /&gt;* work;&lt;BR /&gt;output out=pred p=phat lower=lcl upper=ucl&lt;BR /&gt;predprob=(individual crossvalidate);&lt;BR /&gt;run;&lt;/P&gt;</description>
    <pubDate>Sun, 03 Dec 2017 07:25:01 GMT</pubDate>
    <dc:creator>PhilipBak8</dc:creator>
    <dc:date>2017-12-03T07:25:01Z</dc:date>
    <item>
      <title>How to specify parameters needed for lackfit?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-specify-parameters-needed-for-lackfit/m-p/417991#M21968</link>
      <description>&lt;P&gt;There are two input variable for lackfit option in model option in proc logistic: dfreduce and ngruoups&lt;/P&gt;&lt;P&gt;But when I tried to specify them, error occured.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;title 'Example 1. Stepwise Regression';&lt;BR /&gt;data Remission;&lt;BR /&gt;input remiss cell smear infil li blast temp;&lt;BR /&gt;label remiss='Complete Remission';&lt;BR /&gt;datalines;&lt;BR /&gt;1 .8 .83 .66 1.9 1.1 .996&lt;BR /&gt;1 .9 .36 .32 1.4 .74 .992&lt;BR /&gt;0 .8 .88 .7 .8 .176 .982&lt;BR /&gt;0 1 .87 .87 .7 1.053 .986&lt;BR /&gt;1 .9 .75 .68 1.3 .519 .98&lt;BR /&gt;0 1 .65 .65 .6 .519 .982&lt;BR /&gt;1 .95 .97 .92 1 1.23 .992&lt;BR /&gt;0 .95 .87 .83 1.9 1.354 1.02&lt;BR /&gt;0 1 .45 .45 .8 .322 .999&lt;BR /&gt;0 .95 .36 .34 .5 0 1.038&lt;BR /&gt;0 .85 .39 .33 .7 .279 .988&lt;BR /&gt;0 .7 .76 .53 1.2 .146 .982&lt;BR /&gt;0 .8 .46 .37 .4 .38 1.006&lt;BR /&gt;0 .2 .39 .08 .8 .114 .99&lt;BR /&gt;0 1 .9 .9 1.1 1.037 .99&lt;BR /&gt;1 1 .84 .84 1.9 2.064 1.02&lt;BR /&gt;0 .65 .42 .27 .5 .114 1.014&lt;BR /&gt;0 1 .75 .75 1 1.322 1.004&lt;BR /&gt;0 .5 .44 .22 .6 .114 .99&lt;BR /&gt;1 1 .63 .63 1.1 1.072 .986&lt;BR /&gt;0 1 .33 .33 .4 .176 1.01&lt;BR /&gt;0 .9 .93 .84 .6 1.591 1.02&lt;BR /&gt;1 1 .58 .58 1 .531 1.002&lt;BR /&gt;0 .95 .32 .3 1.6 .886 .988&lt;BR /&gt;1 1 .6 .6 1.7 .964 .99&lt;BR /&gt;1 1 .69 .69 .9 .398 .986&lt;BR /&gt;0 1 .73 .73 .7 .398 .986&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;title 'Stepwise Regression on Cancer Remission Data';&lt;BR /&gt;proc logistic data=Remission outest=betas covout;&lt;BR /&gt;model remiss(event='1')=cell smear infil li blast temp&lt;BR /&gt;/ selection=stepwise&lt;BR /&gt;slentry=0.3&lt;BR /&gt;slstay=0.35&lt;BR /&gt;details&lt;BR /&gt;lackfit;&lt;BR /&gt;* lackfit (dfreduce=2, ngroups=5);*error;&lt;BR /&gt;* I don't know why it does not&lt;BR /&gt;* work;&lt;BR /&gt;output out=pred p=phat lower=lcl upper=ucl&lt;BR /&gt;predprob=(individual crossvalidate);&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Dec 2017 07:25:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-specify-parameters-needed-for-lackfit/m-p/417991#M21968</guid>
      <dc:creator>PhilipBak8</dc:creator>
      <dc:date>2017-12-03T07:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify parameters needed for lackfit?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-specify-parameters-needed-for-lackfit/m-p/417996#M21969</link>
      <description>&lt;P&gt;Either your sas version is too low or Try PROC HPLOGISTIC .&lt;/P&gt;</description>
      <pubDate>Sun, 03 Dec 2017 09:34:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-specify-parameters-needed-for-lackfit/m-p/417996#M21969</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2017-12-03T09:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify parameters needed for lackfit?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-specify-parameters-needed-for-lackfit/m-p/417998#M21971</link>
      <description>My SAS version is Windows version 6.2.9200.&lt;BR /&gt;Is it too old to do it?</description>
      <pubDate>Sun, 03 Dec 2017 09:48:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-specify-parameters-needed-for-lackfit/m-p/417998#M21971</guid>
      <dc:creator>PhilipBak8</dc:creator>
      <dc:date>2017-12-03T09:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify parameters needed for lackfit?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-specify-parameters-needed-for-lackfit/m-p/418024#M21977</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/177538"&gt;@PhilipBak8&lt;/a&gt; wrote:&lt;BR /&gt;My SAS version is Windows version 6.2.9200.&lt;BR /&gt;Is it too old to do it?&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That's possibly your EG version but not your SAS version. Use the following to see your SAS version, but you also need your SAS/STAT version, where the latest is 14.3&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%put &amp;amp;sysvlong;

proc product_status;run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 03 Dec 2017 16:59:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-specify-parameters-needed-for-lackfit/m-p/418024#M21977</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-12-03T16:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify parameters needed for lackfit?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-specify-parameters-needed-for-lackfit/m-p/418081#M21979</link>
      <description>Thank you!&lt;BR /&gt;&lt;BR /&gt;For Base SAS Software ...&lt;BR /&gt;Custom version information: 9.4_M2&lt;BR /&gt;Image version information: 9.04.01M2P072314&lt;BR /&gt;For SAS/STAT ...&lt;BR /&gt;Custom version information: 13.2&lt;BR /&gt;&lt;BR /&gt;Is it too old to do it?</description>
      <pubDate>Mon, 04 Dec 2017 07:54:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-specify-parameters-needed-for-lackfit/m-p/418081#M21979</guid>
      <dc:creator>PhilipBak8</dc:creator>
      <dc:date>2017-12-04T07:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify parameters needed for lackfit?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-specify-parameters-needed-for-lackfit/m-p/418132#M21981</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Try PROC HPLOGISTIC .&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;And don't forget check the example of it in sas documentation.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2017 12:35:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-specify-parameters-needed-for-lackfit/m-p/418132#M21981</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2017-12-04T12:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify parameters needed for lackfit?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-specify-parameters-needed-for-lackfit/m-p/418137#M21982</link>
      <description>Here is what I refer to in PROC HPLOGISTIC documentation.


LACKFIT&amp;lt; (DFREDUCE=r NGROUPS=G) &amp;gt;
performs the Hosmer and Lemeshow goodness-of-fit test (Hosmer and Lemeshow 2000) for binary
response models.
The subjects are divided into at most G groups of roughly the same size, based on the percentiles of
the estimated probabilities. You can specify G as any integer greater than or equal to 5; by default,
G=10. Let the actual number of groups created be g. The discrepancies between the observed and
expected number of observations in these g groups are summarized by the Pearson chi-square statistic,
which is then compared to a chi-square distribution with g–r degrees of freedom. You can specify a
nonnegative integer r that satisfies g–r 1; by default, r=2.
A small p-value suggests that the fitted model is not an adequate model. For more information, see the
section “The Hosmer-Lemeshow Goodness-of-Fit Test” on page 4274.</description>
      <pubDate>Mon, 04 Dec 2017 12:55:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-specify-parameters-needed-for-lackfit/m-p/418137#M21982</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2017-12-04T12:55:01Z</dc:date>
    </item>
  </channel>
</rss>

