m******n 发帖数: 462 | 1 One dataset contains a sample A with two columns: X(i) and Y(i), i=1,2,3....
N
Ratio=X/Y is calculated using DFFITS for outliers accommpdation, so variance
weight(VWi) is applied to each pair of Xi and Yi and the ratio for this
sample
Ratio= sum(VWi*Xi)/sum(VWi*Yi).
If we create two sub-sets of this sample by exogenous standard,
sample A1: X1(i), i=1,2,3....N1
sample A2: X2(i), i=1,2,3....N2
N1+N2=N;
We calculate the ratio=X/Y within each sub-set,
Ratio1=sum(VW1i*X1i)/sum(VW1i*Y1i)
Ratio2=sum(VW |
|