User:PAR/Work2

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Binomial paper


Graphical insight

An intuitive understanding of the need for the Bessel correction when estimating the population variance can be found by considering the case when the sample consists of just two observations, x1 and x2. In the diagram, the horizontal and vertical axes are the values of these variables, and the two observations are represented by point A. The probability density function for the population is shown in grey, centered at the point M at [μ,μ] on the line of equality which is shown in blue. If we were to take many such double observations and plot them, they would tend to cluster about the point M with a variance equivalent to that of the probability density. The sample mean is represented by point B at position [x,x], also on the line of equality, where x=(x1+x2)/2. It can be shown that the line AB is perpendicular to the line of equality:

[x1x,x2x][1,1]=0

The three points form a right triangle with sides of length ϵ1, ϵ2, and ϵ12+ϵ22. It is reasonable to expect that a good measure of the population variance derived from the single pair of observations will be given by the square of the distance from point A to point M. It can also be seen that the distance from point A to point B will always underestimate that distance, unless the population mean and the sample mean happen to coincide. The distance from point A to point B is:

ϵ12=|[x1x,x2x]|=2sn2

which is just twice the biased estimator of the population variance. The unbiased estimator will be given by ϵ12+ϵ22(WRONG). It reasonable that this error ϵ22 is roughly given by ϵ12, and this is in fact exactly true, although not graphically obvious. Since ϵ22=ϵ12, the unbiased estimate of the population variance is then

ϵ12+ϵ22=4sn2=(21)sn2

which is just what is expected based on the above definitions of the biased and unbiased varianse.

If we were to take samples containing three observations, we could make a similar diagram in a 3-dimensional space. The distance to the line of equality would now involve the squares of tw, while the error would still be measured along the line of equality.

Test

The system under consideration is held at constant temperature and pressure, and is closed (no matter can come in or out). The Gibbs energy of any system is G=U+PV-TS and an infinitesimal change in G, at constant temperature and pressure yields:

dG=dU+PdVTdS

By the first law of thermodynamics, a change in the internal energy U is given by

dU=δQ+δW

where δQ is energy added as heat, and δW is energy added as work. The work done on the system may be written as δW=-PdV+δWx, where -PdV is the mechanical work of compression/expansion done on the system and δWx is all other forms of work, which may include electrical, magnetic, etc.

The electrostatic energy of a charged particle at potential φ is just 12zieϕ where e is the (positive) elementary charge and zi is the coefficient of charge on the ion.

dU=δQPdV

and the infinitesimal change in G is:

dG=δQTdS

The second law of thermodynamics states that for a closed system, TdSδQ, and so it follows that:

dG0

This means that for a system which is not in equilbrium, its Gibbs energy will always be decreasing, and when it is in equilibrium (i.e. no longer changing), the infinitesimal change dG will be zero. In particular, this will be true if the system is experiencing any number of internal chemical reactions on its path to equilibrium.