<?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: How do I organize my data? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/How-do-I-organize-my-data/m-p/120326#M33160</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't fully understand your question, can you provide more details. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you looking to organize a dataset or your output table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Oct 2013 23:54:13 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2013-10-22T23:54:13Z</dc:date>
    <item>
      <title>How do I organize my data?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-do-I-organize-my-data/m-p/120324#M33158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to organize my dataset with multiple variables in a table with descriptive statistics. Some of them are responses to demographic questions, some responses to survey questions, and then there are many additional variables that I do not need to analyze.&amp;nbsp;&amp;nbsp; How do I arrange these in a table so that I see only the variables I want to see and not the ones I don't? (ie drop the ones I don't need or select the ones I do need?) I know I use the:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc freq&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;procedure-- just not exactly sure how to go from there. Appreciate any help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 19:25:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-do-I-organize-my-data/m-p/120324#M33158</guid>
      <dc:creator>cnspencer</dc:creator>
      <dc:date>2013-10-22T19:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: How do I organize my data?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-do-I-organize-my-data/m-p/120325#M33159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; export the variables to Excel and then sort it in the way you like to see in the final output . Delete the variables you don't like to keep. Then run the following code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%let keep_var= &amp;lt;copy and paste the sorted variable names from Excel here or just type in the variable names you like to keep&amp;gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; data want;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; retain &amp;amp;keep_var.;&lt;/P&gt;&lt;P&gt;set have;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 23:37:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-do-I-organize-my-data/m-p/120325#M33159</guid>
      <dc:creator>Mit</dc:creator>
      <dc:date>2013-10-22T23:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: How do I organize my data?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-do-I-organize-my-data/m-p/120326#M33160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't fully understand your question, can you provide more details. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you looking to organize a dataset or your output table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 23:54:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-do-I-organize-my-data/m-p/120326#M33160</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-10-22T23:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: How do I organize my data?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-do-I-organize-my-data/m-p/120327#M33161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correct Reeza. I assumed that cnspencer asked about organizing the output data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 00:17:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-do-I-organize-my-data/m-p/120327#M33161</guid>
      <dc:creator>Mit</dc:creator>
      <dc:date>2013-10-23T00:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: How do I organize my data?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-do-I-organize-my-data/m-p/120328#M33162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Reeza and Mit-- Perhaps my question was misleading-- I'm basically trying to see my data in a table- that summarizes the frequencies and descriptive statistics for only select variables I'm analyzing (some dichotomous, some contininous, and most categorical)- I thought I used:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc freq;&lt;/P&gt;&lt;P&gt;table (var1) (var2) (var3) (etc..)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just wondering if there is a better way to do this? So that it will summarize output I want, organized in a way that makes sense for what I'm trying to do (which is describe my population so that I can then look at whether or not those charateristics predict certain outcomes..)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 14:51:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-do-I-organize-my-data/m-p/120328#M33162</guid>
      <dc:creator>cnspencer</dc:creator>
      <dc:date>2013-10-23T14:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: How do I organize my data?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-do-I-organize-my-data/m-p/120329#M33163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not really. Generally I'll just run a whole bunch of procs (freq/means) on my variables to first get an idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once I'm more familiar with my data then I follow the standards in this paper for preparing results, primarily for publication. SAS doesn't do this by default, so it takes a bit of manipulation by the coder/user to generate such tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sciencedirect.com/science/article/pii/S1079210407000807" title="http://www.sciencedirect.com/science/article/pii/S1079210407000807"&gt; A guide for preparing a patient-oriented research manuscript &lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 14:55:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-do-I-organize-my-data/m-p/120329#M33163</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-10-23T14:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do I organize my data?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-do-I-organize-my-data/m-p/120330#M33164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Reeza. Yeah I'm pretty skilled/educated on analyzing the output-- it's just getting my data to give me that output (ie knowing the SAS language since I was required to use STATA in school &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://communities.sas.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you just dump all variables in following the table statement? Is it ok to place variables of mixed types (cont/cat/dichot) following the table statement? Also-- do you know a command for merging 2 data sets together so that I can look at everything in one big table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 16:05:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-do-I-organize-my-data/m-p/120330#M33164</guid>
      <dc:creator>cnspencer</dc:creator>
      <dc:date>2013-10-23T16:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: How do I organize my data?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-do-I-organize-my-data/m-p/120331#M33165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check out the UCLA tutorials:&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://www.ats.ucla.edu/stat/sas/" title="http://www.ats.ucla.edu/stat/sas/"&gt;http://www.ats.ucla.edu/stat/sas/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's fine to dump all the categorical data into a proc freq but useless for continuous variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For continuous variables use proc univariate instead.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 16:09:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-do-I-organize-my-data/m-p/120331#M33165</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-10-23T16:09:50Z</dc:date>
    </item>
  </channel>
</rss>

