<?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: Difference between proc genmod and proc hpgenselect in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Difference-between-proc-genmod-and-proc-hpgenselect/m-p/675081#M32323</link>
    <description>&lt;P&gt;I believe I already tried that and it did not work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 06 Aug 2020 17:36:22 GMT</pubDate>
    <dc:creator>farazs1</dc:creator>
    <dc:date>2020-08-06T17:36:22Z</dc:date>
    <item>
      <title>Difference between proc genmod and proc hpgenselect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Difference-between-proc-genmod-and-proc-hpgenselect/m-p/674801#M32294</link>
      <description>&lt;P&gt;Why would I be able to run same model (log binomial with same input and output variables) in proc hpgenselect but not in proc genmod? There is no difference in my code. Class and model statements are exactly the same. Distribution and link functions are same of course. Any idea why I can run proc hpgenselect but not proc genmod?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 17:49:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Difference-between-proc-genmod-and-proc-hpgenselect/m-p/674801#M32294</guid>
      <dc:creator>farazs1</dc:creator>
      <dc:date>2020-08-05T17:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between proc genmod and proc hpgenselect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Difference-between-proc-genmod-and-proc-hpgenselect/m-p/674802#M32295</link>
      <description>&lt;P&gt;What makes you believe you can't run it in PROC GENMOD? Is there an error message? If so, please show us the log for the entire PROC GENMOD step, including code, NOTEs, WARNINGs and ERRORs. Or, is there some other problem? Show us.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 17:59:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Difference-between-proc-genmod-and-proc-hpgenselect/m-p/674802#M32295</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-08-05T17:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between proc genmod and proc hpgenselect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Difference-between-proc-genmod-and-proc-hpgenselect/m-p/674805#M32296</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc genmod data = data descending;
 class a(ref='0') b(ref='Non-Blast') c(ref='0') d(ref='0')/param=ref;
 model outcome(ref='No') = a b c d / dist = binomial link = log;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Error I get from this is:&lt;/P&gt;&lt;P&gt;NOTE: PROC GENMOD is modeling the probability that outcome='YES'.&lt;BR /&gt;WARNING: The specified model did not converge.&lt;BR /&gt;NOTE: The Pearson chi-square and deviance are not computed since the AGGREGATE option is not&lt;BR /&gt;specified.&lt;BR /&gt;ERROR: The mean parameter is either invalid or at a limit of its range for some observations.&lt;BR /&gt;NOTE: The scale parameter was held fixed.&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE GENMOD used (Total process time):&lt;BR /&gt;real time 0.09 seconds&lt;BR /&gt;cpu time 0.06 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As compared to proc hpgenselect:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC HPGENSELECT data=data;

CLASS a(ref='0') b(ref='Non-Blast') c(ref='0') d(ref='0')/param=ref;

model outcome(ref='No')=a b c d /dist=binomial link=log;

RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;log shows -&lt;/P&gt;&lt;P&gt;NOTE: The HPGENSELECT procedure is executing in single-machine mode.&lt;BR /&gt;NOTE: You are modeling the probability that outcome='YES'.&lt;BR /&gt;NOTE: Convergence criterion (FCONV=2.1073424E-8) satisfied.&lt;BR /&gt;NOTE: There were 341 observations read from the data set WORK.DATA.&lt;BR /&gt;NOTE: PROCEDURE HPGENSELECT used (Total process time):&lt;BR /&gt;real time 0.09 seconds&lt;BR /&gt;cpu time 0.04 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I doing something incorrect?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 18:06:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Difference-between-proc-genmod-and-proc-hpgenselect/m-p/674805#M32296</guid>
      <dc:creator>farazs1</dc:creator>
      <dc:date>2020-08-05T18:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between proc genmod and proc hpgenselect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Difference-between-proc-genmod-and-proc-hpgenselect/m-p/674809#M32297</link>
      <description>&lt;P&gt;There are differences in the fitting algorithms between the two procedures such that in certain situations you will get slightly different results or convergence versus non-convergence.&lt;/P&gt;
