MathematicsJul 1900

Manuscript Offprint

Mathematics

X. On the criterion that a given system of deviations from the probable in the case of a correlated system of variables is such that it can be reasonably supposed to have arisen from random sampling

Karl Pearson

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

This article was downloaded by: [Cornell University]

On: 17 July 2012, At: 13:39

Publisher: Taylor & Francis

Informa Ltd Registered in England and Wales Registered Number: 1072954

Registered office: Mortimer House, 37-41 Mortimer Street, London W1T 3JH, UK

Figure

Philosophical Magazine Series 5

Publication details, including instructions for authors and subscription information:

http://www.tandfonline.com/loi/tphm16

X. On the criterion that a given system of deviations from the probable in the case of a correlated system of variables is such that it can be reasonably supposed to have arisen from random sampling

Karl Pearson F.R.S. a

a University College, London

Version of record first published: 21 Apr 2009

To cite this article: Karl Pearson F.R.S. (1900): X. On the criterion that a given system of deviations from the probable in the case of a correlated system of variables is such that it can be reasonably supposed to have arisen from random sampling, Philosophical Magazine Series 5, 50:302, 157-175

To link to this article: http://dx.doi.org/10.1080/14786440009463897

PLEASE SCROLL DOWN FOR ARTICLE

Full terms and conditions of use: http://www.tandfonline.com/page/terms-and-conditions

This article may be used for research, teaching, and private study purposes. Any substantial or systematic reproduction, redistribution, reselling, loan, sub-licensing, systematic supply, or distribution in any form to anyone is expressly forbidden.

The publisher does not give any warranty express or implied or make any representation that the contents will be complete or accurate or up to date. The accuracy of any instructions, formulae, and drug doses should be independently verified with primary sources. The publisher shall not be liable for any loss, actions, claims, proceedings, demand, or costs or damages whatsoever or howsoever caused arising directly or indirectly in connection with or arising out of the use of this material.

[157]

X. On the Criterion that a given System of Deviations from the Probable in the Case of a Correlated System of Variables is such that it can be reasonably supposed to have arisen from Random Sampling. By KARL PEARSON, F.R.S., University College, London*.

THE object of this paper is to investigate a criterion of the probability on any theory of an observed system of errors, and to apply it to the determination of goodness of fit in the case of frequency curves.

(1) Preliminary Proposition. Let x1,x2,…,xnx_1, x_2, \ldots, x_n be a system of deviations from the means of n variables with standard deviations σ1,σ2,…,σn\sigma_1, \sigma_2, \ldots, \sigma_n and with correlations r12,r13,r23,…,rn−1,nr_{12}, r_{13}, r_{23}, \ldots, r_{n-1,n}.

Then the frequency surface is given by

−i{S1(RppRxp2σp2)+2S2(RpqRxpσpxqσq)}Z=Z0e,……\begin{aligned}{-\mathbf{i}\left\{\mathbf{S}_{1}\Big(\frac{\mathbf{R}_{p p}}{\mathbf{R}}\frac{x_{p}{}^{2}}{\sigma_{p}{}^{2}}\Big)+2\mathbf{S}_{2}\Big(\frac{\mathbf{R}_{p q}}{\mathbf{R}}\frac{x_{p}}{\sigma_{p}}\frac{x_{q}}{\sigma_{q}}\Big)\right\}}\\ {\mathbf{Z}=\mathbf{Z}_{0}e}\\ \end{aligned},\quad\ldots\quad\ldots

(i.)

where R is the determinant

∣1r12r13…r1nr211r23…r2nr31r321…r3n⋮⋮⋮⋮⋮⋮⋮⋮⋮⋮rn1rn2rn3…1∣\left|\begin{array}{c c c c c}{1}&{r_{12}}&{r_{13}\ldots r_{1n}}&{}&{}\\ {r_{21}}&{1}&{r_{23}\ldots r_{2n}}&{}&{}\\ {r_{31}}&{r_{32}}&{1\ldots r_{3n}}&{}&{}\\ {\vdots}&{\vdots}&{\vdots}&{\vdots}&{\vdots}\\ {\vdots}&{\vdots}&{\vdots}&{\vdots}&{\vdots}\\ {r_{n1}}&{r_{n2}}&{r_{n3}\ldots1}&{}&{}\\ \end{array}\right|

and RppR_{pp}, RpqR_{pq} the minors obtained by striking out the pth row and pth column, and the pth row and qth column. S1S_{1} is the sum for every value of p, and S2S_{2} for every pair of values of p and q.

Now let

χ2=S1(RppRxp2σp2)+2S2(RpqRxpxqσpσq).⋅⋅⋅\chi^{2}=\mathrm{S}_{1}\Big(\frac{\mathrm{R}_{p p}}{\mathrm{R}}\frac{x_{p}{}^{2}}{\sigma_{p}{}^{2}}\Big)+2\mathrm{S}_{2}\Big(\frac{\mathrm{R}_{p q}}{\mathrm{R}}\frac{x_{p}x_{q}}{\sigma_{p}\sigma_{q}}\Big).\quad\cdot\quad\cdot\quad\cdot

(ii.)

