<?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: Proc Surveyreg, F-test of coefficients from separate models in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Surveyreg-F-test-of-coefficients-from-separate-models/m-p/685053#M32981</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/77029"&gt;@lezgin&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Sorry if it wasn't clear. Have1 and have2 are subsamples based on the cluster variable.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The problem I am trying to understand is if the two data sets, HAVE1 and HAVE2, can be combined in some reasonable fashion, for example if they are two sub-populations. If the cluster dates are different, it's not clear to me how to proceed. Its also not clear to me how to proceed if one model has a different set of predictor variables than the other model. So I think I will leave it there.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Sep 2020 18:03:38 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2020-09-18T18:03:38Z</dc:date>
    <item>
      <title>Proc Surveyreg, F-test of coefficients from separate models</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Surveyreg-F-test-of-coefficients-from-separate-models/m-p/684868#M32972</link>
      <description>&lt;P&gt;I am running two separate regressions using proc surveyreg as follows.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc surveyreg data=&lt;STRONG&gt;have1&lt;/STRONG&gt;; cluster date; model y= x1 x2 x1*x2 x3 x4 x5/ adjrsq;run;quit;&lt;/P&gt;
&lt;P&gt;proc surveyreg data=&lt;STRONG&gt;have2&lt;/STRONG&gt;; cluster date;&amp;nbsp;model y= x1 x2 x1*x2 x3 x4 x6 x7/ adjrsq;run;quit;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to do an F-test to determine whether the interaction term x1*x2 from the first model equals x1*x2 from the second model. Please, see that the two models do not share the same set of independent variables. I appreciate any help.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Sep 2020 04:10:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Surveyreg-F-test-of-coefficients-from-separate-models/m-p/684868#M32972</guid>
      <dc:creator>lezgin</dc:creator>
      <dc:date>2020-09-18T04:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Surveyreg, F-test of coefficients from separate models</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Surveyreg-F-test-of-coefficients-from-separate-models/m-p/684923#M32973</link>
      <description>&lt;P&gt;What is the difference between HAVE1 and HAVE2? Is it just two different sub-populations (such as males and females) of a larger population? Are the date clusters the same?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Sep 2020 10:11:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Surveyreg-F-test-of-coefficients-from-separate-models/m-p/684923#M32973</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-09-18T10:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Surveyreg, F-test of coefficients from separate models</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Surveyreg-F-test-of-coefficients-from-separate-models/m-p/684965#M32975</link>
      <description>&lt;P&gt;Have1 and have 2 have different date clusters. Year and month&lt;BR /&gt;dummies and the sample sizes are different.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Sep 2020 14:20:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Surveyreg-F-test-of-coefficients-from-separate-models/m-p/684965#M32975</guid>
      <dc:creator>lezgin</dc:creator>
      <dc:date>2020-09-18T14:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Surveyreg, F-test of coefficients from separate models</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Surveyreg-F-test-of-coefficients-from-separate-models/m-p/685036#M32979</link>
      <description>&lt;P&gt;Repeating my question:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;What is the difference between HAVE1 and HAVE2? Is it just two different sub-populations (such as males and females) of a larger population?&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Fri, 18 Sep 2020 17:03:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Surveyreg-F-test-of-coefficients-from-separate-models/m-p/685036#M32979</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-09-18T17:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Surveyreg, F-test of coefficients from separate models</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Surveyreg-F-test-of-coefficients-from-separate-models/m-p/685040#M32980</link>
      <description>Sorry if it wasn't clear. Have1 and have2 are subsamples based on the cluster variable.</description>
      <pubDate>Fri, 18 Sep 2020 17:16:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Surveyreg-F-test-of-coefficients-from-separate-models/m-p/685040#M32980</guid>
      <dc:creator>lezgin</dc:creator>
      <dc:date>2020-09-18T17:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Surveyreg, F-test of coefficients from separate models</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Surveyreg-F-test-of-coefficients-from-separate-models/m-p/685053#M32981</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/77029"&gt;@lezgin&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Sorry if it wasn't clear. Have1 and have2 are subsamples based on the cluster variable.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The problem I am trying to understand is if the two data sets, HAVE1 and HAVE2, can be combined in some reasonable fashion, for example if they are two sub-populations. If the cluster dates are different, it's not clear to me how to proceed. Its also not clear to me how to proceed if one model has a different set of predictor variables than the other model. So I think I will leave it there.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Sep 2020 18:03:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Surveyreg-F-test-of-coefficients-from-separate-models/m-p/685053#M32981</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-09-18T18:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Surveyreg, F-test of coefficients from separate models</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Surveyreg-F-test-of-coefficients-from-separate-models/m-p/685055#M32982</link>
      <description>Yes, the cluster dates are different and this causes differences in independent variables only for time dummies. Otherwise, I could concatenate the two samples and create a binary variable to distinguish one sample from the other and expand the model by interacting all variables with this dummy, the triple interaction between this new binary variable and the x1*x2 interaction would give me the difference and the t-stat but this results in an error since, I believe, some of the dummy variables are missing in one subsample.</description>
      <pubDate>Fri, 18 Sep 2020 18:10:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Surveyreg-F-test-of-coefficients-from-separate-models/m-p/685055#M32982</guid>
      <dc:creator>lezgin</dc:creator>
      <dc:date>2020-09-18T18:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Surveyreg, F-test of coefficients from separate models</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Surveyreg-F-test-of-coefficients-from-separate-models/m-p/685401#M33014</link>
      <description>&lt;P&gt;This is convoluted and perhaps unnecessarily complicated, but what would happen if:&lt;/P&gt;
&lt;P&gt;You create a 'shell' for have1 and have2 so that all of the observations in have1 have a corresponding record in have2 and vice versa. There will be missing values for both the independent and dependent variables.&lt;/P&gt;
&lt;P&gt;Use PROC MI to impute the missing values.&amp;nbsp; This is likely the most complicated part - selecting the best method for imputation.&lt;/P&gt;
&lt;P&gt;Run SURVEYREG on several imputed data sets, with the interaction you are considering in the model.&lt;/P&gt;
&lt;P&gt;Use PROC MIANALYZE to get a combined analysis for the imputed datasets.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 12:41:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Surveyreg-F-test-of-coefficients-from-separate-models/m-p/685401#M33014</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2020-09-21T12:41:04Z</dc:date>
    </item>
  </channel>
</rss>