&lt;P&gt;If you were to adjust the convergence criterion and fitting algorithm in HPGENSELECT so that it was identical to GENMOD, I suspect you would get the same message.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;PROC HPGENSELECT data=data gconv=1e-4 tech=newrap;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately there is not a way to exactly implement what HPGENSELECT does by default in GENMOD.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 18:31:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Difference-between-proc-genmod-and-proc-hpgenselect/m-p/674809#M32297</guid>
      <dc:creator>SAS_Rob</dc:creator>
      <dc:date>2020-08-05T18:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between proc genmod and proc hpgenselect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Difference-between-proc-genmod-and-proc-hpgenselect/m-p/674815#M32298</link>
      <description>&lt;P&gt;Can I modify proc genmod in a way so that I can run it same as proc hpgenselect? I want to generate RR estimates off of this model but I can only get coefficients from proc hpgenselect which I will have to turn into RR estimates I want. if I can run this same model in proc genmod, then I can use estimate statement and get RR estimates. or if you have a different solution, that is also fine.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 18:50:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Difference-between-proc-genmod-and-proc-hpgenselect/m-p/674815#M32298</guid>
      <dc:creator>farazs1</dc:creator>
      <dc:date>2020-08-05T18:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between proc genmod and proc hpgenselect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Difference-between-proc-genmod-and-proc-hpgenselect/m-p/674973#M32313</link>
      <description>Try :&lt;BR /&gt;proc genmod data = data ;&lt;BR /&gt; class a(ref='0') b(ref='Non-Blast') c(ref='0') d(ref='0')/param=ref;&lt;BR /&gt; model outcome  = a b c d / dist = binomial link = log;&lt;BR /&gt;run;</description>
      <pubDate>Thu, 06 Aug 2020 12:14:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Difference-between-proc-genmod-and-proc-hpgenselect/m-p/674973#M32313</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2020-08-06T12:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between proc genmod and proc hpgenselect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Difference-between-proc-genmod-and-proc-hpgenselect/m-p/674989#M32317</link>
      <description>&lt;P&gt;Since the log link does not ensure that predicted values are valid probabilities, this error is common when fitting the log-linked binomial model. Fortunately, it isn't necessary to fit a log-linked binomial model in order to estimate relative risks. You can fit an ordinary logistic model using PROC LOGISTIC and then use the NLMeans macro to produce the relative risk estimates. See &lt;A href="http://support.sas.com/kb/23003" target="_self"&gt;this note&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 13:06:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Difference-between-proc-genmod-and-proc-hpgenselect/m-p/674989#M32317</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2020-08-06T13:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between proc genmod and proc hpgenselect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Difference-between-proc-genmod-and-proc-hpgenselect/m-p/675080#M32322</link>
      <description>&lt;P&gt;I am attempting this approach.&lt;/P&gt;&lt;P&gt;Unfortunately NLmeans macro is not working at the moment. I will keep at it and see what I get.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 17:35:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Difference-between-proc-genmod-and-proc-hpgenselect/m-p/675080#M32322</guid>
      <dc:creator>farazs1</dc:creator>
      <dc:date>2020-08-06T17:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between proc genmod and proc hpgenselect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Difference-between-proc-genmod-and-proc-hpgenselect/m-p/675081#M32323</link>
      <description>&lt;P&gt;I believe I already tried that and it did not work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 17:36:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Difference-between-proc-genmod-and-proc-hpgenselect/m-p/675081#M32323</guid>
      <dc:creator>farazs1</dc:creator>
      <dc:date>2020-08-06T17:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between proc genmod and proc hpgenselect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Difference-between-proc-genmod-and-proc-hpgenselect/m-p/675107#M32327</link>
      <description>I'm not aware of anything that would keep the LOGISTIC/NLMeans approach from working. Try it and post your code and any errors you get.</description>
      <pubDate>Thu, 06 Aug 2020 19:02:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Difference-between-proc-genmod-and-proc-hpgenselect/m-p/675107#M32327</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2020-08-06T19:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between proc genmod and proc hpgenselect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Difference-between-proc-genmod-and-proc-hpgenselect/m-p/675277#M32333</link>
      <description>&lt;P&gt;I tried one of the terms, let's say term a by itself using proc logistic and then running nlmixed macro. I also ran log-binomial model using proc genmod. Relative risk that I am getting from proc genmod is vastly different from the one I get using nlmixed approach. That should not be the case, right? I can understand if it off by decimals but proc genmod is giving me almost double the RR of the other approach. Am I missing something?&lt;/P&gt;</description>
      <pubDate>Fri, 07 Aug 2020 19:13:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Difference-between-proc-genmod-and-proc-hpgenselect/m-p/675277#M32333</guid>
      <dc:creator>farazs1</dc:creator>
      <dc:date>2020-08-07T19:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between proc genmod and proc hpgenselect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Difference-between-proc-genmod-and-proc-hpgenselect/m-p/675278#M32334</link>
      <description>&lt;P&gt;If you will post the code you used, I might be able to tell you what is wrong. You should just have a PROC LOGISTIC step followed by a call of the NLMeans macro. Show any log messages that they generated.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Aug 2020 19:23:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Difference-between-proc-genmod-and-proc-hpgenselect/m-p/675278#M32334</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2020-08-07T19:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between proc genmod and proc hpgenselect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Difference-between-proc-genmod-and-proc-hpgenselect/m-p/675529#M32353</link>
      <description>&lt;P&gt;OK so I was running something wrong actually. I was modeling wrong event in one method. I am finally getting same RR for the two methods. However, 95% CL is different for each. NLmeans macro is giving me tighter bounds. Any opinion on why would this be?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 02:30:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Difference-between-proc-genmod-and-proc-hpgenselect/m-p/675529#M32353</guid>
      <dc:creator>farazs1</dc:creator>
      <dc:date>2020-08-10T02:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between proc genmod and proc hpgenselect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Difference-between-proc-genmod-and-proc-hpgenselect/m-p/675584#M32365</link>
      <description>&lt;P&gt;any idea how to run two or more terms in one model using this macro? thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 13:22:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Difference-between-proc-genmod-and-proc-hpgenselect/m-p/675584#M32365</guid>
      <dc:creator>farazs1</dc:creator>
      <dc:date>2020-08-10T13:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between proc genmod and proc hpgenselect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Difference-between-proc-genmod-and-proc-hpgenselect/m-p/675610#M32372</link>
      <description>&lt;P&gt;GENMOD and NLMeans use different valid methods to compute confidence limits. In GENMOD, the ESTIMATE statement forms a confidence interval on the specified estimate and then exponentiates the estimate and its limits. This results in an interval that is not symmetric around the relative risk estimate. NLMeans forms a confidence interval directly around the relative risk estimate and is symmetric around the estimate. It uses the delta method to estimate the standard error of the relative risk. Since the two methods are different, the widths of the intervals will differ somewhat.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The NLMeans macro provides differences or ratios for one variable. If you want to estimate the relative risk for more than one variable, you just need to run the macro more than once.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 14:39:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Difference-between-proc-genmod-and-proc-hpgenselect/m-p/675610#M32372</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2020-08-10T14:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between proc genmod and proc hpgenselect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Difference-between-proc-genmod-and-proc-hpgenselect/m-p/675622#M32374</link>
      <description>&lt;P&gt;For instance, if you use the log binomial method for the first example (gender and question) in &lt;A href="https://support.sas.com/kb/23/003.html" target="_self"&gt;note 23003&lt;/A&gt;, the confidence interval on the relative risk estimate is (1.0365, 2.1707) which is not centered around the relative risk estimate (1.5) and has width 1.1342 as compared to the NLMeans/delta method width 1.1087.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And sorry but I forgot that the NLMeans macro can handle multiple sets of estimates, so it can provide difference or ratio estimates for more than one variable at a time. You can specify more than one variable in the LSMEANS statement (or more than one LSMEANS statement) in the preceding modeling procedure and the macro will, by default (&lt;STRONG&gt;options=nojoint&lt;/STRONG&gt;),&amp;nbsp; compute differences or ratios separately for each set of LSMEANS estimates.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 15:06:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Difference-between-proc-genmod-and-proc-hpgenselect/m-p/675622#M32374</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2020-08-10T15:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between proc genmod and proc hpgenselect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Difference-between-proc-genmod-and-proc-hpgenselect/m-p/675623#M32375</link>
      <description>&lt;P&gt;thanks for the quick response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think I will just run my model (that has more than one term) with proc logistic and convert odds ratio to relative risk. For models with one term, I will use the NLmeans approach. It would have been nice to use the same approach for models with multiple terms.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 15:14:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Difference-between-proc-genmod-and-proc-hpgenselect/m-p/675623#M32375</guid>
      <dc:creator>farazs1</dc:creator>
      <dc:date>2020-08-10T15:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between proc genmod and proc hpgenselect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Difference-between-proc-genmod-and-proc-hpgenselect/m-p/675627#M32376</link>
      <description>&lt;P&gt;oops just saw your second post. let me try that. thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 15:17:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Difference-between-proc-genmod-and-proc-hpgenselect/m-p/675627#M32376</guid>
      <dc:creator>farazs1</dc:creator>
      <dc:date>2020-08-10T15:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between proc genmod and proc hpgenselect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Difference-between-proc-genmod-and-proc-hpgenselect/m-p/675673#M32378</link>
      <description>&lt;P&gt;I tried a new model with two terms in it.&lt;/P&gt;&lt;P&gt;Please see my code, log, and output for each approach.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Code –
