<?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 freq weight in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/proc-freq-weight/m-p/203671#M50799</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you ballardw for your response. The analysis plan was decided prior to collection but I am an intern and am detached from that process. I found myself questioning the proposed approach and will just leave it at that. Thank you again for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Aug 2015 17:01:10 GMT</pubDate>
    <dc:creator>Aves9019</dc:creator>
    <dc:date>2015-08-20T17:01:10Z</dc:date>
    <item>
      <title>proc freq weight</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-freq-weight/m-p/203669#M50797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excuse my ignorance I’m new to SAS. Anyone have a suggestion on how to analyze&lt;BR /&gt;the following. The data consists of two data sets one being a control the other&lt;BR /&gt;representing implementation. A program was implemented to potentially increase attendance&lt;BR /&gt;in local schools. So each data set represents a list of schools and the attendance rate for each school. I took a&lt;BR /&gt;categorical approach to the data and used proc freq including the weight&lt;BR /&gt;command in order to generate a chi-sqre. I have a feeling my approach is incorrect&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 15:06:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-freq-weight/m-p/203669#M50797</guid>
      <dc:creator>Aves9019</dc:creator>
      <dc:date>2015-08-20T15:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: proc freq weight</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-freq-weight/m-p/203670#M50798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In a pedantic scholarly mode I would say that the analysis plan, the types of tests to be conducted with the data should have been decided upon before the data was collected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The main thing to consider is what are you looking to compare? If it is a rate, then t-test for the mean rate between groups could be likely. &lt;/P&gt;&lt;P&gt;Chi-square would tell you if the distribution of responses was similar. Which works much better with categories than the almost certain different rate for each school.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would recommend structuring your data into a single data set with a variable to indicate source, control or test, and start with tests of normality to see if t-test or other approach is needed, likely if the sample number of schools is small.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basic way to combine the data:&lt;/P&gt;&lt;P&gt;data combined;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ControlData (in=incontrol)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TestData &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if incontrol then source='Control';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else source='Test';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Source variable could then be used as a grouping or class variable in many procedures.&lt;/P&gt;&lt;P&gt;I hope that the weight variable is the basic number of enrolled children in the school.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the schools represent different populations, such as elementary, middle / junior high, high school it might be helpful to include that as a category as you may different results between the grades. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 15:48:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-freq-weight/m-p/203670#M50798</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-08-20T15:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: proc freq weight</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-freq-weight/m-p/203671#M50799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you ballardw for your response. The analysis plan was decided prior to collection but I am an intern and am detached from that process. I found myself questioning the proposed approach and will just leave it at that. Thank you again for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 17:01:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-freq-weight/m-p/203671#M50799</guid>
      <dc:creator>Aves9019</dc:creator>
      <dc:date>2015-08-20T17:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: proc freq weight</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-freq-weight/m-p/203672#M50800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is not uncommon that something in the results from the original plan raises questions. Sometimes they are additional interesting results, sometimes they are flaws in the data collection. So don't be afraid to experiment, but start with the plan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other ways to slice the data for comparisons could be by some category of school size (total enrollment), urban/suburban/rural locations, if you can get a good poverty index (School Free and Reduced Lunch participation rates may be available), ethic make-up.&lt;/P&gt;&lt;P&gt;Of course slicing the data more ways simultaneously requires more sample so may not be practical.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 20:19:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-freq-weight/m-p/203672#M50800</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-08-20T20:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: proc freq weight</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-freq-weight/m-p/203673#M50801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you again ballardw!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 13:37:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-freq-weight/m-p/203673#M50801</guid>
      <dc:creator>Aves9019</dc:creator>
      <dc:date>2015-08-25T13:37:43Z</dc:date>
    </item>
  </channel>
</rss>

