<?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: Fairlie decomposiiton method in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Fairlie-decomposiiton-method/m-p/337694#M63083</link>
    <description>&lt;PRE&gt;
Sorry. I have no time to check all these code. It is too long.
Start a brad new session, post your code too,and let others see this .

&lt;/PRE&gt;</description>
    <pubDate>Fri, 03 Mar 2017 02:49:18 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2017-03-03T02:49:18Z</dc:date>
    <item>
      <title>Fairlie decomposiiton method</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Fairlie-decomposiiton-method/m-p/337134#M63055</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I had post about the Fairlie decomposition method. But again I am having an error, I cannot see the variables RO6 and LB18 in my data set. I tried figuring the problem many times but just cannot figure out what the issue is. I am not getting any error message but just the values of variables are not seen. I am attaching my code as well as the how the dataset looks. Please help. Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2017 20:33:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Fairlie-decomposiiton-method/m-p/337134#M63055</guid>
      <dc:creator>MSALKAR</dc:creator>
      <dc:date>2017-03-01T20:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: Fairlie decomposiiton method</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Fairlie-decomposiiton-method/m-p/337215#M63062</link>
      <description>&lt;P&gt;Post your data and code here. Not Excel or Doc file. nobody would like to download them.&lt;/P&gt;
&lt;P&gt;or you could post some pictures.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2017 02:37:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Fairlie-decomposiiton-method/m-p/337215#M63062</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2017-03-02T02:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: Fairlie decomposiiton method</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Fairlie-decomposiiton-method/m-p/337418#M63065</link>
      <description>&lt;P&gt;This is my code&amp;nbsp;&lt;/P&gt;&lt;P&gt;/*fairlie decomposition 2011-2012*/&lt;BR /&gt;libname MONIKA "C:\Users\msalkar\Desktop\THESIS-MONIKA";&lt;BR /&gt;options obs=max;&lt;BR /&gt;options nolabel ls=75 ps=140;&lt;BR /&gt;%let numiterations=100;&lt;BR /&gt;%let r=2;&lt;BR /&gt;%let gendervars=male female;&lt;BR /&gt;%let k=12;&lt;/P&gt;&lt;P&gt;%let definegroup1 = MM1W MM2W MM3W;&lt;BR /&gt;%let definegroup2 = mahila_mandal VI20;&lt;BR /&gt;%let definegroup3 = religion caste;&lt;BR /&gt;%let definegroup4 = BHED INCOME occupation;&lt;BR /&gt;%let definegroup5 = MOTHERS_EDUCATION FHEADAGE;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;%let definegroup6 = RO6&amp;nbsp; LB18;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;%let labelgroup1="media_exposure";&lt;BR /&gt;%let labelgroup2="social_events";&lt;BR /&gt;%let labelgroup3="cultural_influences";&lt;BR /&gt;%let labelgroup4="household_factors";&lt;BR /&gt;%let labelgroup5="mothers_age/education";&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;%let labelgroup6 = "&lt;/SPAN&gt;&lt;SPAN&gt;TBA"&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;%let mdefinegroup1 = mMM1W mMM2W mMM3W;&lt;BR /&gt;%let mdefinegroup2 = mmahila_mandal mVI20;&lt;BR /&gt;%let mdefinegroup3 = mreligion mcaste;&lt;BR /&gt;%let mdefinegroup4 = mBHED mINCOME moccupation;&lt;BR /&gt;%let mdefinegroup5 = mMOTHERS_EDUCATION mFHEADAGE;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;%let mdefinegroup6 = mRO6&amp;nbsp; mLB18;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;%let wdefinegroup1 = wMM1W wMM2W wMM3W;&lt;BR /&gt;%let wdefinegroup2 = wmahila_mandal wVI20;&lt;BR /&gt;%let wdefinegroup3 = wreligion wcaste;&lt;BR /&gt;%let wdefinegroup4 = wBHED wINCOME woccupation;&lt;BR /&gt;%let wdefinegroup5 = wMOTHERS_EDUCATION wFHEADAGE;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;%let wdefinegroup6 = w&lt;/SPAN&gt;&lt;SPAN&gt;RO6&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;w&lt;/SPAN&gt;&lt;SPAN&gt;LB18&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;%let vars= &amp;amp;definegroup1 &amp;amp;definegroup2 &amp;amp;definegroup3 &amp;amp;definegroup4 &amp;amp;definegroup5 &amp;nbsp;&lt;SPAN&gt;&amp;amp;definegroup6&lt;/SPAN&gt;;&lt;BR /&gt;%let mvars= &amp;amp;mdefinegroup1 &amp;amp;mdefinegroup2 &amp;amp;mdefinegroup3 &amp;amp;mdefinegroup4 &amp;amp;mdefinegroup5 &amp;nbsp;&lt;SPAN&gt;&amp;amp;mdefinegroup6&lt;/SPAN&gt;;&lt;BR /&gt;%let wvars= &amp;amp;wdefinegroup1 &amp;amp;wdefinegroup2 &amp;amp;wdefinegroup3 &amp;amp;wdefinegroup4 &amp;amp;wdefinegroup5 &amp;nbsp;&lt;SPAN&gt;&amp;amp;wdefinegroup6&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data monika.merge2012;&lt;BR /&gt;set monika.merge2011;&lt;BR /&gt;mergeobs=1;&lt;BR /&gt;y=child_immunization;&lt;BR /&gt;if y=. or MM1W=. or MM2W=. or MM3W=. or INCOME=. or FHEADAGE=. or VI20=. or mahila_mandal=. or&lt;BR /&gt;religion=. or caste=. or occupation=. or mothers_education=. then delete;&lt;BR /&gt;if wt=. or wt&amp;lt;=0 then delete;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;data monika.regdata;&lt;BR /&gt;set monika.merge2012;&lt;BR /&gt;if male=1 or female=1; run;&lt;/P&gt;&lt;P&gt;data monika.male (keep=ym wtm &amp;amp;mvars mergeobs);&lt;BR /&gt;set monika.merge2012 ;&lt;BR /&gt;array varsa(&amp;amp;k) &amp;amp;vars;&lt;BR /&gt;array mvarsa(&amp;amp;k) &amp;amp;mvars;&lt;BR /&gt;ym=y;&lt;BR /&gt;wtm=wt;&lt;BR /&gt;do i=1 to &amp;amp;k;&lt;BR /&gt;mvarsa(i)=varsa(i);&lt;BR /&gt;end;&lt;BR /&gt;if male=1 then output; run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;data monika.female (keep=yw wtw &amp;amp;wvars mergeobs);&lt;BR /&gt;set monika.merge2012;&lt;BR /&gt;array varsa(&amp;amp;k) &amp;amp;vars;&lt;BR /&gt;array wvarsa(&amp;amp;k) &amp;amp;wvars;&lt;BR /&gt;yw=y;&lt;BR /&gt;wtw=wt;&lt;BR /&gt;do i=1 to &amp;amp;k;&lt;BR /&gt;wvarsa(i)=varsa(i);&lt;BR /&gt;end;&lt;BR /&gt;if female=1 then output; run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After running this I do not get an error but in the data set the values of the variables RO6 and LB18 are not seen. Below is the dataset;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/7525i99C26908CF1C71EC/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="xxx.png" title="xxx.png" width="475" height="370" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2017 15:46:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Fairlie-decomposiiton-method/m-p/337418#M63065</guid>
      <dc:creator>MSALKAR</dc:creator>
      <dc:date>2017-03-02T15:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: Fairlie decomposiiton method</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Fairlie-decomposiiton-method/m-p/337694#M63083</link>
      <description>&lt;PRE&gt;
Sorry. I have no time to check all these code. It is too long.
Start a brad new session, post your code too,and let others see this .

&lt;/PRE&gt;</description>
      <pubDate>Fri, 03 Mar 2017 02:49:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Fairlie-decomposiiton-method/m-p/337694#M63083</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2017-03-03T02:49:18Z</dc:date>
    </item>
  </channel>
</rss>