proc genmod data = data descending;
 class var_a(ref='0') var_b(ref='0')/param=ref;
 model outcome(ref='0') = var_a var_b/ dist = binomial link = log type3;
 estimate 'Beta' var_a 1 -1/ exp;
 estimate 'Beta' var_b 1 -1/exp;
run;
Log –

NOTE: PROC GENMOD is modeling the probability that outcome='1'.
NOTE: The Pearson chi-square and deviance are not computed since the AGGREGATE option is not
      specified.
NOTE: Algorithm converged.
NOTE: The scale parameter was held fixed.
WARNING: More coefficients than levels specified for effect var_a.  Some coefficients will be
         ignored.
WARNING: More coefficients than levels specified for effect var_b.  Some coefficients will be
         ignored.
NOTE: PROCEDURE GENMOD used (Total process time):
      real time           1.15 seconds
      cpu time            0.78 seconds&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;output -&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="farazs1_0-1597078180098.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/48101i6C15DBFE4FB853AB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="farazs1_0-1597078180098.png" alt="farazs1_0-1597078180098.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;using nlmeans approach&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc logistic data=data;
        class var_a(ref="0") var_b(ref="0")/ param=glm;
        model outcome(event="1")=var_a var_b;
        lsmeans var_a/ e ilink;
		lsmeans var_b/ e ilink;
        ods output coef=coeffs;
        store out=ques;
        run;
		%NLMeans(instore=ques, coef=coeffs, link=logit, options=ratio, title=Relative Risk);
