<?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 Default parameterization in PROC SURVEYREG? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Default-parameterization-in-PROC-SURVEYREG/m-p/32780#M7925</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nope, that's the same.&amp;nbsp; It's the weirdest thing.&amp;nbsp; Anyways, perhaps I could ask how I might go about writing the ESTIMATE statement...I have a linear model with 10 beta's and I'm trying to do an ESTIMATE statement to test the hypothesis that beta7+beta8+beta9 = 0.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;HAVEUSCiy = intercept + B1*YEAR2y + B2*LOSSOFINSURANCEi + B3*DROPOUTOFSCHOOLi + B4*MOVEi + B5*DROPOUTOFSCHOOLI*MOVEi +&lt;BR /&gt;B6* LOSSOFINSURANCEi *YEAR2 + B7*DROPOUTOFSCHOOLi* YEAR2y + B8*MOVEi*YEAR2y + B9*DROPOUTOFSCHOOLi * MOVEi * YEAR2y&amp;nbsp; + Covariates&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without getting too much into the model details, the important things to know are that DROPOUTOFSCHOOL is continuous, YEAR2y is dichotomous (0/1), and MOVEi is dichotomous (0/1).&amp;nbsp; This was the code (using non-positional syntax) that was working, but now is not.&amp;nbsp; How would I go about writing this hypothesis statement in an ESTIMATE statement using positional syntax?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc surveyreg data = datafile;&lt;/P&gt;&lt;P&gt;weight longwt;&lt;/P&gt;&lt;P&gt;strata varstr;&lt;/P&gt;&lt;P&gt;cluster varpsu;&lt;/P&gt;&lt;P&gt;class move year2 sex race regiony1 msay1 panel;&lt;/P&gt;&lt;P&gt;model haveusc = dropoutofschool lossofinsurance move year2 dropoutofschool * move&lt;/P&gt;&lt;P&gt;lossofinsurance * year2 dropoutofschool * year2 move * year2 dropoutofschool * move * year2&lt;/P&gt;&lt;P&gt;agebeginning_years sex race regiony1 msay1 panel /solution;&lt;/P&gt;&lt;P&gt;estimate 'Beta7+Beta8+Beta9' dropoutofschool*year2 [1, 1 1] move*year2 [1,1 1] dropoutofschool*move*year2 [1, 1 1 1 1] /e;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Mar 2012 22:43:13 GMT</pubDate>
    <dc:creator>chuakp</dc:creator>
    <dc:date>2012-03-15T22:43:13Z</dc:date>
    <item>
      <title>Default parameterization in PROC SURVEYREG?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Default-parameterization-in-PROC-SURVEYREG/m-p/32775#M7920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I'm using a CLASS statement within PROC SURVEYREG, is the default paramterization reference coding?&amp;nbsp; Is there any way to change this, as you can with PROC LOGISTIC? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2012 16:27:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Default-parameterization-in-PROC-SURVEYREG/m-p/32775#M7920</guid>
      <dc:creator>chuakp</dc:creator>
      <dc:date>2012-03-15T16:27:14Z</dc:date>
    </item>
    <item>
      <title>Default parameterization in PROC SURVEYREG?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Default-parameterization-in-PROC-SURVEYREG/m-p/32776#M7921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; As far as I can tell from the doc, proc surveyreg uses the same parameterization as proc glm. To view the model variables, you could use the model / e option of proc glm or (I guess) use proc glmmod.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAS seems to suggest that you don't need to know the exact level ordering with their "non-positional" coefficients ordering, but it seems quite complicated:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/statug/63962/HTML/default/viewer.htm#statug_introcom_a0000003358.htm"&gt;http://support.sas.com/documentation/cdl/en/statug/63962/HTML/default/viewer.htm#statug_introcom_a0000003358.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2012 17:22:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Default-parameterization-in-PROC-SURVEYREG/m-p/32776#M7921</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2012-03-15T17:22:00Z</dc:date>
    </item>
    <item>
      <title>Default parameterization in PROC SURVEYREG?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Default-parameterization-in-PROC-SURVEYREG/m-p/32777#M7922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&amp;nbsp; I actually found the non-positional syntax ordering infinitely more intuitive than the positional syntax, and I was able to set up an ESTIMATE statement using this syntax.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2012 19:42:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Default-parameterization-in-PROC-SURVEYREG/m-p/32777#M7922</guid>
      <dc:creator>chuakp</dc:creator>
      <dc:date>2012-03-15T19:42:14Z</dc:date>
    </item>
    <item>
      <title>Default parameterization in PROC SURVEYREG?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Default-parameterization-in-PROC-SURVEYREG/m-p/32778#M7923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The strangest thing in the world just happened...my ESTIMATE statement with SURVEYREG was working perfectly.&amp;nbsp; I closed SAS and came back, ran it again, and now the ESTIMATE statement is giving me 'non-estimable.'&amp;nbsp; I'm also now getting a NOTE in the log that says:&lt;/P&gt;&lt;P&gt;NOTE: The structure of the Estimates table has changed from an earlier release of SAS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm running SAS 9.2.&amp;nbsp; It's really weird that SURVEYREG was able to run this and is now unable to!&amp;nbsp; My code hasn't changed.&amp;nbsp; Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2012 21:16:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Default-parameterization-in-PROC-SURVEYREG/m-p/32778#M7923</guid>
      <dc:creator>chuakp</dc:creator>
      <dc:date>2012-03-15T21:16:50Z</dc:date>
    </item>
    <item>
      <title>Default parameterization in PROC SURVEYREG?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Default-parameterization-in-PROC-SURVEYREG/m-p/32779#M7924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; There as so many things that could have gone wrong... Check, if you can, that the observation count is the same as before. You can also use the /E option in the ESTIMATE statement to get the coefficients. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2012 21:31:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Default-parameterization-in-PROC-SURVEYREG/m-p/32779#M7924</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2012-03-15T21:31:06Z</dc:date>
    </item>
    <item>
      <title>Default parameterization in PROC SURVEYREG?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Default-parameterization-in-PROC-SURVEYREG/m-p/32780#M7925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nope, that's the same.&amp;nbsp; It's the weirdest thing.&amp;nbsp; Anyways, perhaps I could ask how I might go about writing the ESTIMATE statement...I have a linear model with 10 beta's and I'm trying to do an ESTIMATE statement to test the hypothesis that beta7+beta8+beta9 = 0.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;HAVEUSCiy = intercept + B1*YEAR2y + B2*LOSSOFINSURANCEi + B3*DROPOUTOFSCHOOLi + B4*MOVEi + B5*DROPOUTOFSCHOOLI*MOVEi +&lt;BR /&gt;B6* LOSSOFINSURANCEi *YEAR2 + B7*DROPOUTOFSCHOOLi* YEAR2y + B8*MOVEi*YEAR2y + B9*DROPOUTOFSCHOOLi * MOVEi * YEAR2y&amp;nbsp; + Covariates&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without getting too much into the model details, the important things to know are that DROPOUTOFSCHOOL is continuous, YEAR2y is dichotomous (0/1), and MOVEi is dichotomous (0/1).&amp;nbsp; This was the code (using non-positional syntax) that was working, but now is not.&amp;nbsp; How would I go about writing this hypothesis statement in an ESTIMATE statement using positional syntax?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc surveyreg data = datafile;&lt;/P&gt;&lt;P&gt;weight longwt;&lt;/P&gt;&lt;P&gt;strata varstr;&lt;/P&gt;&lt;P&gt;cluster varpsu;&lt;/P&gt;&lt;P&gt;class move year2 sex race regiony1 msay1 panel;&lt;/P&gt;&lt;P&gt;model haveusc = dropoutofschool lossofinsurance move year2 dropoutofschool * move&lt;/P&gt;&lt;P&gt;lossofinsurance * year2 dropoutofschool * year2 move * year2 dropoutofschool * move * year2&lt;/P&gt;&lt;P&gt;agebeginning_years sex race regiony1 msay1 panel /solution;&lt;/P&gt;&lt;P&gt;estimate 'Beta7+Beta8+Beta9' dropoutofschool*year2 [1, 1 1] move*year2 [1,1 1] dropoutofschool*move*year2 [1, 1 1 1 1] /e;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2012 22:43:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Default-parameterization-in-PROC-SURVEYREG/m-p/32780#M7925</guid>
      <dc:creator>chuakp</dc:creator>
      <dc:date>2012-03-15T22:43:13Z</dc:date>
    </item>
  </channel>
</rss>

