<?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 and confidence intervals in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/variance-and-confidence-intervals/m-p/25356#M5734</link>
    <description>Hello&lt;BR /&gt;
&lt;BR /&gt;
I have two sources of data that should both over the month have totals very close.&lt;BR /&gt;
&lt;BR /&gt;
What is the best procedures to use to compute the variance of the difference and compute  a confidence interval around that difference?&lt;BR /&gt;
&lt;BR /&gt;
Help Please.&lt;BR /&gt;
&lt;BR /&gt;
Fred</description>
    <pubDate>Fri, 29 Oct 2010 14:32:37 GMT</pubDate>
    <dc:creator>fredbell</dc:creator>
    <dc:date>2010-10-29T14:32:37Z</dc:date>
    <item>
      <title>variance and confidence intervals</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/variance-and-confidence-intervals/m-p/25356#M5734</link>
      <description>Hello&lt;BR /&gt;
&lt;BR /&gt;
I have two sources of data that should both over the month have totals very close.&lt;BR /&gt;
&lt;BR /&gt;
What is the best procedures to use to compute the variance of the difference and compute  a confidence interval around that difference?&lt;BR /&gt;
&lt;BR /&gt;
Help Please.&lt;BR /&gt;
&lt;BR /&gt;
Fred</description>
      <pubDate>Fri, 29 Oct 2010 14:32:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/variance-and-confidence-intervals/m-p/25356#M5734</guid>
      <dc:creator>fredbell</dc:creator>
      <dc:date>2010-10-29T14:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: variance and confidence intervals</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/variance-and-confidence-intervals/m-p/25357#M5735</link>
      <description>Are you looking to compare the totals, which are two numbers or a series of numbers?  &lt;BR /&gt;
&lt;BR /&gt;
ie data set1&lt;BR /&gt;
month1 3&lt;BR /&gt;
month2 5 &lt;BR /&gt;
month3 5&lt;BR /&gt;
&lt;BR /&gt;
data set2&lt;BR /&gt;
month1 4&lt;BR /&gt;
month2 9&lt;BR /&gt;
month3 3&lt;BR /&gt;
&lt;BR /&gt;
If so use the Procedure TTEST with paired options, but you will have to combine the data first. &lt;BR /&gt;
&lt;BR /&gt;
Proc compare will compare the differences between two dataset values, but not variance. &lt;BR /&gt;
&lt;BR /&gt;
If just two values you can't calculate variance.</description>
      <pubDate>Fri, 29 Oct 2010 16:16:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/variance-and-confidence-intervals/m-p/25357#M5735</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2010-10-29T16:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: variance and confidence intervals</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/variance-and-confidence-intervals/m-p/25358#M5736</link>
      <description>&amp;gt; What is the best procedures to use to compute the&lt;BR /&gt;
&amp;gt; variance of the difference and compute  a confidence&lt;BR /&gt;
&amp;gt; interval around that difference?&lt;BR /&gt;
&lt;BR /&gt;
Variance of the difference of means?&lt;BR /&gt;
&lt;BR /&gt;
Variance of the difference of totals?&lt;BR /&gt;
&lt;BR /&gt;
Variance of the differences of the individual month data?&lt;BR /&gt;
&lt;BR /&gt;
Compare variance of group 1 to variance of group 2 (which would not be done via a difference)?

Message was edited by: Paige</description>
      <pubDate>Fri, 29 Oct 2010 16:25:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/variance-and-confidence-intervals/m-p/25358#M5736</guid>
      <dc:creator>Paige</dc:creator>
      <dc:date>2010-10-29T16:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: variance and confidence intervals</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/variance-and-confidence-intervals/m-p/25359#M5737</link>
      <description>Example of two different data sources of same information.&lt;BR /&gt;
Actual date range would be for example Jan-01-10 through Mar-01-10.&lt;BR /&gt;
&lt;BR /&gt;
Source A                                         Source B&lt;BR /&gt;
&lt;BR /&gt;
Date            Amount                            Date           Amount&lt;BR /&gt;
 &lt;BR /&gt;
&lt;BR /&gt;
Jan-01-10    123231                            Jan-01-10    123231   &lt;BR /&gt;
Jan-02-10    272626                            Jan-02-10    272726&lt;BR /&gt;
Jan-03-10    263736                            Jan-03-10    263736&lt;BR /&gt;
Jan-04-10    264564                            Jan-04-10    264564&lt;BR /&gt;
Jan-05-10    352435                            Jan-05-10    352445&lt;BR /&gt;
Jan-06-10    736355                            Jan-06-10    736320&lt;BR /&gt;
Jan-07-10    142336                            Jan-07-10    141336&lt;BR /&gt;
Jan-08-10    112435                            Jan-08-10    112500&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Fred</description>
      <pubDate>Sun, 31 Oct 2010 20:11:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/variance-and-confidence-intervals/m-p/25359#M5737</guid>
      <dc:creator>fredbell</dc:creator>
      <dc:date>2010-10-31T20:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: variance and confidence intervals</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/variance-and-confidence-intervals/m-p/25360#M5738</link>
      <description>Fred, this example of data doesn't answer any of my questions.</description>
      <pubDate>Mon, 01 Nov 2010 13:24:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/variance-and-confidence-intervals/m-p/25360#M5738</guid>
      <dc:creator>Paige</dc:creator>
      <dc:date>2010-11-01T13:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: variance and confidence intervals</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/variance-and-confidence-intervals/m-p/25361#M5739</link>
      <description>Sorry Paige the boss did not confirm, will it effect the Proc ttest paired that was suggested by Reeza?&lt;BR /&gt;