Log – 
NOTE: PROC LOGISTIC is modeling the probability that outcome='1'.
NOTE: Convergence criterion (GCONV=1E-8) satisfied.
NOTE: The LOGISTIC procedure generated the model item store WORK.QUES.
NOTE: The data set WORK.COEFFS has 10 observations and 6 variables.
NOTE: There were 341 observations read from the data set WORK.DATA.
NOTE: PROCEDURE LOGISTIC used (Total process time):
      real time           2.42 seconds
      cpu time            1.62 seconds


2633
2634          %NLMeans(instore=ques, coef=coeffs, link=logit, options=ratio, title=Relative Risk);
WARNING: The final Hessian matrix is not positive definite, and therefore the estimated covariance
         matrix is not full rank and may be unreliable.  The variance of some parameter estimates
         is zero or some parameters are linearly related to other parameters.
WARNING: The final Hessian matrix is not positive definite, and therefore the estimated covariance
         matrix is not full rank and may be unreliable.  The variance of some parameter estimates
         is zero or some parameters are linearly related to other parameters.
NOTE: The NLMEANS macro used 3.73 seconds.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;output -&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="farazs1_1-1597078265546.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/48102i5F6BE9377FF6A6CE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="farazs1_1-1597078265546.png" alt="farazs1_1-1597078265546.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am supposed to write separate LSMEANS statement and one macro statement, right? What am I doing wrong here?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 16:55:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Difference-between-proc-genmod-and-proc-hpgenselect/m-p/675673#M32378</guid>
      <dc:creator>farazs1</dc:creator>
      <dc:date>2020-08-10T16:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between proc genmod and proc hpgenselect</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Difference-between-proc-genmod-and-proc-hpgenselect/m-p/675725#M32382</link>
      <description>&lt;P&gt;You should specify only as many coefficients for a model effect in the ESTIMATE statement as it has parameter estimates. With reference parameterization (PARAM=REF), a binary variable has only one parameter estimate, so you can specify only one coefficient. If you just change PARAM=REF to PARAM=GLM, then both binary predictors will have two parameter estimates (the last being zero in each case) and your ESTIMATE statements will not produce Warnings - though I think the results will be the same.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 19:20:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Difference-between-proc-genmod-and-proc-hpgenselect/m-p/675725#M32382</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2020-08-10T19:20:39Z</dc:date>
    </item>
  </channel>
</rss>