Then: χ2=constant\chi^2 = \text{constant}, is the equation to a generalized “ellipsoid,” all over the surface of which the frequency of the system of errors or deviations x1,x2,…,xnx_1, x_2, \ldots, x_n is constant. The values which χ\chi must be given to cover the whole of space are from 0 to ∞\infty. Now suppose the “ellipsoid” referred to its principal axes, and then by squeezing reduced to a sphere, X1,X2,…,XX_1, X_2, \ldots, X being now the coordinates; then the chances of a system of errors with as great or greater frequency than

∗^{*} Communicated by the Author.

Prof. Karl Pearson on Deviations from the

that denoted by χ\chi is given by

P=[⋯⋯]e−12χ2dX1dX2⋯dXn]χ∞[⋯⋯]e−12χ2dX1dX2⋯dXn]0∞,\mathrm{P}=\frac{\left[\begin{array}{c}\cdots\\ \cdots\end{array}\right]e^{-\frac{1}{2}\chi^{2}}d\mathrm{X}_{1}d\mathrm{X}_{2}\cdots d\mathrm{X}_{n}\Big]_{\chi}^{\infty}}{\left[\begin{array}{c}\cdots\\ \cdots\end{array}\right]e^{-\frac{1}{2}\chi^{2}}d\mathrm{X}_{1}d\mathrm{X}_{2}\cdots d\mathrm{X}_{n}\Big]_{0}^{\infty}},

the numerator being an nn-fold integral from the ellipsoid χ\chi to the ellipsoid ∞\infty, and the denominator an nn-fold integral from the ellipsoid 0 to the ellipsoid ∞\infty. A common constant factor divides out. Now suppose a transformation of coordinates to generalized polar coordinates, in which χ\chi may be treated as the ray, then the numerator and denominator will have common integral factors really representing the generalized “solid angles” and having identical limits. Thus we shall reduce our result to

P=∫0∞e−12χ2χn−1dχ∫0∞e−12χ2χn−1dχ.\mathrm{P}=\frac{\int_{0}^{\infty}e^{-\frac{1}{2}\chi^{2}}\chi^{n-1}d\chi}{\int_{0}^{\infty}e^{-\frac{1}{2}\chi^{2}}\chi^{n-1}d\chi}.

(iii.)

This is the measure of the probability of a complex system of n errors occurring with a frequency as great or greater than that of the observed system.

