Weighted mean [Software]

posted by Helmut Homepage – Vienna, Austria, 2008-05-28 13:55 (6186 d 03:05 ago) – Posting: # 1878
Views: 8,555

Dear Yu!

❝ You said the method of equivtest 2.0 is right in the former while it is wrong in the latter. Please clarify it.


You are right, I did not express myself clearly.
EquivTest v2 and /PK are using the correct formula in all situations (n1=n2 and n1#n2), whereas the formula of v1 is only correct for n1=n2. The formula of v1 is wrong for unbalanced studies (n1#n2).

BTW, the correct method is the 'weighted mean'; an example:
x1 of n1 numbers [1,2,3] is (1+2+3)/3 = 2,
x2 of n2 numbers [4,5] is (4+5)/2 = 4.5.
The weighted mean xw for two groups is defined with (x1n1+x2n2)/(n1+n2), giving (2×3+4.5×2)/(3+2) = 3.
The 'mean of the means' (x1+x2)/2 irrespective of the size of groups (EquivTest 1) leads to (2+4.5)/2 = 3.25.
The bias (in our case +0.25) can be positive or negative, but always drags the overall-mean towards the mean of the smaller group.

Dif-tor heh smusma 🖖🏼 Довге життя Україна! [image]
Helmut Schütz
[image]

The quality of responses received is directly proportional to the quality of the question asked. 🚮
Science Quotes

Complete thread:

UA Flag
Activity
 Admin contact
23,424 posts in 4,927 threads, 1,671 registered users;
53 visitors (0 registered, 53 guests [including 5 identified bots]).
Forum time: 17:00 CEST (Europe/Vienna)

My doctor gave me six months to live,
but when I couldn’t pay the bill
he gave me six months more.    Walter Matthau

The Bioequivalence and Bioavailability Forum is hosted by
BEBAC Ing. Helmut Schütz
HTML5