<?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 cross country analysis of different years? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/cross-country-analysis-of-different-years/m-p/123013#M6461</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I was asked from my employer wether it is possible to make a regression from a cross country survey dataset collected over several years (see example):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="201" style="border: 1px solid rgb(0, 0, 0); width: 288px; height: 198px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Happiness&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Income&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Country&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Year&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;8&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100.000&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Sweden&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2001&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;7&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;150.000&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Sweden&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2003&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;90.000&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Poland&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2001&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;80.000&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Poland&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2003&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;120.000&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;GB&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2001&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;6&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;120.000&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;GB&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2001&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;110.000&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;GB&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2003&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The model is: Happiness = Income * X&lt;/P&gt;&lt;P&gt;But I want to take the country of the survey and the year the survey was performed into consideration. Do I have to make some country and year dummies and the inteaction dummy (between income, country and year)? Do SAS have a procedure for this kind of analysis?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 May 2012 08:00:28 GMT</pubDate>
    <dc:creator>Dan_yu_W</dc:creator>
    <dc:date>2012-05-22T08:00:28Z</dc:date>
    <item>
      <title>cross country analysis of different years?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/cross-country-analysis-of-different-years/m-p/123013#M6461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I was asked from my employer wether it is possible to make a regression from a cross country survey dataset collected over several years (see example):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="201" style="border: 1px solid rgb(0, 0, 0); width: 288px; height: 198px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Happiness&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Income&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Country&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Year&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;8&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100.000&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Sweden&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2001&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;7&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;150.000&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Sweden&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2003&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;90.000&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Poland&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2001&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;80.000&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Poland&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2003&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;120.000&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;GB&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2001&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;6&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;120.000&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;GB&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2001&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;110.000&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;GB&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2003&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The model is: Happiness = Income * X&lt;/P&gt;&lt;P&gt;But I want to take the country of the survey and the year the survey was performed into consideration. Do I have to make some country and year dummies and the inteaction dummy (between income, country and year)? Do SAS have a procedure for this kind of analysis?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2012 08:00:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/cross-country-analysis-of-different-years/m-p/123013#M6461</guid>
      <dc:creator>Dan_yu_W</dc:creator>
      <dc:date>2012-05-22T08:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: cross country analysis of different years?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/cross-country-analysis-of-different-years/m-p/123014#M6462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would try PROC GLIMMIX.&amp;nbsp; It appears that you have an ordinal multinomial response, one continuous variable, one classification variable (country), and one variable that is going to cause problems (year).&amp;nbsp; I don't think year has the same meaning in each country, and in some sense, it is a repeated measurement on the country.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like this (untested) might be a good start:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc glimmix data=yourdata;&lt;/P&gt;&lt;P&gt;class country year;&lt;/P&gt;&lt;P&gt;model happiness= income country income*country/dist=mult link=clogit;&lt;/P&gt;&lt;P&gt;random year/subject=country residual type=un;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Options for odds ratios could be added.&amp;nbsp; Example 40.13 in the GLIMMIX documentation may help as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2012 12:30:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/cross-country-analysis-of-different-years/m-p/123014#M6462</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2012-05-22T12:30:03Z</dc:date>
    </item>
  </channel>
</rss>