&lt;BR /&gt;
Fred

Message was edited by: fredbell</description>
      <pubDate>Mon, 01 Nov 2010 13:48:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/variance-and-confidence-intervals/m-p/25361#M5739</guid>
      <dc:creator>fredbell</dc:creator>
      <dc:date>2010-11-01T13:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: variance and confidence intervals</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/variance-and-confidence-intervals/m-p/25362#M5740</link>
      <description>&amp;gt; Sorry Paige the boss did not confirm, will it effect&lt;BR /&gt;
&amp;gt; the Proc ttest paired that was suggested by Reeza?&lt;BR /&gt;
&lt;BR /&gt;
If you do a t-test and answer the wrong question, the results are meaningless.</description>
      <pubDate>Mon, 01 Nov 2010 14:28:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/variance-and-confidence-intervals/m-p/25362#M5740</guid>
      <dc:creator>Paige</dc:creator>
      <dc:date>2010-11-01T14:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: variance and confidence intervals</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/variance-and-confidence-intervals/m-p/25363#M5741</link>
      <description>Paige is correct. &lt;BR /&gt;
&lt;BR /&gt;
It really depends on the type of question you're trying to answer. &lt;BR /&gt;
&lt;BR /&gt;
Looking at your data I see two possible questions:&lt;BR /&gt;
&lt;BR /&gt;
1) Are the two data sources the same? &lt;BR /&gt;
2) Are the monthly values the same for different areas of a call center? &lt;BR /&gt;
&lt;BR /&gt;
I interpreted this as 2, but it could easily be 1 and it changes how you deal with things. Or any number of things I can't even think of...and you previously mentioned monthly totals but have daily data &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
Perhaps state the LOGIC/business problem you're trying to solve, along with the SAS steps you're having issues?  Helping you do the wrong thing doesn't help anyone.</description>
      <pubDate>Mon, 01 Nov 2010 17:57:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/variance-and-confidence-intervals/m-p/25363#M5741</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2010-11-01T17:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: variance and confidence intervals</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/variance-and-confidence-intervals/m-p/25364#M5742</link>
      <description>Hi.&lt;BR /&gt;
From your data structure ,I guess your data is matched data,right?&lt;BR /&gt;
if it is so, then first calculate the difference of these two variables ( i.e. dif=var1-var1),&lt;BR /&gt;
then for this dif using proc ttest or using proc n1parway Wilcoxon-rank-sum-test(strongly reference to, for the sake of nonparameter method).&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ksharp</description>
      <pubDate>Tue, 02 Nov 2010 06:17:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/variance-and-confidence-intervals/m-p/25364#M5742</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2010-11-02T06:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: variance and confidence intervals</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/variance-and-confidence-intervals/m-p/25365#M5743</link>
      <description>&amp;gt; Hi.&lt;BR /&gt;
&amp;gt; From your data structure ,I guess your data is&lt;BR /&gt;
&amp;gt; matched data,right?&lt;BR /&gt;
&amp;gt; if it is so, then first calculate the difference of&lt;BR /&gt;
&amp;gt; these two variables ( i.e. dif=var1-var1),&lt;BR /&gt;
&amp;gt; then for this dif using proc ttest or using proc&lt;BR /&gt;
&amp;gt; n1parway Wilcoxon-rank-sum-test(strongly reference&lt;BR /&gt;
&amp;gt; to, for the sake of nonparameter method).&lt;BR /&gt;
&lt;BR /&gt;
All of this might make sense in some situations, but the original request was to compute a variance, not compare means. Which is why I keep asking for clarification on exactly what the user wants.&lt;BR /&gt;
&lt;BR /&gt;
Message was edited by: Paige&lt;BR /&gt;
&lt;BR /&gt;
Message was edited by: Paige

Message was edited by: Paige</description>
      <pubDate>Tue, 02 Nov 2010 12:04:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/variance-and-confidence-intervals/m-p/25365#M5743</guid>
      <dc:creator>Paige</dc:creator>
      <dc:date>2010-11-02T12:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: variance and confidence intervals</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/variance-and-confidence-intervals/m-p/25366#M5744</link>
      <description>&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Wed, 03 Nov 2010 01:30:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/variance-and-confidence-intervals/m-p/25366#M5744</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2010-11-03T01:30:34Z</dc:date>
    </item>
  </channel>
</rss>

