<?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 Variance of Difference of Ratio Means in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Variance-of-Difference-of-Ratio-Means/m-p/66920#M19125</link>
    <description>I have gotten a request from our statistician to compute the ratio mean, variance of the ratio mean, difference between ratio means, and variance of the difference between ratio means for our clinical trial.  The goal is to examine rates of different events (e.g. headache) occurring between our clinics and between our studies.  The statistical documentation I received deals with stratified unequal clusters and provides some simple, yet cumbersome formulas for these statistics.  I have been searching for a SAS procedure that will calculate these values, but I haven't found anything, or perhaps I simply am not recognizing the right thing.&lt;BR /&gt;
&lt;BR /&gt;
Here are the forumlas given in case this illustrates what I need better (there are other more computational formulas I have as well):&lt;BR /&gt;
&lt;BR /&gt;
ratio mean: r = y/x&lt;BR /&gt;
var(r) = (1/x^2)(sum(var(y)) + r^2*sum(var(x)) - 2r*sum(cov(y,x))), sums over the strata&lt;BR /&gt;
&lt;BR /&gt;
difference: r - r' = y/x - y'/x'&lt;BR /&gt;
var(r - r') = var(r) + var(r') - 2cov(r,r')&lt;BR /&gt;
&lt;BR /&gt;
Any help would be appreciated, even if that I have to write code to compute these.  Thanks.</description>
    <pubDate>Mon, 22 Dec 2008 21:56:39 GMT</pubDate>
    <dc:creator>Kastchei</dc:creator>
    <dc:date>2008-12-22T21:56:39Z</dc:date>
    <item>
      <title>Variance of Difference of Ratio Means</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Variance-of-Difference-of-Ratio-Means/m-p/66920#M19125</link>
      <description>I have gotten a request from our statistician to compute the ratio mean, variance of the ratio mean, difference between ratio means, and variance of the difference between ratio means for our clinical trial.  The goal is to examine rates of different events (e.g. headache) occurring between our clinics and between our studies.  The statistical documentation I received deals with stratified unequal clusters and provides some simple, yet cumbersome formulas for these statistics.  I have been searching for a SAS procedure that will calculate these values, but I haven't found anything, or perhaps I simply am not recognizing the right thing.&lt;BR /&gt;
&lt;BR /&gt;
Here are the forumlas given in case this illustrates what I need better (there are other more computational formulas I have as well):&lt;BR /&gt;
&lt;BR /&gt;
ratio mean: r = y/x&lt;BR /&gt;
var(r) = (1/x^2)(sum(var(y)) + r^2*sum(var(x)) - 2r*sum(cov(y,x))), sums over the strata&lt;BR /&gt;
&lt;BR /&gt;
difference: r - r' = y/x - y'/x'&lt;BR /&gt;
var(r - r') = var(r) + var(r') - 2cov(r,r')&lt;BR /&gt;
&lt;BR /&gt;
Any help would be appreciated, even if that I have to write code to compute these.  Thanks.</description>
      <pubDate>Mon, 22 Dec 2008 21:56:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Variance-of-Difference-of-Ratio-Means/m-p/66920#M19125</guid>
      <dc:creator>Kastchei</dc:creator>
      <dc:date>2008-12-22T21:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Variance of Difference of Ratio Means</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Variance-of-Difference-of-Ratio-Means/m-p/66921#M19126</link>
      <description>Have you looked at proc means ?</description>
      <pubDate>Mon, 22 Dec 2008 22:36:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Variance-of-Difference-of-Ratio-Means/m-p/66921#M19126</guid>
      <dc:creator>GertNissen</dc:creator>
      <dc:date>2008-12-22T22:36:44Z</dc:date>
    </item>
  </channel>
</rss>

