<?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: ERROR: Model selection by lassos could not be completed in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-Model-selection-by-lassos-could-not-be-completed/m-p/248096#M56362</link>
    <description>&lt;P&gt;No, I can't guess based on what you've told us.&amp;nbsp;LASSO performs a nonlinear optimization, so it could be any of a dozen reasons. The fact that other variable selection techniques converge isn't relevant or informative.&lt;/P&gt;</description>
    <pubDate>Thu, 04 Feb 2016 21:14:16 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2016-02-04T21:14:16Z</dc:date>
    <item>
      <title>ERROR: Model selection by lassos could not be completed</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-Model-selection-by-lassos-could-not-be-completed/m-p/247788#M56336</link>
      <description>&lt;P&gt;Proc HPGENSELECT and the LASSO method are new to me and i wanted to see it in action with some real data. Unfortunately when I run the code below I the the error message above in the log but I get some output indicating that the intercept only model was selected as the best model.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;hpgenselect&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=SSD_DeIDd;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;model&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; SS_vis_ct= c_MH_status c_gender c_age p_age p_gender cumul_length_of_deploy /dist=nb &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;link&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;=log ;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;selection&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;method&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;=Lasso(choose=SBC) &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;details&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;=all;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;performance&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;details&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;I did a google search and got nothing.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;Thanks!&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 16:27:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-Model-selection-by-lassos-could-not-be-completed/m-p/247788#M56336</guid>
      <dc:creator>BTAinRVA</dc:creator>
      <dc:date>2016-02-03T16:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Model selection by lassos could not be completed</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-Model-selection-by-lassos-could-not-be-completed/m-p/247808#M56342</link>
      <description>&lt;P&gt;P.S. When I analyze the same data using Proc Genmod it finds all but one variable significant using either forward, backward, or stepwise methods.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 17:56:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-Model-selection-by-lassos-could-not-be-completed/m-p/247808#M56342</guid>
      <dc:creator>BTAinRVA</dc:creator>
      <dc:date>2016-02-03T17:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Model selection by lassos could not be completed</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-Model-selection-by-lassos-could-not-be-completed/m-p/247832#M56343</link>
      <description>&lt;P&gt;It is very difficult to diagnose a "lack of convergence" issue when there is no data. However, the documentation for the &lt;A href="http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_hpgenselect_details29.htm" target="_self"&gt;LASSO selection option&lt;/A&gt; includes the statement&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Some distributions involve a dispersion parameter (the parameter &lt;IMG width="7" height="15" class="math" style="vertical-align: -4px;" alt="$\phi $" src="http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/images/statug_hpgenselect0055.png" border="0" /&gt; in the expressions for the log likelihood)..... These parameters are not estimated by the LASSO optimization algorithm, and are set to either the default value or a value that you specify. You can use the MODEL statement options PHI= to set the dispersion to a fixed value.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't know if it will help, but I'd try plugging in the value of the dispersion parameter from the GENMOD run.&amp;nbsp; Can't hurt, and you might get lucky.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 19:44:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-Model-selection-by-lassos-could-not-be-completed/m-p/247832#M56343</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-02-03T19:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Model selection by lassos could not be completed</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-Model-selection-by-lassos-could-not-be-completed/m-p/248092#M56359</link>
      <description>&lt;P&gt;Rick,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the reply. I tried using the PHI option but got the same result, only the intercept model as the selected model and the error message as shown in the subject line.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any ideas why the HPGENSELECT seems&amp;nbsp; to work with my data when I use selection method FORWARD, BACKWARD and STEPWISE, but it doesn't seem to work with LASSO?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 20:59:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-Model-selection-by-lassos-could-not-be-completed/m-p/248092#M56359</guid>
      <dc:creator>BTAinRVA</dc:creator>
      <dc:date>2016-02-04T20:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Model selection by lassos could not be completed</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-Model-selection-by-lassos-could-not-be-completed/m-p/248096#M56362</link>
      <description>&lt;P&gt;No, I can't guess based on what you've told us.&amp;nbsp;LASSO performs a nonlinear optimization, so it could be any of a dozen reasons. The fact that other variable selection techniques converge isn't relevant or informative.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 21:14:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-Model-selection-by-lassos-could-not-be-completed/m-p/248096#M56362</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-02-04T21:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Model selection by lassos could not be completed</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-Model-selection-by-lassos-could-not-be-completed/m-p/248104#M56366</link>
      <description>&lt;P&gt;Thanks for the quick reply! What other information would be helpful?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 21:35:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-Model-selection-by-lassos-could-not-be-completed/m-p/248104#M56366</guid>
      <dc:creator>BTAinRVA</dc:creator>
      <dc:date>2016-02-04T21:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Model selection by lassos could not be completed</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-Model-selection-by-lassos-could-not-be-completed/m-p/248111#M56367</link>
      <description>&lt;P&gt;The usual: The data and program that shows the problem.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 21:56:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-Model-selection-by-lassos-could-not-be-completed/m-p/248111#M56367</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-02-04T21:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Model selection by lassos could not be completed</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-Model-selection-by-lassos-could-not-be-completed/m-p/248116#M56369</link>
      <description>&lt;P&gt;Unfortunately I can't share the data. What we are trying to do is model count of child mental health visits&amp;nbsp; against cumulative parental deployment, child age, child gender, child mental health status,&amp;nbsp;parent age, parent gender, parent rank. There are over 8800 records. When I run the code below with either Forward, Backward, or Stepwise method, all factors but one are selected for the final model. When I run the code with&amp;nbsp; the Lasso method I just get the intercept model and the error in the log.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;hpgenselect&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;=SSD_DeIDd;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;class&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; adol_gender adol_MH_status spon_gender spon_rank;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;model&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; adol_SS_vis_ct= cumul_length_of_deploy adol_age adol_gender adol_MH_status spon_gender spon_age spon_rank / dist=nb &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;link&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;=log &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;offset&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;=ln_obs_time ;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;selection&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;method&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;=forward (choose=SBC)&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;details&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;=all;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;/* selection method=Lasso(choose=SBC) details=all;*/&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 22:24:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-Model-selection-by-lassos-could-not-be-completed/m-p/248116#M56369</guid>
      <dc:creator>BTAinRVA</dc:creator>
      <dc:date>2016-02-04T22:24:57Z</dc:date>
    </item>
  </channel>
</rss>

