Thread Subject: Weighted paired t-test

Subject: Weighted paired t-test

From: Treli

Date: 25 Nov, 2009 20:43:20

Message: 1 of 1


Hi,

I wanted to perform a weighted paired t-test. In my understanding, the only difference between a weighted and unweighted t-test is the fact that for the weighted t-test I need to use the weighted mean (wmean) and the weighted variance. If this is so, then then should the following give me what I want?

wmap = wmean(data1-data2 ,W)./(sqrt(var(data1 - data2), W)/size(data1,1));

where W is a vector the size of data1 (and data2, since this is a paired t-test).

Many thanks in advance for your help,
T

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
weighted variance Treli 25 Nov, 2009 15:44:08
weighted ttest Treli 25 Nov, 2009 15:44:08
statistics Treli 25 Nov, 2009 15:44:07
rssFeed for this Thread

Contact us at files@mathworks.com