A Demonstration of the Second Rule in the Essay towards the Solution of a Problem in the Doctrine of Chances, Published in the Philosophical Transactions, Vol. LIII. Communicated by the Rev. Mr. Richard Price, in a Letter to Mr. John Canton, M. A. F. R. S.
Author(s)
Richard Price
Year
1764
Volume
54
Pages
31 pages
Language
en
Journal
Philosophical Transactions (1683-1775)
Full Text (OCR)
LII. A Demonstration of the Second Rule in the Essay towards the Solution of a Problem in the Doctrine of Chances, published in the Philosophical Transactions, Vol. LIII. Communicated by the Rev. Mr. Richard Price, in a Letter to Mr. John Canton, M. A. F. R. S.
Dear Sir,
I Send you the following Supplement to the Essay on a Problem in the Doctrine of Chances, hoping that you may not think it improper to be communicated to the Royal Society. I should not have troubled you again in this way had I not found that some additions to my former papers were necessary in order to explain some passages in them, and particularly what is hinted in the note at the end of the Appendix. "I have first given the deduction of Mr. Bayes's second rule chiefly in his own words; and then added, as briefly as possible, the demonstrations of several propositions, which seem to improve considerably the solution of the problem, and to throw light on the nature of the curve by the quadrature of which this solution is obtained." Perhaps, there is no reason for being very anxious about proceeding to further improvements. It would, however, be very agreeable to me to see a yet easier and nearer approximation to the value of the two series's in the first rule: but this I must leave abler persons to seek, chusing now entirely to drop this subject.
The
The solution of the problem enquired after in the papers I have sent you has, I think, been hitherto a desideratum in philosophy of some consequence. To this we are now in a great measure helped by the abilities and skill of our late worthy friend; and thus are furnished with a necessary guide in determining the nature and proportions of unknown causes from their effects, and an effectual guard against one great danger to which philosophers are subject; I mean, the danger of founding conclusions on an insufficient induction, and of receiving just conclusions with more assurance than the number of experiments will warrant. I am, under a sense of the value of your friendship, heartily yours,
Richard Price.
ART. I. If the curve ADH be divided into two parts by the ordinate Db making Ah to Hb as p is to q; then taking \( a = \frac{p}{n} \) and \( b = \frac{q}{n} \) the ratio of the Area ADb to HO will be
\[
\frac{a \times b^2}{p + 1} \times \left( 1 + \frac{q}{p+2} \times \frac{q \times q - 1 \times p^2}{p+2 \times p+3 \times q^2} + \frac{q \times q - 1 \times q - 2 \times p^3}{p+2 \times p+3 \times p+4 \times q^3} + \text{\&c.} \right)
\]
For the series
\[
\frac{p + 1}{p + 1} \times \frac{q}{p + 1} \times \frac{p + 2}{p + 2} \times \frac{q - 1}{p + 1} \times \frac{q}{p + 1} \times \frac{p + 2}{p + 2} \times \frac{q - 1}{p + 1} \times \frac{q}{p + 1} \times \frac{p + 2}{p + 2} \times \text{\&c.}
\]
in Prop. 10. Art. 2. of the Essay, which expresses the ratio of ACf to HO, becomes this series when \( x = a = \frac{p}{n}, b = r = \frac{q}{n} \); that is when Cf
Cf has moved till it coincides with Db and ACf becomes ADb. In like manner, from Art. 3. in the Essay, it appears that the ratio of HDb to HO is
\[ \frac{ab}{q+1} \times 1 + \frac{p}{q+2} \times \frac{q}{p} + \frac{p-1}{q+3} \times \frac{q^2}{p^2} + \&c. \]
From hence it follows that the ratio of the difference between ADb and HDb to HO is \( \frac{ab}{n} \) multiplied by the difference between the series
\[ \frac{p}{p+1} + \frac{q}{p+1} \times \frac{p^2}{pq+2q} + \frac{q \times q-1 \times p^3}{p+1 \times p+2 \times pq^2+3q^2} + \&c. \]
and the series
\[ \frac{q}{q+1} + \frac{p \times q^2}{q+1 \times pq+2p} + \frac{p \times p-1 \times q^3}{q+1 \times q+2 \times p^2q+3p^2} + \&c. \]
the former series being to be subtracted from the latter, if HDb is greater than ADb, and vice versa.
2. The ratio of any term in the former of the two foregoing series to that which next but one follows the correspondent term in the latter is
\[ \frac{pq+p}{pq} \times \frac{pq+2p}{pq} \times \frac{pq+3p}{pq-q} \times \frac{pq+4p}{pq+2q} \times \frac{pq+5p}{pq-2q} \times \frac{pq+6p}{pq+3q} \times \frac{pq-3p}{pq-3q} \times \frac{pq-2p}{pq+4q} \times \frac{pq-4p}{pq-4q} \&c. \]
taking twice as many terms and four over as there are units in the number which expresses the distance of the term in the former series from its first term; which
ratio if \( q \) be greater than \( p \), it is evident must be greater than the ratio of equality. Wherefore, if from the second series you subtract the two first terms which together are less than two, the remainder is less than the former series; and of consequence, the former series subtracted from the latter cannot leave a remainder so great as two. And therefore in this case, that is, when \( q \) is greater than \( p \), by the preceding article, the ratio of \( HD_b - AD_h \) to \( HO \)
\[
\frac{p^q}{2ab}
\]
cannot be so great as
3. The curve \( ADH \) being as before divided into two parts \( AD_b \) and \( HD_b \), let the ordinates \( Cf \) and \( Ft \) be placed on each side of \( Db \) and at the same distance from it, and let \( z \) be the ratio of \( hf \) or \( ht \) to \( AH \). Then if \( y, x \) and \( r \) be respectively the ratios of \( Cf, Af \) and \( Hf \) to \( AH \), by the nature of the curve \( y = xr \). But because the ratio of \( Ab \) to \( AH \) is \( a \), and that of \( hf \) to \( AH \) is \( z \), the ratio of \( Ab - hf (=Af) \) to \( AH \) is \( a - z \). Therefore \( a - z = x \). And in like manner \( b + z = r \). But \( y = xr \), and \( y \) is the ratio of \( Cf \) to \( AH \). Therefore the ratio of \( Cf \) to \( AH \) is \( a - z \times b + z \). And in like manner the ratio of \( Ft \) to \( AH \) is \( a + z \times b - z \). And consequently \( Cf \) is to \( Ft \) as \( a - z \times b + z \) is to \( a + z \times b - z \).
4. If \( q \) is greater than \( p \), \( a + z \times b - z \) is greater than \( a - z \times b + z \), and the ratio between them increases as \( z \) increases. For the hyperbolic logarithm of
of that ratio taken as usual, and then instead of \( p \) and \( q \) putting \( n^a \) and \( n^b \) because \( a = \frac{p}{n} \) and \( b = \frac{q}{n} \) (Vid. Art. 1.) you will find to be \( 2^n \) multiplied by the series \( \frac{b^2 - a^2}{3b^2 a^2} \times z^3 + \frac{b^4 - a^4}{5b^4 a^4} \times z^5 + \frac{b^6 - a^6}{7b^6 a^6} \times z^7 \&c. \)
which logarithm when \( q \) is greater than \( p \), and therefore \( b \) greater than \( a \) has all its terms positive, and so much the greater as \( z \) is greater; and therefore it is the logarithm of a ratio greater than that of equality, and which increases as \( z \) increases.
5. By Art. 3. \( F t \) is to \( C f \) as \( \overline{a+z}^p \times \overline{b-z}^q \) is to \( \overline{a-z}^p \times \overline{b+z}^q \). And by Art. 4. \( \overline{a+z}^p \times \overline{b-z}^q \) is greater than \( \overline{a-z}^p \times \overline{b+z}^q \), and the ratio between them increases as \( z \) increases, if \( q \) is greater than \( p \). Wherefore, upon this supposition, also \( F t \) is greater than \( C f \), and the ratio between them increases as \( z \) or \( b t \) and \( b f \) increases, and consequently this will be true also concerning the areas described by them as their equal abscisses \( b t \) and \( b f \) increase. Wherefore, when \( q \) is greater than \( p \), \( D h t F \) is greater than \( D h f C \), and the ratio between them increases as \( b f = b t \) increases.
6. Because \( A b \) is to \( H b \) as \( p \) is to \( q \), when \( q \) is greater than \( p \), \( H b \) is greater than \( A b \). In \( H b \) therefore taking \( b l \) equal to \( A b \), by the preceding Art. the part of the figure \( H D b \) which insists upon \( b l \) will be greater than \( A D b \), and the ratio of that part of \( H D b \) to \( A D b \) will be greater than the ratio of \( D h t F \) to \( D h f C \). Consequently, much more (\( q \) being greater than \( p \)) the whole figure \( H D b \) is greater
greater than $ADb$, and the ratio of $HDb$ to $ADB$
is greater than that of $DbtF$ to $DbfC$.
7. When $q$ is greater than $p$, $\frac{n^2 z^2}{pq}$ is greater
than $\frac{n^2 z^2}{p} \times \frac{1 + nz}{q}$ and less than $\frac{n^2 z^2}{q}$
$\times \frac{1 + nz}{p}$. For the fluxion of $\frac{n^2 z^2}{pq}$ is
$\frac{n^3 z \dot{z}}{pq} \times \frac{n^2 z^2}{pq} - 1$ and the fluxion of
$\frac{n^2 z^2}{p} \times \frac{1 + nz}{q}$ (because $p + q = n$) is
$\frac{n^3 z \dot{z}}{pq} \times \frac{n^2 z^2}{pq} - 1$. Wherefore
$\frac{n^2 z^2}{pq}$ is to $\frac{n^2 z^2}{p} \times \frac{1 + nz}{q}$ as the flux-
ion of the former multiplied by $\frac{n^2 z^2}{pq}$ to the
fluxion of the latter multiplied by $(1 - \frac{n^2 z^2}{pq}) \times
\frac{1 + nz}{q}$ or) $1 - \frac{n^2 z^2}{pq} + \frac{n^2 z^2}{pq}$. From which
analogy, because $q$ is greater than $p$, it is plain that
$\frac{n^2 z^2}{p} \times \frac{1 + nz}{q}$ varies at a greater rate in respect
of its own magnitude than $\frac{n^2 z^2}{pq}$ does. And,
because their fluxions as found out before have a ne-
gative sign before them, they both decrease as $z$ in-
creases;
creases; consequently, if they are ever equal, as \( x \) increases the latter must be the largest. But when \( x = 0 \) they are each equal to 1. In like manner the other part of this article appears. And hence, since
\[
a = \frac{p}{n} \quad \text{and} \quad b = \frac{q}{n},
\]
it is manifest that \( a^p b^q \times 1 - \frac{n^2 x^2}{p q} \) is greater than \( a - x^p \times b + x^q \) and less than \( a + x^p \times b - x^q \), when \( q \) is greater than \( p \).
8. Suppose now further that the curve \( R Q W \) be described meeting the lines \( D b, F t, b t \) produced in \( R, Q, W \), in such manner that \( F t \), which is to \( C f \) as \( a + x^p \times b - x^q \) to \( a - x^p \times b + x^q \) (Vid. Art. 3.) shall be to \( Q t \) as \( a + x^p \times b - x^q \) to \( a^p b^q \times 1 - \frac{n^2 x^2}{p q} \) wherever the points \( t \) and \( f \) fall at equal distances from \( b \). And it is manifest by the foregoing Art. that \( Q t \) must always be greater than \( C f \), and less than \( F t \). And of consequence the same must be true concerning the areas described by their motion while their equal abscisses increase. Wherefore \( R b t Q \) is greater than \( D b f C \), and less than \( D b t F \).
9. Since \( F t \) is to \( Q t \) as \( a + x^p \times b - x^q \) to \( a^p b^q \times 1 - \frac{n^2 x^2}{p q} \); and \( a + x^p \times b - x^q \) (by Art..
Art. 3.) expresses the ratio of Ft to AH; the ratio of Qt to AH must be \( \frac{a^p b^q}{pq} \times \left(1 - \frac{n^2 z^2}{pq}\right)^n \), and as has been all along supposed \( z \) is the ratio of bt to AH. Therefore, by squaring the curve RbtQ, it will appear that the ratio of RbtQ to HO is
\[
\frac{a^p b^q}{pq} \times \left(1 - \frac{n^2 z^2}{pq}\right)^n + \frac{n-2}{4} \times \frac{n^5 z^5}{2 \cdot 5 p^2 q^2} - \frac{n-2}{4} \times \frac{n^4}{6} \times \frac{n^7 z^7}{2 \cdot 7 p^3 q^3} + \&c.
\]
which (if \( m^2 = \frac{n^3}{2pq} \)) is
\[
\frac{a^p b^q}{pq} \times \frac{\sqrt{2pq}}{n \sqrt{n}} \times mx - \frac{m^3 z^3}{3} + \frac{n-2}{2n} \times \frac{m^5 z^5}{5} - \frac{n-2}{2n} \times \frac{n^4}{3n} \times \frac{m^7 z^7}{7} + \&c.
\]
Which last series when \( \frac{n^2 z^2}{pq} = 1 \), and consequently the ordinate Qt vanishes, becomes B -
\[
B^3 + \frac{B^2 - 1}{2B^2} \times \frac{B^5}{5} - \frac{B^2 - 1}{2B^2} \times \frac{B^7}{7} + \&c.
\]
taking \( B^2 = \frac{n}{2} \).
10. If \( B^2 = \frac{n}{2} \) the ratio of the whole figure RQtWb to HO is \( \frac{\sqrt{2pq}}{n \sqrt{n}} \times a^p b^q \times B - \frac{B^3}{3} + \frac{B^2 - 1}{2B^2} \times \frac{B^5}{5} - \&c. \)
Now, (by Prop. 10. Art. 4. of the Essay) the ratio of ACFH to HO is \( \frac{1}{n+1} \times \)
× \(\frac{1}{E}\), E being the coefficient of that term of the binomial \(a + b^n\) expanded in which occurs \(a^p b^q\). Wherefore, the ratio of \(RQWb\) to \(ACFH\) is
\[
\frac{n+1}{n} \times \frac{\sqrt{2pq}}{\sqrt{n}} \times E \times a^p b^q \times B - \frac{B^3}{3} + \frac{B^2}{2} \times \frac{B^5}{5} \text{&c.}
\]
Put G now for the coefficient of the middle term of the same binomial, and if \(p = q = \frac{n}{2}\), \(E = G\), \(a = \frac{1}{2} = b\) the area \(RQWb\) is equal to half \(ACFH\); for then \(Qt\), \(Ft\), \(Cf\) are all equal, and consequently the areas \(RQWb\), \(HDb\) and \(ADb\). Wherefore, the series \(B - \frac{B^3}{3} + \text{&c.}\) is equal to \(\frac{\sqrt{2n}}{n+1} \times \frac{2^{n-1}}{G}\). But the series \(B - \frac{B^3}{3} + \text{&c.}\) (because \(B^2 = \frac{n}{2}\)) does not alter whatever \(p\) and \(q\) are, whilst their sum \(n\) remains the same. Wherefore, in all cases, the ratio of \(RQWb\) to \(ACFH\) is \(\frac{\sqrt{pq}}{n} \times \frac{Ea^p b^q}{G} \times 2^n\).
II. By Prop. 10. Art. 4. of the Essay, the ratio of \(ACFH\) to \(HO*\) is \(\frac{1}{n+1} \times \frac{1}{E}\); and by Art. 9. the ratio of \(RbtQ\) to \(HO\) is \(a^p b^q \times \frac{\sqrt{2pq}}{n\sqrt{n}} \times m \times \frac{m^3 z^3}{3} + \frac{n-2}{2n} \times \frac{m^5 z^5}{5} \text{&c.}\). Wherefore, the ratio of
* It is hoped that the imperfection of the figure all along referred to will be excused. The lines \(Rh\) and \(Dh\) should appear equal; and it will be found presently, that the curve line \(ACDFH\) should have been drawn from \(F\) and \(C\) convex towards \(AH\).
RbtQ to ACFH is \( \frac{n+1}{n} \times \sqrt{\frac{2pq}{n}} \times E^{\frac{p}{q}} \times m^{\frac{3}{z^3}} \)
\[
+ \frac{n-2}{2n} \times \frac{m^5 z^5}{5} - \frac{n-2}{2n} \times \frac{n-4}{3n} \times \frac{m^7 z^7}{7} + \text{etc.}
\]
Likewise, by Art. 10. the ratio of R Q W b to ACFH is \( \sqrt{\frac{pq}{n}} \times \frac{E^{\frac{p}{q}}}{G} \times 2^n \). Therefore the ratio of RbtQ to R Q W b is \( \frac{n+1}{\sqrt{n}} \times \sqrt{\frac{2}{2^n}} \times G \)
\[
\times m^{\frac{3}{z^3}} + \text{etc.}
\]
12. By Art. 2.6. When q is greater than p, the ratio of HD b — AD b to HO is less than \( \frac{2ab}{n} \). And by Prop. 10. Art. 4. of the Essay, the ratio of ACFH or HD b + AD b to HO is \( \frac{I}{n+1} \times \frac{I}{E} \). Wherefore, the sum of these two ratios, or the ratio of 2 HD b to HO, is less than \( \frac{I}{n+1} \times \frac{I}{E} + \frac{2ab}{n} \); and the difference between them, or the ratio of 2 AD b to HO is greater than \( \frac{I}{n+1} \times \frac{I}{E} - \frac{2ab}{n} \). Wherefore, the ratio of 2 HD b to 2 AD b, or that of HD b to AD b, is less than that of \( \frac{I}{n+1} \times \frac{I}{E} + \frac{2ab}{n} \) to \( \frac{I}{n+1} \times \frac{I}{E} - \frac{2ab}{n} \), which is equal to the ratio of 1 × 2 E \( \frac{a^p b^q}{n} \) to 1.
— $2Ea^p b^q - \frac{2Ea^p b^q}{n}$. But the ratio of HDh to ADh, by Art. 6. is greater than the ratio of DbtF to DbfC, when q is greater than p. Wherefore, much more when q is greater than p, the ratio of DbtF to DbfC will be less than that of $1 + 2Ea^p b^q + \frac{2Ea^p b^q}{n}$ to $1 - 2Ea^p b^q - \frac{2Ea^p b^q}{n}$. And because, by Art. 8. RbtQ is a mean between DbtF and DbfC, the ratio of DbtF to RbtQ will be less than that of $1 + 2Ea^p b^q + \frac{2Ea^p b^q}{n}$ to $1 - 2Ea^p b^q - \frac{2Ea^p b^q}{n}$. And the ratio of DbfC to RbtQ will be greater than that of $1 - 2Ea^p b^q - \frac{2Ea^p b^q}{n}$ to $1 + 2Ea^p b^q + \frac{2Ea^p b^q}{n}$.
**RULE II.**
If nothing is known of an event but that it has happened p times and failed q in p + q or n trials, and q be greater than p; and from hence I judge that the probability of its happening in a single trial lies between $\frac{p}{n}$ and $\frac{p}{n} + z$, (if $m^2 = \frac{n^3}{2pq}$, $a = \frac{p}{n}$, $b = \frac{q}{n}$, E the coefficient of the term in which occurs $a^p b^q$ when $(a + b)^n$ is expanded, and $\Sigma = \frac{n+1}{n} \times \frac{\sqrt{2pq}}{\sqrt{n}} \times Ea^p b^q \times m^2 z^3 - \frac{m^3 z^3}{3} + \frac{n-2}{2n} \times \frac{m^5 z^5}{5}$).
my chance to be in the right is greater than $\Sigma$, and less than $\Sigma \times \frac{1 + 2Ea^p b^q}{1 - 2Ea^p b^q}$. For by Art. 11, compared with the value of $\Sigma$ here set down, the ratio of $RbtQ$ to $ACFH$ is $\Sigma$. But by Art. 8, $DbtF$ is greater than $RbtQ$, and by Art. 12, the ratio of $DbtF$ to $RbtQ$ is less than that of $\frac{1 + 2Ea^p b^q}{1 - 2Ea^p b^q}$. From whence it is plain that the ratio of $DbtF$ to $ACFH$ is greater than $\Sigma$, and less than $\Sigma \times \frac{1 + 2Ea^p b^q}{1 - 2Ea^p b^q}$.
But, as appears from the 10th Proposition in the Essay, the chance that the probability of the event lies between $\frac{p}{n}$ and $\frac{p}{n} + z$ (that is, between the ratio of $Ab$ to $AH$, and that of $At$ to $AH$) is the ratio of $DbtF$ to $ACFH$. Wherefore, the chance I am right in my guess is greater than $\Sigma$ and less than $\Sigma \times \frac{1 + 2Ea^p b^q}{1 - 2Ea^p b^q}$.
In like manner, 2dly, the same things supposed, if I judge that the probability of the event lies between \( \frac{p}{n} \) and \( \frac{p}{n} - z \), my chance to be right is less than \( \Sigma \),
and greater than \( \Sigma \times \frac{1 - 2Ea^p b^q - \frac{2Ed^p b^q}{n}}{1 + 2Ed^p b^q + \frac{2Ed^p b^q}{n}} \). This is manifest as the other case, because \( DbfC \) is less than \( RbtQ \), but the ratio between them is greater than that of \( \frac{1 - 2Ea^p b^q - \frac{2Ea^p b^q}{n}}{1 + 2Ed^p b^q + \frac{2Ed^p b^q}{n}} \) to \( \frac{1 + 2Ed^p b^q + \frac{2Ed^p b^q}{n}}{1 - 2Ea^p b^q - \frac{2Ea^p b^q}{n}} \).
3dly, If, other things supposed as before, \( p \) is greater than \( q \), and I judge the probability of the event lies between \( \frac{p}{n} \) and \( \frac{p}{n} + z \), my chance to be right is less than \( \Sigma \), and greater than \( \Sigma \times \frac{1 - 2Ea^p b^q - \frac{2Ea^p b^q}{n}}{1 + 2Ed^p b^q + \frac{2Ed^p b^q}{n}} \). But if I judge it lies between \( \frac{p}{n} \) and \( \frac{p}{n} - z \), my chance is greater than \( \Sigma \), and less than \( \Sigma \times \frac{1 + 2Ed^p b^q + \frac{2Ed^p b^q}{n}}{1 - 2Ea^p b^q - \frac{2Ea^p b^q}{n}} \). And if \( p = q \), which
which ever of these ways I guess, my chance is $\Sigma$ exactly. This may be proved in the same manner with the foregoing cases, where $q$ is greater than $p$, or may be proved from them by considering the happening and failing of an event, as the same with the failing and happening of its contrary.
4thly, Other things supposed the same, whether $q$ be greater or less than $p$, and I judge that the probability of the event lies between $\frac{p}{n} + z$ and $\frac{p}{n} - z$, my chance is greater than $\frac{2\Sigma}{1 + 2Ea^pb^q + \frac{2Ea^pb^q}{n}}$, and less than $\frac{2\Sigma}{1 - 2Ea^pb^q - \frac{2Ea^pb^q}{n}}$. This is an evident corollary from the cases already determined. And here, if $p = q$, my chance is $2\Sigma$ exactly.
Thus far I have transcribed Mr. Bayes.
It appears, from the Appendix to the Essay, that the rule here demonstrated, though of great use, does not give the required chance within limits sufficiently narrow. It is therefore necessary to look out for a contraction of these limits; and this, I think, we shall discover by the help of the following deductions; which, for the sake of greater distinctness, I shall give as a continuation of the foregoing Articles.
13. The
13. The ratio of the fluxion of \( \frac{1 - n^2 z^2}{pq} \) to the fluxion of \( \left(1 + \frac{n z}{p}\right)^p \times \left(1 - \frac{n z}{q}\right)^q \) is
\[
\frac{1 - n^2 z^2}{pq} \cdot \frac{p-1}{q-1} \cdot \frac{1 + n z}{p} \times \frac{1 - n z}{q}
\]
and the ratio of the fluxion of \( \left(1 - \frac{n z}{p}\right)^p \times \left(1 + \frac{n z}{q}\right)^q \) to the fluxion of \( \frac{1 - n^2 z^2}{pq} \) is
\[
\frac{1 - n^2 z^2}{pq} \cdot \frac{n}{p} \times \frac{n}{q}
\]
This will immediately appear from Art. 7.
14. While \( z \) is increasing from nothing till \( \frac{n^2 z^2}{pq} \) becomes equal to unity, these two ratios are at first greater than the ratio of equality, and increase as \( z \) increases, till they come to a maximum. Afterwards they decrease until they become first equal to the ratio of equality, and then less. This is proved by finding the hyperbolic logarithms of these ratios. The hyperbolic logarithm of the first is the series
\[
\frac{q-1}{q} \cdot \frac{p-1}{p} \times nz + \frac{q-1}{q^2} + \frac{p-1}{p^2} \cdot \frac{n^2 z^2}{2} + \frac{q-1}{q^3} \cdot \frac{p-1}{p^3} \times \frac{n^3 z^3}{3} + \frac{q-1}{q^4} + \frac{p-1}{p^4} \cdot \frac{n^2 z^2}{2} + \frac{n^4 z^4}{4} + \frac{q-1}{q^5}
\]
\[ \frac{p-1}{p^5} \times \frac{n^5 z^5}{5} + \frac{q-1}{q^6} + \frac{p-1}{p^6} - \frac{n-2}{p^3 q^3} \times \frac{n^6 z^6}{6} + \&c. \]
The hyperbolic logarithm of the second ratio is the series
\[ \frac{q-1}{q} - \frac{p-1}{p} \times n z - \frac{q-1}{q^2} + \frac{p-1}{p^2} - \frac{n-2}{p q} \times \frac{n^2 z^2}{2} + \frac{q-1}{q^3} - \frac{p-1}{p^3} \times \frac{n^3 z^3}{3} - \frac{q-1}{q^4} + \frac{p-1}{p^4} - \frac{n-2}{p^2 q^2} \times \frac{n^4 z^4}{4} + \&c. \]
It will appear from examining these two serieses (q all along supposed greater than p) that while z is small the value of each of them is positive, and increases as z increases till it becomes a maximum, after which it decreases till it becomes nothing, and after that negative; which demonstrates this article.
15. The former of the two ratios in Art. 13. (q being greater than p) is at first, while z is increasing from nothing, less than the second ratio; and does not become equal to it, till some time after both ratios have been the greatest possible.
Upon considering the two serieses in the last Art. it will appear that the first term of the first series is always positive, the second negative, the third also negative, after which the terms become alternately positive and negative. On the other hand, it will appear that in the second series the two first terms are always positive, and all that follow negative. But as the serieses converge very fast when z is small, the second term being negative in the first series and positive in the second, has a greater effect in making the first series less than the second, than can be compensated for by the terms being afterwards alternately negative and positive.
positive in the one, and all negative in the other. It will further appear from considering these serieses, that the first must continue less than the second 'till $z$ becomes so large as to make the fourth term equal to the second, in which circumstances the two serieses are nearly equal. Afterwards, as $z$ goes on to increase, the value of both lessens continually; but the second now decreasing fastest, as before it increased fastest, becomes first nothing. After which, the other series becomes nothing; and after that both remain negative. From hence it is easy to infer this Article.
16. What has been now shewn of the ratio of the fluxion of $1 - \frac{n^2 z^2}{pq}$ to the fluxion of $1 + \frac{n z}{p} \times 1 - \frac{n z}{q}$ compared with the ratio of the fluxion of $1 - \frac{n z}{p} \times 1 + \frac{n z}{q}$ to the fluxion of $1 - \frac{n^2 z^2}{pq}$ is also true of the ratio of the fluxion of $a^p b^q \times 1 - \frac{n^2 z^2}{pq}$ (or $Q t$ in the figure) to the fluxion of $a + z^p \times b - z^q$ (or $F t$) compared with the ratio of the fluxion of $a - z^p \times b + z^q$ (or $C f$) to the fluxion of $a^p b^q \times 1 - \frac{n^2 z^2}{pq}$ or $Q t$; the latter quantities being only the former multiplied by the common and permanent quantity $a^p b^q$. It appears, therefore, that if we conceive $F t$, $Q t$, $C f$ (Vid. Vol. LIV. Sf Fig.)
Fig.) to move with equal and uniform velocities, from D b and R b along A H, in order to generate the areas H D b, R W b, A D b; C f will at first not only decrease faster than Q t, and Q t than F t; but the ratio of the rate at which C f decreases to the rate at which Q t decreases, will be greater than the ratio of the rate at which Q t decreases to the rate at which F t decreases. It appears also that after some time, first C f and Q t, and then Q t and F t will come to decrease equally; after which, Q t will decrease faster than C f, and F t faster than Q t.
17. The curves D F H, R Q W, D C A, have each of them a point of contrary flexure; and the value of z, or of the equal abscisses at that point, is in all three \( \frac{\sqrt{p} q}{\sqrt{n^3 - n^2}} \). This may be found in the common manner, by putting the second fluxions of the ordinates equal to nothing. In the single case, when either p or q is equal to unity, one of these points vanishes, or coincides with A or H.
18. At the points of contrary flexure (q being greater than p) the ratio of the fluxion of Q t to the fluxion of F t is a maximum; and the same is true of the ratio of the fluxion of C f to the fluxion of Q t. This is found by making the fluxions of the logarithms of these ratios, or of
\[
\frac{n^2 x^2}{p q} = 1, \quad \frac{n^2 x^2}{p q} = 1,
\]
and
\[
\frac{n^2 x^2}{p q} \times \frac{n^2 x^2}{p q} = 1,
\]
equal
equal to nothing: which will give the value of $z$ equal to $\frac{\sqrt{pq}}{\sqrt{n^3 - n^2}}$, or the same with the value of $z$ at the points of contrary flexure.
19. At the points of contrary flexure, the ratio of the fluxion of $Cf$ to the fluxion of $Qt$, is greatest in comparison of the ratio of the fluxion of $Qt$ to the fluxion of $Ft$. This is proved by finding the value of $z$ when the fluxion of the former ratio divided by the latter, or of
$$\frac{1 - \frac{n^2 z^2}{p^2}}{1 - \frac{n^2 z^2}{q^2}} \times \frac{1 - \frac{n^2 z^2}{p^2}}{1 - \frac{n^2 z^2}{q^2}}$$
is nothing, which will still give $z = \frac{\sqrt{pq}}{\sqrt{n^3 - n^2}}$. The reason, therefore, in the nature of the curve, which, as the ordinates flow, keeps at first the excess of $Ft$ above $Qt$ less than the excess of $Qt$ above $Cf$, operates with its greatest force at the points of contrary flexure.
20. The greatest part of the area $RQWh$ lies between $Rh$, and the ordinate at the point of contrary flexure. By Art. 11 the ratio of $RhQt$ to $RQWh$ is
$$\frac{n+1}{\sqrt{n}} \times \frac{\sqrt{2}}{2} \times G \times \frac{m^2 z^2 - m^3 z^3}{3} + \frac{n-2}{2n} \times \frac{m^5 z^5}{5}$$
&c. Substitute here $\frac{\sqrt{pq}}{\sqrt{n^3 - n^2}}$ for $z$, and $\frac{2}{\sqrt{nK}} \times H$ * for $G$ (K being the ratio of the quadrantal arc to
* This is always the true value of $G$; but it would be too tedious to give the demonstration of this here.
S f 2 radius,
radius, and $H$ the ratio whose hyperbolic logarithm is $\frac{3}{12n} - \frac{15}{360n^3} + \frac{63}{1260n^5} + \ldots$ and the ratio of $RbtQ$ to $RQWb$ at the point of contrary flexure, will be
$$\frac{n+1}{\sqrt{n} \times \sqrt{n-1}} \times \frac{797884}{H} \times 1 - \frac{n}{2 \cdot 3 \cdot n-1} + \frac{n \times n-2}{2 \cdot 5 \cdot 4 \cdot n-1^2} - \frac{n \cdot n-2 \cdot n-4}{2 \cdot 3 \cdot 7 \cdot 8 \cdot n-1^3} + \frac{n \cdot n-2 \cdot n-4 \cdot n-6}{2 \cdot 3 \cdot 4 \cdot 9 \cdot 16 \cdot n-1^4} + \ldots$$
Now when $n$ is little, the value of this expression will be considerably greater than .6822. It approaches to this continually as $n$ increases; and when $n$ is large, it may be taken for this exactly. Thus when $n = 6$, this expression is equal to .804. When $n = 110$, it is equal to .6903. If we would know the ratio of $RbtQ$ to $RQWb$, when $Cf$ comes to decrease no faster in respect of $Qt$, than $Qt$ decreases in respect of $Ft$; that is, when the excess of $Qt$ above $Cf$, is greatest in comparison of the excess of $Ft$ above $Qt$, it may be found (by putting the fourth term of the series in the 14th Art. equal to the second term, and then finding the value of $x$) to be about .8426, when $n$, $p$, and $q$ are considerable; and in other cases greater.
Coroll. 'Tis easy to gather from hence that in like manner the greatest part of the area $ADH$ lies between the two ordinates at the points of contrary flexure †.
* Vid. the Second Rule in the Essay, Phil. Trans. Vol. LIII.
† From this Article may be inferred a method of finding at once, without any labour, whereabouts it is reasonable to judge the probability of an unknown event lies, about which a given number of experiments have been made. For when
21. \( R_{bt}Q \) is greater than the arithmetical mean between \( D_{bt}F \) and \( D_{bf}C \). This appears from the latter part of Art. 19, for what is there proved of the ordinates must hold true of the contemporary areas generated by them. And though beyond the points at which the ratio of the decrease of \( Q_t \) to the decrease of \( F_t \) comes to an equality with the ratio of the decrease of \( Q_t \) to the decrease of \( C_f \), the excess of \( F_t \) above \( Q_t \) begins to grow larger than before in respect of the excess of \( Q_t \) above \( C_f \); yet as it appears from the last article, that above five sixths of the areas \( R_QWb \) and \( ACFH \) are generated before the ordinates come to these points, and as also beyond these points the said ratios, 'till they become
neither \( p \) nor \( q \) are very small, or even not less than 10, it will be nearly an equal chance, that the probability of the event lies between \( \frac{p}{n} + \frac{\sqrt{pq}}{\sqrt{2n^3 - n^2}} \) and \( \frac{p}{n} - \frac{\sqrt{pq}}{\sqrt{2n^3 - n^2}} \). It will be the odds of two to one that it lies between \( \frac{p}{n} + \frac{\sqrt{pq}}{\sqrt{n^3 - n^2}} \) and \( \frac{p}{n} - \frac{\sqrt{pq}}{\sqrt{n^3 - n^2}} \); and the odds of five to one that it lies between \( \frac{p}{n} + \frac{\sqrt{2pq}}{\sqrt{n^3 - n^2}} \) and \( \frac{p}{n} - \frac{\sqrt{2pq}}{\sqrt{n^3 - n^2}} \). For instance; when \( p = 1000, q = 100 \), there will be nearly an equal chance, that the probability of the event lies between \( \frac{10}{11} + \frac{1}{163} \) and \( \frac{10}{11} - \frac{1}{163} \); two to one that it lies between \( \frac{10}{11} + \frac{1}{115} \) and \( \frac{10}{11} - \frac{1}{115} \); and five to one that it lies between \( \frac{10}{11} + \frac{1}{81} \) and \( \frac{10}{11} - \frac{1}{81} \).
negative
negative and for some time afterwards, are but small; the effect produced before towards rendering the excess of $D_{bt}F$ above $R_{bt}Q$ always less than the excess of $R_{bt}Q$ above $D_{bf}C$, will be such as cannot be compensated for afterwards.
A further proof of this will appear from considering that even when $R_{bt}Q$ is increased to $R_{QWb}$, it is but little short of the arithmetical mean between $AD_b$ and $HD_b$. For from Art. 11. and 20. it may be inferred that the ratio of the whole area $R_{QWb}$ to this mean, or to $\frac{ACFH}{2}$, is $b \times H$, which is never far from the ratio of equality, but when both $p$ and $q$ are of any considerable magnitude, it is very nearly the ratio of equality. For example; when $n = 110$, $q = 100$, $p = 10$, it is .9938.
22. The ratio of $D_{bt}F$ to $R_{bt}Q$ is less than that of $1 + 2E\frac{a^p b^q}{n} + \frac{2E a^p b^q}{n}$ to one. For by Art. 12. the ratio of $D_{bt}F$ to $D_{bf}C$ is less than that of $1 + 2E\frac{a^p b^q}{n} + \frac{2E a^p b^q}{n}$ to $1 - 2E\frac{a^p b^q}{n} - \frac{2E a^p b^q}{n}$. But by the last Art. $R_{bt}Q$ is greater than the arithmetical mean between $D_{bt}F$ and $D_{bf}C$, and $1$ is exactly the arithmetical mean between $1 + 2E\frac{a^p b^q}{n} + \frac{2E a^p b^q}{n}$ and $1 - 2E\frac{a^p b^q}{n} - \frac{2E a^p b^q}{n}$. From whence this Article is plain.
23. The
23. The ratio of $D_{bt}F$ to $ACFH$ is greater than $\Sigma$, and less than $\Sigma \times 1 + 2Ea^p b^q + \frac{2Ea^p b^q}{n}$.
For $D_{bt}F$ being greater than $R_{bt}Q$, the ratio of it to $ACFH$ must be greater than the ratio of $R_{bt}Q$ to $ACFH$, or greater than $\Sigma$. Also; since the ratio of $R_{bt}Q$ to $ACFH$ is equal to $\Sigma$; and the ratio of $D_{bt}F$ to $R_{bt}Q$ is less than the ratio of $1 + 2Ea^p b^q + \frac{2Ea^p b^q}{n}$ to $1$; it follows that the ratio compounded of the ratio of $R_{bt}Q$ to $ACFH$, and of $D_{bt}F$ to $R_{bt}Q$, that is, the ratio of $D_{bt}F$ to $ACFH$ must be less than $\Sigma \times 1 + 2Ea^p b^q + \frac{2Ea^p b^q}{n}$.
24. The ratio of $D_{bt}F + D_{bf}C$ to $ACFH$ (that is, the chance for being right in judging that the probability of an event perfectly unknown, which has happened $p$ and failed $q$ times in $p + q$ or $n$ trials, lies somewhere between $\frac{p}{n} + z$ and $\frac{p}{n} - z$) is greater than $\frac{2\Sigma}{1 + 2Ea^p b^q + \frac{2Ea^p b^q}{n}}$, and less than $2\Sigma$.
The former part of this Art. has been already proved, Art. 12. The latter part is evident from Art. 21. For $R_{bt}Q$ being greater than the arithmetical mean between $D_{bt}F$ and $D_{bf}C$, $2R_{bt}Q$ must be greater than $D_{bt}F + D_{bf}C$; and consequently the
the ratio of $2RbtQ$ to $ACFH$, greater than the ratio of $DbtF + DbfC$ to $ACFH$.
It will be easily seen that this Article improves considerably the rule given in Art. 12. But we may determine within still narrower limits whereabouts the required chance must lie, as will appear from the following Articles.
25. If $c$ and $d$ stand for any two fractions, whenever the fluxion of $c \times Ft$ is greater than the fluxion of $d \times Cf$ (Vid. fig.) $c \times Ft + d \times Cf$ will be greater than $Qt$. For in the same manner with Art. 6. it will appear that $c \times Ft + d \times Cf$ is to $Qt$, as the fluxion of $c \times Ft \times i + \frac{n^2}{q} \times i - \frac{n^2}{q}$ together with the fluxion of $d \times Cf \times i - \frac{n^2}{p} \times i + \frac{n^2}{q}$ to the fluxion of $Qt \times i - \frac{n^2}{pq}$. Now since $i - \frac{n^2}{pq}$ is the arithmetical mean between $i + \frac{n^2}{p} \times i - \frac{n^2}{q}$ and $i - \frac{n^2}{p} \times i + \frac{n^2}{q}$, it is plain, that were the fluxion of $c \times Ft$ equal to the fluxion of $d \times Cf$, $c \times Ft + d \times Cf$ would decrease in respect of its own magnitude at the same rate with $Qt$; and, therefore, since at first equal, they would always continue equal. But the fluxion of $c \times Ft$ being greater than the fluxion of $d \times Cf$ by supposition, and (since $q$ greater than) $p \times i + \frac{n^2}{p} \times i - \frac{n^2}{q}$,
* This Art. is true, whether $p$ be greater or less than $q$.
also greater than \(1 - \frac{n^2}{pq} \times 1 + \frac{n^2}{pq}\), it follows that the fluxion of \(c \times Ft \times 1 + \frac{n^2}{pq} \times 1 - \frac{n^2}{pq}\) added to the fluxion of \(d \times Cf \times 1 - \frac{n^2}{pq} \times 1 + \frac{n^2}{pq}\) is greater than these two fluxions multiplied by \(1 - \frac{n^2}{pq}\); and, therefore, greater, than the fluxion of \(Qt \times 1 - \frac{n^2}{pq}\); and, therefore, \(c \times Ft + d \times Cf\) greater than \(Qt\).
26. If we suppose three continued arithmetical means between \(Cf\) and \(Ft\) \(\left(\frac{3Cf + Ft}{4}, \frac{Cf + Ft}{2}, \frac{3Ft + Cf}{4}\right)\) \(Qt\) will be greater than the second, and less than the third, if \(p\) is greater than 1. That \(Qt\) will be greater than the second has been already proved; and that it will be less than the third, will be an immediate consequence from the last Article, if it can be shewn that the fluxion of \(\frac{3Ft}{4}\) is greater than the fluxion of \(\frac{Cf}{4}\). This will appear in the following manner. The ratio of the fluxion of \(Cf\) to the fluxion of \(Ft\) is by Art. 7. and 14.
\[
\frac{1 - \frac{n^2}{pq}}{1 + \frac{n^2}{pq}} \times \frac{1 + \frac{n^2}{pq}}{1 - \frac{n^2}{pq}} = \frac{1 - \frac{n^2}{pq}}{1 + \frac{n^2}{pq}} \times \frac{1 + \frac{n^2}{pq}}{1 - \frac{n^2}{pq}}.
\]
The hyperbolic logarithm
of this ratio is \[ \frac{1}{p} - \frac{1}{q} \times 2n z - \frac{1}{p^2} - \frac{1}{p^3} - \frac{1}{q^2} + \frac{1}{q^3} \times \frac{2n^3 z^3}{3} - \frac{1}{p^4} - \frac{1}{p^5} - \frac{1}{q^4} + \frac{1}{q^5} \times \frac{2n^5 z^5}{5}, \&c. \]
This ratio by Art. 18. is greatest at the point of contrary flexure, or when \( z = \frac{\sqrt{pq}}{\sqrt{n^3 - n^2}} \). Substitute this for \( z \) in the series, and it will become \[ \frac{1}{p} - \frac{1}{q} \times \frac{2\sqrt{pq}}{\sqrt{n-1}} - \frac{1}{p^2} - \frac{1}{p^3} - \frac{1}{q^2} + \frac{1}{q^3} \times \frac{2pq^2}{3 \times n^{1/2}}, \&c. \]
which, therefore, expresses the logarithm of the ratio when greatest, and will easily discover it in every case. 'Tis apparent that the value of this series is greatest when \( p \) is least in respect of \( q \). Suppose then \( p = 2 \), and \( q \) infinite. In this case, the value of the series will be 1.072, and the number answering to this logarithm is not greater than 2.92. The fluxion, therefore, of \( Cf \), when greatest, cannot be three times the contemporary fluxion of \( Ft \); from whence it follows that the fluxion of \( \frac{3Ft}{4} \) must be greater than the fluxion of \( \frac{Cf}{4} \).
It is easy to see how these demonstrations are to be varied when \( q \) is less than \( p \), and how in this case similar conclusions may be drawn. Or, the same conclusions will in this case immediately appear, by changing \( p \) into \( q \) and \( q \) into \( p \), which will not make any difference in the demonstrations.
In the manner specified in this Article we may always find within certain limits how near the value of \( Qt \) comes to the arithmetical mean between \( Ft \) and \( Cf \), which limits grow narrower and narrower, as \( p \) and \( q \) approach each other.
\( p \) and \( q \) are taken larger, or their ratio comes nearer to that of equality, 'till at last, when \( p \) and \( q \) are either very great or equal, \( Q_t \) coincides with this mean. Thus, if either \( p \) or \( q \) is not less than 10; that is, in all cases, where it is not practicable without great difficulty to find the required chance exactly by the first rule, \( Q_t \) will be greater than the fourth, and less than the fifth of seven arithmetical means between \( C_f \) and \( F_t \).
27. The arithmetical means mentioned in the last Article may be conceived as ordinates describing areas at the same time with \( Q_t \); and what has been proved concerning them is true also of the areas described by them compared with \( R_b t Q \).
28. If either \( p \) or \( q \) is greater than 1, the true chance that the probability of an unknown event which has happened \( p \) times and failed \( q \) in \( p + q \) or \( n \) trials, should lie somewhere between \( \frac{p}{n} + z \) and \( \frac{p}{n} - z \) is less than \( 2 \Sigma \), and greater than \( \Sigma + \frac{\Sigma \times 1 - 2 E a^p b^q - 2 E a^p b^q}{1 + E a^p b^q + E a^p b^q} \). If either \( p \) or \( q \) is greater than 10, this chance is less than \( 2 \Sigma \), and greater than \( \Sigma + \frac{\Sigma \times 1 - 2 E a^p b^q - 2 E a^p b^q}{1 + \frac{1}{2} E a^p b^q + E a^p b^q} \).
This is easily proved in the same manner with Art. 12, 23, 24.
That it may appear how far what has been now demonstrated improves the solution of the present problem, let us take the fifth case mentioned in the Appendix to the Essay, and enquire what reason there is for judging that the probability of an event concerning which nothing is known, but that it has happened 100 times and failed 1000 times in 1100 trials, lies between $\frac{10}{11} + \frac{1}{110}$ and $\frac{10}{11} - \frac{1}{110}$. The second rule as given in Art. 12 informs us, that the chance* for this must lie between .6512, (or the odds of 186 to 100) and .7700, (or the odds of 334 to 100). But from the last Art. it will appear that the required chance in this case must lie between $2\Sigma$, and
$$\Sigma + \Sigma \times \frac{1 - E^a b^q - 2E^a b^q}{1 + \frac{1}{10} E^a b^q + \frac{E^a b^q}{10 n}};$$ or, between .6748 and .7057; that is, between the odds of 239 to 100, and 207 to 100.
In all cases when $x$ is small, and also whenever the disparity between $p$ and $q$ is not great $2\Sigma$ is almost exactly the true chance required. And I have reason to think, that even in all other cases, $2\Sigma$ gives the
* In the Appendix, this chance, as discovered by Mr. Bayes's second rule, is given wrong, in consequence of making $m^2$ equal to $\frac{n^3}{pq}$, whereas it should have been taken equal to $\frac{n^3}{2pq}$ as appears from Article 8.
true chance nearer than within the limits now determined. But not to pursue this subject any further; I shall only add that the value of $2 \Sigma$ may be always calculated very nearly, and without great difficulty; for the approximations to the value of $E a^p b^q$, and of the series $m - z \frac{m^3 z^3}{3} + \frac{n-2}{2.n} \times \frac{m^5 z^5}{5}$, &c. * given in the Essay, are sufficiently accurate in all cases where it is necessary to use them.
* In the expression for this last approximation there is an error of the press which should be corrected; for the sign before the fourth term should be — and not +.