<?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 means of independent variables and regression coefficients in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/means-of-independent-variables-and-regression-coefficients/m-p/16243#M383</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just a clarification: for mean of a level of the classification variable I intend the mean of the implicit dummy that is the share of cases with that specific level&amp;nbsp; (I am using param=ref).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 25 Sep 2011 19:16:41 GMT</pubDate>
    <dc:creator>ciro</dc:creator>
    <dc:date>2011-09-25T19:16:41Z</dc:date>
    <item>
      <title>means of independent variables and regression coefficients</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/means-of-independent-variables-and-regression-coefficients/m-p/16242#M382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to merge the estimated coefficients of a regression with the mean of the corresponding independent variables.&lt;/P&gt;&lt;P&gt;I perform the regression with proc genmod and take the parameters from the parameterestimates table through ods output. &lt;/P&gt;&lt;P&gt;this table has one column for the variable name( called parameter), one column for the level of the variable (called level1) and one column for the estimate (estimate). The column level1 report the (possibly formatted) value of a classification variable while it is empty for a non class variable. &lt;/P&gt;&lt;P&gt;I imagine I can obtain the means of the classification variable through proc means and then collapse the column of the levels of the variables into one and then append to this dataset the means of the non classification variables but I was wondering if there is any simpler solution. Since I would like to generalize the program I would appreciate hints in either ways.&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;P&gt;I&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Sep 2011 18:17:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/means-of-independent-variables-and-regression-coefficients/m-p/16242#M382</guid>
      <dc:creator>ciro</dc:creator>
      <dc:date>2011-09-25T18:17:58Z</dc:date>
    </item>
    <item>
      <title>means of independent variables and regression coefficients</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/means-of-independent-variables-and-regression-coefficients/m-p/16243#M383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just a clarification: for mean of a level of the classification variable I intend the mean of the implicit dummy that is the share of cases with that specific level&amp;nbsp; (I am using param=ref).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Sep 2011 19:16:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/means-of-independent-variables-and-regression-coefficients/m-p/16243#M383</guid>
      <dc:creator>ciro</dc:creator>
      <dc:date>2011-09-25T19:16:41Z</dc:date>
    </item>
    <item>
      <title>means of independent variables and regression coefficients</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/means-of-independent-variables-and-regression-coefficients/m-p/16244#M384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not 100% sure of your intention, but it sounds like you want to use the OUTDESIGN= option to output the design matrix, and feed that to PROC MEANS. The difficulty, I suppose, is that GENMOD doesn't support OUTDESIGN= and you want PARAM=REF, so you can't use GLMMOD.&amp;nbsp; Try GLIMMIX or LOGISTIC, and read &lt;A href="http://support.sas.com/kb/23/217.html"&gt;http://support.sas.com/kb/23/217.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2011 18:10:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/means-of-independent-variables-and-regression-coefficients/m-p/16244#M384</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2011-09-26T18:10:20Z</dc:date>
    </item>
    <item>
      <title>means of independent variables and regression coefficients</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/means-of-independent-variables-and-regression-coefficients/m-p/16245#M385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV id="gmBabelFish" style="border: 1px solid black; display: none; position: absolute; background-color: #a8ecff; padding: 2px; font-size: 12px; color: black; text-align: left; z-index: 100;"&gt;&lt;DIV style="border-bottom: 1px dotted black; padding-bottom: 2px; padding-top: 2px;"&gt;&lt;SPAN class="gmBabelMousishToolBar" style="cursor: pointer;" title="Close babel mousish"&gt;x&lt;/SPAN&gt;&lt;SPAN class="gmBabelMousishToolBar" style="cursor: pointer;" title="Configure languange"&gt;c&lt;/SPAN&gt;&lt;SPAN class="gmBabelMousishToolBar" style="cursor: default;" title="From English To Italian"&gt;en &amp;gt; it&lt;/SPAN&gt;&lt;IMG align="middle" src="https://communities.sas.com/" style="border: medium none; cursor: pointer;" title="click to translate" /&gt;&lt;/DIV&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;Dear Rick, thank you for your suggestion that made me know the outdesign option. However it seems that proc glimmix does not support reference values for classification variables and proc logistic is not appropriate since I am using a linear regression model (link=identity dist=normal in genmod).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2011 10:35:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/means-of-independent-variables-and-regression-coefficients/m-p/16245#M385</guid>
      <dc:creator>ciro</dc:creator>
      <dc:date>2011-09-27T10:35:04Z</dc:date>
    </item>
    <item>
      <title>means of independent variables and regression coefficients</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/means-of-independent-variables-and-regression-coefficients/m-p/16246#M386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Read the KB article I linked to. You aren't actually doing the analysis, you're just getting the design matrix. You can put anything for Y. It can be continuous, constant, whatever. All that matters is the right-hand side.&amp;nbsp; For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc logistic data=sashelp.class outdesign=design outdesignonly;&lt;/P&gt;&lt;P&gt;class sex(param=ref);&lt;/P&gt;&lt;P&gt;model&amp;nbsp; height = age weight sex;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;proc print;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2011 14:08:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/means-of-independent-variables-and-regression-coefficients/m-p/16246#M386</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2011-09-27T14:08:13Z</dc:date>
    </item>
    <item>
      <title>means of independent variables and regression coefficients</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/means-of-independent-variables-and-regression-coefficients/m-p/16247#M387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV id="gmBabelFish" style="border: 1px solid black; display: none; position: absolute; background-color: #a8ecff; padding: 2px; font-size: 12px; color: black; text-align: left; z-index: 100;"&gt;&lt;DIV style="border-bottom: 1px dotted black; padding-bottom: 2px; padding-top: 2px;"&gt;&lt;SPAN class="gmBabelMousishToolBar" style="cursor: pointer;" title="Close babel mousish"&gt;x&lt;/SPAN&gt;&lt;SPAN class="gmBabelMousishToolBar" style="cursor: pointer;" title="Configure languange"&gt;c&lt;/SPAN&gt;&lt;SPAN class="gmBabelMousishToolBar" style="cursor: default;" title="From English To Italian"&gt;en &amp;gt; it&lt;/SPAN&gt;&lt;IMG align="middle" src="https://communities.sas.com/" style="border: medium none; cursor: pointer;" title="click to translate" /&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;thanks again! I didn't undenrstand before before. It seems the right direction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2011 08:22:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/means-of-independent-variables-and-regression-coefficients/m-p/16247#M387</guid>
      <dc:creator>ciro</dc:creator>
      <dc:date>2011-09-29T08:22:31Z</dc:date>
    </item>
  </channel>
</rss>

