<?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 Pool data from two different cohorts in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Pool-data-from-two-different-cohorts/m-p/430018#M106261</link>
    <description>&lt;P&gt;Hello, I am performing a survival analysis with harmonized data from two different cohorts. Is there something in SAS in which I can pool the data for the two different cohorts. So give more weight to one of the cohorts compared to the other in my PHREG procedure? Thank you!&lt;/P&gt;</description>
    <pubDate>Tue, 23 Jan 2018 15:14:23 GMT</pubDate>
    <dc:creator>hovliza</dc:creator>
    <dc:date>2018-01-23T15:14:23Z</dc:date>
    <item>
      <title>Pool data from two different cohorts</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Pool-data-from-two-different-cohorts/m-p/430018#M106261</link>
      <description>&lt;P&gt;Hello, I am performing a survival analysis with harmonized data from two different cohorts. Is there something in SAS in which I can pool the data for the two different cohorts. So give more weight to one of the cohorts compared to the other in my PHREG procedure? Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2018 15:14:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Pool-data-from-two-different-cohorts/m-p/430018#M106261</guid>
      <dc:creator>hovliza</dc:creator>
      <dc:date>2018-01-23T15:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: Pool data from two different cohorts</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Pool-data-from-two-different-cohorts/m-p/430045#M106271</link>
      <description>&lt;P&gt;If the variable names are the same, you should be able to stack the datasets and assign different weights to the two cohorts. You can then use the WEIGHT statement in PHREG to assign the weighted value to the data. Here's one way to add the weights as you stack the datasets:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data out;
	set dataset1(in=in1) dataset2(in=in2);
	if in1 then Weight=0.25;
	else if in2 then Weight=0.75;
	else Weight=0; *probably not needed;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 23 Jan 2018 15:47:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Pool-data-from-two-different-cohorts/m-p/430045#M106271</guid>
      <dc:creator>ebowen</dc:creator>
      <dc:date>2018-01-23T15:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Pool data from two different cohorts</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Pool-data-from-two-different-cohorts/m-p/430057#M106277</link>
      <description>&lt;P&gt;Thank you, this helps a lot!&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2018 16:09:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Pool-data-from-two-different-cohorts/m-p/430057#M106277</guid>
      <dc:creator>hovliza</dc:creator>
      <dc:date>2018-01-23T16:09:05Z</dc:date>
    </item>
  </channel>
</rss>

