How this calculation works
Evaluate scalar Fisher information and an unnormalized Jeffreys density for a categorical model defined by polynomial probabilities.
I(θ)=Σ_j[p′_j(θ)]²/p_j(θ); π_J(θ)∝√I(θ); for independent n observations, I_n(θ)=nI(θ).A worked example
For category probabilities p₁(θ)=θ and p₂(θ)=1−θ, I(0.5)=4 and the unnormalized Jeffreys density is 2. Over the full Bernoulli domain the normalized prior is Beta(1/2,1/2).
Good to know
2–10 polynomial category probabilities, degree at most five, finite interior theta and a finite closed parameter interval with strictly positive probabilities throughout, including endpoints. Coefficients constant-first and sum-to-one polynomial identity checked. Per-observation Fisher information, unnormalized Jeffreys density; normalize only when integration resolves. No posterior or guaranteed estimator performance.
Reference: UC Berkeley: Jeffreys priors and Fisher information (opens in a new tab) ↗
Information is a property of a parameterized model
A categorical model assigns a probability to each possible category as a function of a scalar parameter θ. Fisher information measures how strongly those probabilities change locally with θ. It is not the information content of one observed category and is not a count of observations. The calculation here reports the expected information from one observation under the declared model.
Jeffreys’ construction uses the square root of that information as a prior density up to a proportionality constant. The density depends on the model’s parameterization in a way designed to transform consistently under a smooth change of parameter. This does not make it a posterior distribution or eliminate the need to state a valid parameter domain.
Compare this with the Moment-generating function calculator. Measure expected score curvature of supplied parameterized category probabilities, not moments of a random variable under a fixed known distribution.
Enter probabilities as polynomial coefficient rows
Each input row is one category’s polynomial, with its constant coefficient first, followed by coefficients of θ, θ squared and higher powers. For example, the rows zero one and one minus one represent θ and one minus θ. There must be two to ten categories, with polynomial degree no greater than five.
The probabilities must sum to the constant polynomial one, not merely happen to sum to one at the evaluation point. Otherwise the entered functions do not define one categorical family over an interval. Each category probability must also be positive at the interior evaluation point so that its logarithmic score and the displayed information formula are defined there.
Differentiate before evaluating
For each category, differentiate its polynomial exactly in coefficient form, then evaluate the probability and derivative at θ. Squaring the derivative and dividing by the corresponding probability gives that category’s information contribution. Summing the contributions yields total per-observation Fisher information. The calculation avoids finite-difference derivatives that can depend strongly on an arbitrary step size.
A constant-probability category can contribute zero derivative without invalidating the model. If all category probabilities are constant, information is zero: observations cannot locally distinguish parameter values through this family. A zero Jeffreys weight in that case does not automatically define a useful normalized prior, because an everywhere-zero density cannot be normalized into a probability distribution.
Validate the interval as a model domain
The finite interval is a domain over which the polynomial probabilities must remain valid, not a confidence interval for θ. Checking positivity only on a coarse grid can miss a narrow negative region between grid points. Polynomial extrema and roots provide stronger domain checks within this low-degree bounded family. This bounded implementation requires strictly positive probabilities at both endpoints as well, so intervals containing a zero-probability endpoint are rejected.
Numerical integration may normalize the square-root information over an accepted interval when the integral is positive, finite and sufficiently resolved. That normalized density is specific to the entered interval. Truncating the interval changes its constant and its interpretation. An unresolved integral is not reported as a normalized prior merely because a finite set of sample points looked harmless.
Verify the Bernoulli default
The default family has probabilities θ and one minus θ. Their derivatives are one and minus one, so Fisher information is one over θ plus one over one minus θ. Combining those terms gives one divided by θ times one minus θ. At θ equal to one half, the information is four.
The square root is therefore two at the default point. The full-domain Jeffreys density has the shape one over the square root of θ times one minus θ and normalizes to the Beta one-half, one-half density. The finite interval supplied in this form excludes the singular endpoints, so any calculated normalization on that interval is a truncated-domain normalization instead.
Units and sample size change the numerical scale
A change from θ to a rescaled parameter changes Fisher information by the squared derivative of the inverse transformation. The square-root density includes the matching Jacobian factor. Consequently, numerical information values in different parameter units are not directly comparable without transforming them. A larger number can reflect a different unit rather than a more informative experiment.
For n independent identical observations, information multiplies by n. Multiplying a Jeffreys density by the resulting square-root constant does not change its normalized shape on the same domain. Dependence or different observation designs require a different joint information calculation. This page does not infer an effective sample size or extend the scalar formula to several parameters.
Keep inferential conclusions separate
Fisher information enters asymptotic estimation theory, but a computed value does not prove that an unbiased estimator exists or attains an information bound. Boundary parameters, nonidentifiability and nonregular models can invalidate simple interpretations. The positivity and identity checks address the entered probability family, not every regularity condition required by a downstream theorem.
Use the category contribution table to see which probabilities drive local sensitivity, and retain the polynomial definitions when sharing the result. A posterior requires actual observed category counts and a likelihood update. This page intentionally stops at information and Jeffreys weighting so that a prior construction is not mistaken for a completed Bayesian analysis.
A few questions, answered
Is the displayed Jeffreys value a normalized probability density?
The primary value is proportional to the density; normalization requires a valid domain and a resolved positive finite integral.
Why must the polynomials sum identically to one?
A categorical family must remain normalized across its domain, not only at one chosen point.
Does the calculator fit theta from observations?
No. It evaluates the supplied model at an entered theta.
How does independent sample size affect information?
For identical independent observations, total information is n times the per-observation value.