(2) So soon as we know the observed deviations and the probable errors (or σ\sigma's) and correlations of errors in any case we can find χ\chi from (ii.), and then an evaluation of (iii.) gives us what appears to be a fairly reasonable criterion of the probability of such an error occurring on a random selection being made.

For the special purpose we have in view, let us evaluate the numerator of P by integrating by parts; we find

∫χ∞e−12χ2χn−1dχ=[χn−2+(n−2)χn−4+(n−2)(n−4)χn−+⋯+(n−2)(n−4)(n−6)⋯(n−2r−2)χn−2r]e−12χ2+(n−2)(n−4)(n−6)⋯(n−2r)∫χ∞e−12χ2χn−2r−1=(n−2)(n−4)(n−6)⋯(n−2r)[∫χ∞e−12χ2χn−2r−1dχ+e−12χ2{χn−2rn−2r+χn−2r+2(n−2r)(n−2r+2)+χn−2r+4(n−2r)+(n−2r+2)(n−2r+⋯+χn−2(n−2r)(n−2r+2)⋯(n−2)}.\begin{aligned}\int_{\chi}^{\infty}e^{-\frac{1}{2}\chi^{2}}\chi^{n-1}d\chi=&\left[\chi^{n-2}+(n-2)\chi^{n-4}+(n-2)(n-4)\chi^{n-}\right.\\&+\cdots+(n-2)(n-4)(n-6)\cdots(n-2r-2)\chi^{n-2r}\Big]e^{-\frac{1}{2}\chi^{2}}\\&\left.+(n-2)(n-4)(n-6)\cdots(n-2r)\int_{\chi}^{\infty}e^{-\frac{1}{2}\chi^{2}}\chi^{n-2r-1}\right.\\&=(n-2)(n-4)(n-6)\cdots(n-2r)\Big[\int_{\chi}^{\infty}e^{-\frac{1}{2}\chi^{2}}\chi^{n-2r-1}d\chi\\&+e^{-\frac{1}{2}\chi^{2}}\left\{\frac{\chi^{n-2r}}{n-2r}+\frac{\chi^{n-2r+2}}{(n-2r)(n-2r+2)}+\frac{\chi^{n-2r+4}}{(n-2r)+(n-2r+2)(n-2r+}\right.\\&\left.\cdots+\frac{\chi^{n-2}}{(n-2r)(n-2r+2)\cdots(n-2)}\right\}.\end{aligned}

Probable in a Correlated System of Variables.

159

Further,

∫0∞e−x^2χn−1dχ=(n−2)(n−4)(n−6)…(n−2r)∫0∞e−x^2χn−2r−1dχ.\int_{0}^{\infty}e^{-\hat{x}^{2}}\chi^{n-1}d\chi=(n-2)(n-4)(n-6)\ldots(n-2r)\int_{0}^{\infty}e^{-\hat{x}^{2}}\chi^{n-2r-1}d\chi.

Now n will either be even or odd, or if n be indefinitely great we may take it practically either.

Case (i.) n odd. Take r=n−12r=\frac{n-1}{2}. Hence

P=∫χ∞e−12χ2dχ+e−12χ2{χ1+χ31.3+χ51.3.5+⋯+χn−21.3.5⋯n−2}∫0∞e−12χ2dχ⋯(iv.)\mathrm{P}=\frac{\displaystyle\int_{\chi}^{\infty}e^{-\frac{1}{2}\chi^{2}}d\chi+e^{-\frac{1}{2}\chi^{2}}\left\{\frac{\chi}{1}+\frac{\chi^{3}}{1.3}+\frac{\chi^{5}}{1.3.5}+\cdots+\frac{\chi^{n-2}}{1.3.5\cdots n-2}\right\}}{\displaystyle\int_{0}^{\infty}e^{-\frac{1}{2}\chi^{2}}d\chi}\quad\cdots\quad\mathrm{(i v.)}

But

∫0∞e−12χ2dχ=π2.\int_{0}^{\infty}e^{-\frac{1}{2}\chi^{2}}d\chi=\sqrt{\frac{\pi}{2}}.

Thus

P=2π∫χ∞e−12χ2dχ+2πe−12χ2(χ1+χ31.3+χ51.3.5+⋯+χn−21.3.5⋯n−2).\begin{aligned}\mathrm{P}&=\sqrt{\frac{2}{\pi}}\int_{\chi}^{\infty}e^{-\frac{1}{2}\chi^{2}}d\chi\\&+\sqrt{\frac{2}{\pi}}e^{-\frac{1}{2}\chi^{2}}\Big(\frac{\chi}{1}+\frac{\chi^{3}}{1.3}+\frac{\chi^{5}}{1.3.5}+\cdots+\frac{\chi^{n-2}}{1.3.5\cdots n-2}\Big).\end{aligned}

(v.)

As soon as χ\chi is known this can be at once evaluated.

Case (ii.) n even. Take r=12n−1r=\frac{1}{2}n-1. Hence

P=∫χ∞e−12χ2χdχ+e−12χ2{χ22+χ42.4+χ62.4.6+⋯+χn−22.4.6⋯n−2}∫0∞e−12χ2χdχ=e−12χ2(1+χ22+χ42.4+χ62.4.6+⋯+χn−22.4.6⋯n−2).\begin{aligned}\mathrm{P}&=\frac{\displaystyle\int_{\chi}^{\infty}e^{-\frac{1}{2}\chi^{2}}\chi d\chi+e^{-\frac{1}{2}\chi^{2}}\Big\{\frac{\chi^{2}}{2}+\frac{\chi^{4}}{2.4}+\frac{\chi^{6}}{2.4.6}+\cdots+\frac{\chi^{n-2}}{2.4.6\cdots n-2}\Big\}}{\displaystyle\int_{0}^{\infty}e^{-\frac{1}{2}\chi^{2}}\chi d\chi}\\&=e^{-\frac{1}{2}\chi^{2}}\Big(1+\frac{\chi^{2}}{2}+\frac{\chi^{4}}{2.4}+\frac{\chi^{6}}{2.4.6}+\cdots+\frac{\chi^{n-2}}{2.4.6\cdots n-2}\Big).\end{aligned}

(vi.)

The series (v.) and (vi.) both admit of fairly easy calculation, and give sensibly the same results if n be even moderately large. If we put P=12P = \frac{1}{2} in (v.) and (vi.) we have equations to determine χ=χ0\chi = \chi_0, the value giving the “probability ellipsoid.” This ellipsoid has already been considered by Bertrand for n=2 (probability ellipse) and Cuzber for n=3. The table which concludes this paper gives the values of P for a series of values of χ2\chi^2 in a slightly different case. We can, however, adopt it for general purposes, when we only want a rough approximation to the probability or improbability of a given system of deviations. Suppose we

Prof. Karl Pearson on Deviations from the

have nn correlated variables and we desire to ascertain whether an outlying observed set is really anomalous. Then we calculate χ2\chi^2 from (ii.); next we take n′=n+1n'=n+1 to enter our table, i.e. if we have 7 correlated quantities we should look in the column marked 8. The row χ2\chi^2 and the column n+1n+1 will give the value of P, the probability of a system of deviations as great or greater than the outlier in question. For many practical purposes, the rough interpolation which this table affords will enable us to ascertain the general order of probability or improbability of the observed result, and this is usually what we want.

If nn be very large, we have for the series in (v.) the value e12x2∫0xe−12x2dχ∗e^{\frac{1}{2}x^2}\int_0^x e^{-\frac{1}{2}x^2}d\chi^*, and accordingly

P=2π∫0∞e−12x2dχ=1.P = \sqrt{\frac{2}{\pi}} \int_0^\infty e^{-\frac{1}{2}x^2} d\chi = 1.

Again, the series in (vi.) for nn very large becomes e12x2e^{\frac{1}{2}x^2}, and thus again P=1P=1. These results show that if we have only an indefinite number of groups, each of indefinitely small range, it is practically certain that a system of errors as large or larger than that defined by any value of χ\chi will appear.

Thus, if we take a very great number of groups our test becomes illusory. We must confine our attention in calculating PP to a finite number of groups, and this is undoubtedly what happens in actual statistics. nn will rarely exceed 30, often not be greater than 12.

(3) Now let us apply the above results to the problem of the fit of an observed to a theoretical frequency distribution. Let there be an (n+1)(n+1)-fold grouping, and let the observed frequencies of the groups be

m1′, m2′, m3′… mn′, mn+1′,m'_{1}, \ m'_{2}, \ m'_{3} \ldots \ m'_{n}, \ m'_{n+1},

and the theoretical frequencies supposed known a priori be

m1, m2, m3… mn, mn+1;m_1, \ m_2, \ m_3 \ldots \ m_n, \ m_{n+1};

then S(m)=S(m′)=N=total frequencyS(m)=S(m')=N=\text{total frequency}.

Further, if e=m′−me=m'-m give the error, we have

e1+e2+e3+…+en+1=0.e_1 + e_2 + e_3 + \ldots + e_{n+1} = 0.

Hence only nn of the n+1n+1 errors are variables; the n+1n+1th is

  • Write the series as FF, then we easily find dF/dχ=1+χFdF/d\chi=1+\chi F, whence by integration the above result follows. Geometrically, P=1P=1 means that if nn be indefinitely large, the nnth moment of the tail of the normal curve is equal to the nnth moment of the whole curve, however much or however little we cut off as "tail."

Probable in a Correlated System of Variables.

161

determined when the first nn are known, and in using formula (ii.) we treat only of nn variables. Now the standard deviation for the random variation of epe_{p} is

σp=N(1−mpN)mpN,⋅⋅⋅\sigma_{p}=\sqrt{\mathrm{N}\left(1-\frac{m_{p}}{\mathrm{N}}\right)\frac{m_{p}}{\mathrm{N}}},\quad\cdot\quad\cdot\quad\cdot

(vii.)

and if rpqr_{pq} be the correlation of random error epe_{p} and eqe_{q},

σpσqrpq=−mpmqN .⋅⋅⋅\sigma_{p}\sigma_{q}r_{p q}=-\frac{m_{p}m_{q}}{\mathrm{N}}~.\quad\cdot\quad\cdot\quad\cdot

(viii.)

Now let us write mqN=sin⁡2βq\frac{m_{q}}{N}=\sin^{2}\beta_{q}, where βq\beta_{q} is an auxiliary angle easily found. Then we have

σq=Nsin⁡βqcos⁡βq,⋅⋅⋅⋅\sigma_{q}=\sqrt{N}\sin\beta_{q}\cos\beta_{q},\quad\cdot\quad\cdot\quad\cdot\quad\cdot

(ix.)

rpq=−tan⁡βqtan⁡βp.r_{p q}=-\tan\beta_{q}\tan\beta_{p}.

(x.)

We have from the value of R in §1

R=∣1−tan⁡β2tan⁡β1−tan⁡β3tan⁡β1⋯−tan⁡βntan⁡β1−tan⁡β1tan⁡β21−tan⁡β3tan⁡β2⋯−tan⁡βntan⁡β2−tan⁡β1tan⁡β3−tan⁡β2tan⁡β31⋯−tan⁡βntan⁡β3⋱⋱⋱⋱⋱⋱⋱⋱⋱⋱⋱⋱⋱⋱⋱−tan⁡β1tan⁡βn−tan⁡β2tan⁡βn−tan⁡β3tan⁡βn1=(−1)ntan⁡2β1tan⁡2β2tan⁡2β3⋯tan⁡2βn×∣−cot⁡2β111⋯⋯11−cot⁡2β21⋯⋯111−cot⁡2β3⋯⋯1⋱⋱⋱⋱⋱⋱⋱⋱⋱⋱111−cot⁡2βn∣∣=tan⁡2β1tan⁡2β2tan⁡2β3⋯tan⁡2βn×J,say.Similarly,R11=(−1)n−1tan⁡2β2tan⁡2β3⋯⋯tan⁡2βn×J11,R12=(−1)n−1tan⁡β1tan⁡β2tan⁡2β3⋯tan⁡2βn×J12.Phil. Mag. S. 5. Vol. 50. No. 302. July 1900.M\begin{aligned}\mathrm{R}=&\begin{vmatrix}1&-\tan\beta_{2}\tan\beta_{1}&-\tan\beta_{3}\tan\beta_{1}\cdots-\tan\beta_{n}\tan\beta_{1}\\-\tan\beta_{1}\tan\beta_{2}&1&-\tan\beta_{3}\tan\beta_{2}\cdots-\tan\beta_{n}\tan\beta_{2}\\-\tan\beta_{1}\tan\beta_{3}&-\tan\beta_{2}\tan\beta_{3}&1&\cdots-\tan\beta_{n}\tan\beta_{3}\\&\ddots&\ddots&\ddots&\ddots&\ddots\\&\ddots&\ddots&\ddots&\ddots&\ddots\\&\ddots&\ddots&\ddots&\ddots&\ddots\\-\tan\beta_{1}\tan\beta_{n}&-\tan\beta_{2}\tan\beta_{n}&-\tan\beta_{3}\tan\beta_{n}&1\\=&(-1)^{n}\tan^{2}\beta_{1}\tan^{2}\beta_{2}\tan^{2}\beta_{3}\cdots\tan^{2}\beta_{n}\times\\&\begin{vmatrix}-\cot^{2}\beta_{1}&1&1&\cdots\cdots&1\\1&-\cot^{2}\beta_{2}&1&\cdots\cdots&1\\1&1&-\cot^{2}\beta_{3}&\cdots\cdots&1\\&\ddots&\ddots&\ddots&\ddots&\ddots\\&\ddots&\ddots&\ddots&\ddots&\ddots\\1&1&1&-\cot^{2}\beta_{n}\end{vmatrix}\end{vmatrix}\\=&\tan^{2}\beta_{1}\tan^{2}\beta_{2}\tan^{2}\beta_{3}\cdots\tan^{2}\beta_{n}\times J,\text{say.}\\&\text{Similarly,}\\&\mathrm{R}_{11}=(-1)^{n-1}\tan^{2}\beta_{2}\tan^{2}\beta_{3}\cdots\cdots\tan^{2}\beta_{n}\times J_{11},\\&\mathrm{R}_{12}=(-1)^{n-1}\tan\beta_{1}\tan\beta_{2}\tan^{2}\beta_{3}\cdots\tan^{2}\beta_{n}\times J_{12}.\\&\text{Phil.~Mag.~S.~5.~Vol.~50.~No.~302.~July~1900.}\quad\mathrm{M}\end{aligned}

Prof. Karl Pearson on Deviations from the

Hence the problem reduces to the evaluation of the determinant J and its minors.

If we write

ηq=cot⁡2βq=Nmq−1\eta_{q}=\cot^{2}\beta_{q}=\frac{\mathrm{N}}{m_{q}}-1

(xi.)

J=∣−η111⋯⋯11−η21⋯⋯111−η3⋯⋯1⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯111⋯⋯−ηn∣\mathbf{J}=\left|\begin{matrix}{-\eta_{1}}&{1}&{1}&{\cdots\cdots}&{1}\\ {1}&{-\eta_{2}}&{1}&{\cdots\cdots}&{1}\\ {1}&{1}&{-\eta_{3}}&{\cdots\cdots}&{1}\\ {\cdots}&{\cdots}&{\cdots}&{\cdots}&{\cdots}\\ {\cdots}&{\cdots}&{\cdots}&{\cdots}&{\cdots}\\ {1}&{1}&{1}&{\cdots\cdots}&{-\eta_{n}}\\ \end{matrix}\right|

Clearly,

J12=−∣111⋯⋯11−η31⋯⋯111−η4⋯⋯1⋯⋯⋯⋯⋯⋯⋯111⋯⋯−ηn∣=(−1)n−1(η3+1)(η4+1)⋯(ηn+1).\begin{aligned}\mathbf{J}_{12}=&-\left|\begin{array}{ccccc}1&1&1&\cdots\cdots&1\\1&-\eta_{3}&1&\cdots\cdots&1\\1&1&-\eta_{4}&\cdots\cdots&1\\\cdots&\cdots&\cdots&\cdots&\\&\cdots&\cdots&\cdots&\\1&1&1&\cdots\cdots&-\eta_{n}\\\end{array}\right|\\=&(-1)^{n-1}(\eta_{3}+1)(\eta_{4}+1)\cdots(\eta_{n}+1).\end{aligned}

Generally, if λ=(η1+1)(η2+1)(η3+1)…(ηn+1)\lambda=(\eta_{1}+1)(\eta_{2}+1)(\eta_{3}+1)\ldots(\eta_{n}+1),

Jpq=(−1)n−1λ(ηp∗+1)(ηq+1),⋯.\mathbf{J}_{p q}=(-1)^{n-1}\frac{\lambda}{(\eta_{p}^{*}+1)(\eta_{q}+1)},\quad\cdots\quad.

(xii.)

But

J11−η2J12+J13+J14+⋯+J1n=0.\mathbf{J}_{11}-\eta_{2}\mathbf{J}_{12}+\mathbf{J}_{13}+\mathbf{J}_{14}+\cdots+\mathbf{J}_{1n}=0.

Hence

J11=(1+η2)J12−J12−J13−J14⋯−J1n=(−1)n−1λ1+η1(1−11+η2−11+η3−11+η4⋯−11+ηn).\begin{aligned}&\mathbf{J}_{11}=(1+\eta_{2})\mathbf{J}_{12}-\mathbf{J}_{12}-\mathbf{J}_{13}-\mathbf{J}_{14}\cdots-\mathbf{J}_{1n}\\ &=\frac{(-1)^{n-1}\lambda}{1+\eta_{1}}\Big(1-\frac{1}{1+\eta_{2}}-\frac{1}{1+\eta_{3}}-\frac{1}{1+\eta_{4}}\cdots-\frac{1}{1+\eta_{n}}\Big).\\ \end{aligned}

Whence, comparing J with J11J_{11}, it is clear that:

J=(−1)nλ(1−11+η1−11+η2−11+η3−11+η4⋯−11+ηn).\mathbf{J}=(-1)^{n}\lambda\Big(1-\frac{1}{1+\eta_{1}}-\frac{1}{1+\eta_{2}}-\frac{1}{1+\eta_{3}}-\frac{1}{1+\eta_{4}}\cdots-\frac{1}{1+\eta_{n}}\Big).

Now

S(11+η)=S(mN),by(xi.),=N−mn+1N=1−mn+1N.\mathbb{S}\Big(\frac{1}{1+\eta}\Big)=\mathbb{S}\left(\frac{m}{N}\right),\mathrm{b y}\left(\mathrm{x i.}\right),=\frac{\mathrm{N}-m_{n+1}}{\mathrm{N}}=1-\frac{m_{n+1}}{\mathrm{N}}.

Thus:

J=(−1)nλmn+1N.\mathbf{J}=(-1)^{n}\lambda\frac{m_{n+1}}{\mathrm{N}}.

Probable in a Correlated System of Variables.

163

Similarly :

Jpp=(−1)n−1λ1+ηp(mpN+mn+1N).\mathsf{J}_{p p}=(-1)^{n-1}\frac{\lambda}{1+\eta_{p}}\bigg(\frac{m_{p}}{\mathsf{N}}+\frac{m_{n+1}}{\mathsf{N}}\bigg).

Thus:

RppR=−JppJcot⁡2βp=cot⁡2βpmpN(1+mpmn+1);\frac{\mathrm{R}_{p p}}{\mathrm{R}}=-\frac{\mathrm{J}_{p p}}{\mathrm{J}}\cot^{2}\beta_{p}=\cot^{2}\beta_{p}\frac{m_{p}}{\mathrm{N}}\left(1+\frac{m_{p}}{m_{n+1}}\right);

or from (vii.)

RppR1σp2=1mp+1mn+1…………\frac{\mathrm{R}_{p p}}{\mathrm{R}}\frac{1}{\sigma_{p}{}^{2}}=\frac{1}{m_{p}}+\frac{1}{m_{n+1}}\quad\ldots\ldots\ldots\ldots

(xiii.)

Again :

RpqR=−cot⁡βpcot⁡βqJpqJ=cot⁡βpcot⁡βqmpmqNmn+1.\frac{\mathrm{R}_{p q}}{\mathrm{R}}=-\cot\beta_{p}\cot\beta_{q}\frac{\mathrm{J}_{p q}}{\mathrm{J}}=\cot\beta_{p}\cot\beta_{q}\frac{m_{p}m_{q}}{\mathrm{N}m_{n+1}}.

and :

RpqR1σpσq=1mn+1.......(xiv.)\frac{\mathrm{R}_{p q}}{\mathrm{R}}\frac{1}{\sigma_{p}\sigma_{q}}=\frac{1}{m_{n+1}}\quad.\quad.\quad.\quad.\quad.\quad.\quad.\quad(\mathrm{x i v.})

Thus by (ii.):

χ2=S1{(1mp+1mn+1)e2p}+2S2{1mn+1epeq}=S1(e2pmp)+1mn+1{S1(ep)}2.\begin{align*}\chi^{2}&=\mathrm{S}_{1}\left\{\left(\frac{1}{m_{p}}+\frac{1}{m_{n+1}}\right)e^{2}{}_{p}\right\}+2\mathrm{S}_{2}\left\{\frac{1}{m_{n+1}}e_{p}e_{q}\right\}\\&=\mathrm{S}_{1}\left(\frac{e^{2}{}_{p}}{m_{p}}\right)+\frac{1}{m_{n+1}}\left\{\mathrm{S}_{1}(e_{p})\right\}^{2}.\end{align*}

But

S1(ep2)=−en+1,\mathrm{S}_{1}(e_{p}^{2})=-e_{n+1},

hence:

χ2=S(e2m),........(xv.)\chi^{2}=\mathbb{S}\biggl(\frac{e^{2}}{m}\biggr),\quad.\quad.\quad.\quad.\quad.\quad.\quad.\quad.\quad(\mathrm{x v.})

where the summation is now to extend to all (n+1)(n+1) errors, and not merely to the first n.

(4). This result is of very great simplicity, and very easily applicable. The quantity

χ=S(e2m)\chi=\sqrt{\mathbb{S}\left(\frac{e^{2}}{m}\right)}

is a measure of the goodness of fit, and the stages of our

M 2

Prof. Karl Pearson on Deviations from the

investigation are pretty clear. They are:—

(i.) Find χ\chi from Equation (xv.):

(ii.) If the number of errors, n′=n+1n' = n + 1, be odd, find the improbability of the system observed from

P=e−12x2(1+χ22+χ42⋅4+χ62⋅4⋅6+⋯+χn−32⋅4⋅6⋯n′−3).\mathrm{P}=e^{-\frac{1}{2}x^{2}}\Big(1+\frac{\chi^{2}}{2}+\frac{\chi^{4}}{2\cdot4}+\frac{\chi^{6}}{2\cdot4\cdot6}+\cdots+\frac{\chi^{n-3}}{2\cdot4\cdot6\cdots n^{\prime}-3}\Big).

If the number of errors, n′=n+1n' = n + 1, be even, find the probability of the system observed from

P=2π∫x∞e−12x2dχ+2πe−12x2(χ+χ21⋅3+χ31⋅3⋅5+⋯+χn−31⋅3⋅5⋯n′−3).\begin{aligned}\mathrm{P}&=\sqrt{\frac{2}{\pi}}\int_{x}^{\infty}e^{-\frac{1}{2}x^{2}}d\chi\\&+\sqrt{\frac{2}{\pi}}e^{-\frac{1}{2}x^{2}}\Big(\chi+\frac{\chi^{2}}{1\cdot3}+\frac{\chi^{3}}{1\cdot3\cdot5}+\cdots+\frac{\chi^{n-3}}{1\cdot3\cdot5\cdots n^{\prime}-3}\Big).\end{aligned}

(iii.) If n be less than 13, then the Table at the end of this paper will often enable us to determine the general probability or improbability of the observed system without using these values for P at all.

(5). Hitherto we have been considering cases in which the theoretical probability is known à priori. But in a great many cases this is not the fact; the theoretical distribution has to be judged from the sample itself. The question we wish to determine is whether the sample may be reasonably considered to represent a random system of deviations from the theoretical frequency distribution of the general population, but this distribution has to be inferred from the sample itself. Let us look at this somewhat more closely. If we have a fairly numerous series, and assume it to be really a random sample, then the theoretical number m for the whole population falling into any group and the theoretical number msm_{s} as deduced from the data for the sample will only differ by terms of the order of the probable errors of the constants of the sample, and these probable errors will be small, as the sample is supposed to be fairly large. We may accordingly take:

m=ms+μ,m=m_{s}+\mu,

where the ratio of μ\mu to msm_{s} will, as a rule, be small. It is only at the “tails” that μ/ms\mu/m_{s} may become more appreciable, but here the errors or deviations will be few or small ∗^{*}.

  • A theoretical probability curve without limited range will never at the extreme tails exactly fit observation. The difficulty is obvious where the observations go by units and the theory by fractions. We ought to take our final theoretical groups to cover as much of the tail area as amounts to at least a unit of frequency in such cases.

Probable in a Correlated System of Variables.

165

Now let χs\chi_{s} be the value found for the sample, and χ\chi the value required marking the system of deviations of the observed quantities from a group-system of the same number accurately representing the general population.

Then:

χ2=S{(m′−m)2m}=S{m′−ms−μ)2ms+μ}=S{(m′−ms)2ms}−S{μ(m′2−ms2)ms}+S{(μms)2m′2ms},\begin{aligned}&\chi^{2}=\mathrm{S}\left\{\frac{(m^{\prime}-m)^{2}}{m}\right\}=\mathrm{S}\left\{\frac{m^{\prime}-m_{s}-\mu)^{2}}{m_{s}+\mu}\right\}\\ &=\mathrm{S}\left\{\frac{(m^{\prime}-m_{s})^{2}}{m_{s}}\right\}-\mathrm{S}\left\{\frac{\mu(m^{\prime2}-m_{s}^{2})}{m_{s}}\right\}+\mathrm{S}\left\{\left(\frac{\mu}{m_{s}}\right)^{2}\frac{m^{\prime2}}{m_{s}}\right\},\\ \end{aligned}

if we neglect terms of the order (μ/ms)2(\mu/m_{s})^{2}.

Hence:

χ2−χs2=−S{μmsm′2−ms2ms}+S{(μms)2m′2ms}.\chi^{2}-\chi_{s}^{2}=-\mathrm{S}\left\{\frac{\mu}{m_{s}}\frac{m^{\prime2}-m_{s}^{2}}{m_{s}}\right\}+\mathrm{S}\left\{\left(\frac{\mu}{m_{s}}\right)^{2}\frac{m^{\prime2}}{m_{s}}\right\}.

Now χs\chi_{s} must, I take it, be less than χ\chi, for otherwise the general population distribution or curve would give a better fit than the distribution or curve actually fitted to the sample. But we are supposed to fit a distribution or curve to the sample so as to get the "best" values of the constants. Hence the right-hand side of the above equation must be positive. If the first term be negative then it must be less than the second, or the difference of χ\chi and χs\chi_{s} is of the order, not of the first but of the second power of quantities depending on the probable errors of the sample. On the other hand, if the first term be positive, it means that there is negative correlation between μm\frac{\mu}{m} and m′2−ms2ms\frac{m^{\prime2}-m_{s}^{2}}{m_{s}}; or that when

the observed frequency exceeds the theoretical distribution given by the sample (m′>ms)(m' > m_s), then the general population would fall below the theoretical distribution given by the sample (m<ms)(m < m_s), and vice versa. In other words the general population and the observed population would always tend to fall on opposite sides of the sample theoretical distribution. Now this seems impossible; we should rather expect, when the observations exceeded the sample theoretical distribution, that the general population would have also excess, and nice versa. Accordingly, we should either expect the first term to be negative, or to be very small (or zero) if positive. In either case I think we may conclude that χ\chi only differs from χs\chi_s by terms of the order of the squares of the probable errors of the constants of the sample distribution. Now our argu-

Prof. Karl Pearson on Deviations from the

ment as to goodness of fit will be based on the general order of magnitude of the probability P, and not on slight differences in its value. Hence, if we reject the series as a random variation from the frequency distribution determined from the sample, we must also reject it as a random variation from a theoretical frequency distribution differing by quantities of the order of the probable errors of the constants from the sample theoretical distribution. On the other hand, if we accept it as a random deviation from the sample theoretical distribution, we may accept it as a random variation from a system differing by quantities of the order of the probable errors of the constants from this distribution.

Thus I think we can conclude, when we are dealing with a sufficiently long series to give small probable errors to the constants of the series, that :—

(i.) If χ2\chi^2 be so small as to warrant us in speaking of the distribution as a random variation on the frequency distribution determined from itself, then we may also speak of it as a random sample from a general population whose theoretical distribution differs only by quantities of the order of the probable errors of the constants, from the distribution deduced from the observed sample.

(ii.) If χ2\chi^2 be so large as to make it impossible for us to regard the observed distribution as a sample from a general population following the law of distribution deduced from the sample itself, it will be impossible to consider it as a sample from any general population following a distribution differing only by quantities of the order of the probable errors of the sample distribution constants from that sample distribution.

In other words, if a curve is a good fit to a sample, to the same fineness of grouping it may be used to describe other samples from the same general population. If it is a bad fit, then this curve cannot serve to the same fineness of grouping to describe other samples from the same population.

We thus seem in a position to determine whether a given form of frequency curve will effectively describe the samples drawn from a given population to a certain degree of fineness of grouping.

If it serves to this degree, it will serve for all rougher groupings, but it does not follow that it will suffice for still finer groupings. Nor again does it appear to follow that if the number in the sample be largely increased the same curve will still be a good fit. Roughly the χ2\chi^2s of two samples appear to vary for the same grouping as their total contents. Hence if a curve be a good fit for a large sample it will be good for a small one, but the converse is not true, and a larger

Probable in a Correlated System of Variables.

167

sample may show that our theoretical frequency gives only an approximate law for samples of a certain size. In practice we must attempt to obtain a good fitting frequency for such groupings as are customary or utile. To ascertain the ultimate law of distribution of a population for any groupings, however small, seems a counsel of perfection.

(6) Frequency known or supposed known a priori. Illustration I.

The following data are due to Professor W. F. R. Weldon, F.R.S., and give the observed frequency of dice with 5 or 6 points when a cast of twelve dice was made 26,306 times:—

No. of Dice in Cast with 5 or 6 Points.Observed Frequency, m'.Theoretical Frequency, m.Deviation, e.
0185203- 18
111491217- 68
232653345- 80
354755576- 101
461146273- 159
551945018+176
630672927+140
713311254+ 77
8403392+ 11
910587+ 18
101413+ 1
1141+ 3
12000
2630626306

The results show a bias from the theoretical results, 5 and 6 points occurring more frequently than they should do. Are the deviations such as to forbid us to suppose the results due to random selection? Is there in apparently true dice a real bias towards those faces with the maximum number of points appearing uppermost?

We have:—

Group.e2e^{2}.e2/me^{2}/m.Group.e2e^{2}.e2/me^{2}/m.
03241·59606759294·72807
146243·7995181210·30903
264001·9133093243·72414
3102011·829451010·07346
4252814·030131199·00000
5309766·172981200·0000
6196006·60628Total......43·87241

Prof. Karl Pearson on Deviations from the

Hence

χ2=43⋅87241andχ=6⋅623,625.\chi^{2}=43\cdot87241\quad\mathrm{a n d}\quad\chi=6\cdot623,625.

As there are 13 groups we have to find P from the formula:

P=e−12χ2(1+χ22+χ42⋅4+χ62⋅4⋅6+χ82⋅4⋅6⋅8+χ102⋅4⋅6⋅8⋅10),\mathrm{P}=e^{-\frac{1}{2}\chi^{2}}\left(1+\frac{\chi^{2}}{2}+\frac{\chi^{4}}{2\cdot4}+\frac{\chi^{6}}{2\cdot4\cdot6}+\frac{\chi^{8}}{2\cdot4\cdot6\cdot8}+\frac{\chi^{10}}{2\cdot4\cdot6\cdot8\cdot10}\right),

which leads us to

P=⋅000016,\mathrm{P}=\cdot000016,

or the odds are 62,499 to 1 against such a system of deviations on a random selection. With such odds it would be reasonable to conclude that dice exhibit bias towards the higher points.

Illustration II.

If we take the total number of fives and sixes thrown in the 26,306 casts of 12 dice, we find them to be 106,602 instead of the theoretical 105,224. Thus 106,60212×26,306=3377\frac{106,602}{12 \times 26,306} = 3377 nearly, instead of 13\frac{1}{3}.

Professor Weldon has suggested to me that we ought to take 26,306(13+23)1226,306(\frac{1}{3}+\frac{2}{3})^{12} to represent the theoretical distribution, the difference between 3377 and 13\frac{1}{3} representing the bias of the dice. If this be done we find:

Group.m′m'.m.e.e2/me^{2}/m.
0185187- 2021,3004
111491146+ 3007,8534
232653215+ 50777,6050
354755465+ 10018,2983
461146269- 1553,991,8645
551945115+ 791,220,1342
630673043+ 24189,2869
713311330+ 1000,7519
8403424- 211,040,0948
910596+ 9841,8094
101415- 1666,6667
1141+ 39
120000

Hence:

χ2=17⋅775,7555.\chi^{2}=17\cdot775,7555.

This gives us by the first formula in (ii.) of art. 4:

P=⋅1227;\mathrm{P}=\cdot1227;

or the odds are now only 8 to 1 against a system of deviations as improbable as or more improbable than this one. It may be said accordingly that the dice experiments of Professor Weldon are consistent with the chance of five or six points being thrown by a single die being 3377, but they are excessively

Probable in a Correlated System of Variables.

169

improbable, if the chance of all the faces is alike and equal to 1/6th.