# Generalized p-value

In statistics, a generalized p-value is an extended version of the classical p-value, which except in a limited number of applications, provides only approximate solutions.

Conventional statistical methods do not provide exact solutions to many statistical problems, such as those arising in mixed models and MANOVA, especially when the problem involves many nuisance parameters. As a result, practitioners often resort to approximate statistical methods or asymptotic statistical methods that are valid only with large samples. With small samples, such methods often have poor performance.[1] Use of approximate and asymptotic methods may lead to misleading conclusions or may fail to detect truly significant results from experiments.

Tests based on generalized p-values are exact statistical methods in that they are based on exact probability statements. While conventional statistical methods do not provide exact solutions to such problems as testing variance components or ANOVA under unequal variances, exact tests for such problems can be obtained based on generalized p-values.[1][2]

In order to overcome the shortcomings of the classical p-values, Tsui and Weerahandi[2] extended the classical definition so that one can obtain exact solutions for such problems as the Behrens–Fisher problem and testing variance components. This is accomplished by allowing test variables to depend on observable random vectors as well as their observed values, as in the Bayesian treatment of the problem, but without having to treat constant parameters as random variables.

## A simple case

To describe the idea of generalized p-values in a simple example, consider a situation of sampling from a normal population with mean ${\displaystyle \mu }$, and variance ${\displaystyle \sigma ^{2}}$, suppose ${\displaystyle {\overline {X}}}$ and ${\displaystyle S^{2}}$ are the sample mean and the sample variance. Inferences on all unknown parameters can be based on the distributional results

${\displaystyle Z={\sqrt {n}}({\overline {X}}-\mu )/\sigma \sim N(0,1)}$

and

${\displaystyle U=nS^{2}/\sigma ^{2}\sim \chi _{n-1}^{2}.}$

Now suppose we need to test the coefficient of variation, ${\displaystyle \rho =\mu /\sigma }$. While the problem is not trivial with conventional p-values, the task can be easily accomplished based on the generalized test variable

${\displaystyle R={\frac {{\overline {x}}S}{s\sigma }}-{\frac {{\overline {X}}-\mu }{\sigma }}={\frac {\overline {x}}{s}}{\frac {\sqrt {U}}{\sqrt {n}}}~-~{\frac {Z}{\sqrt {n}}},}$

where ${\displaystyle {\overline {x}}}$ is the observed value of ${\displaystyle {\overline {X}}}$ and ${\displaystyle s}$ is the observed value of ${\displaystyle S}$. Note that the distribution of ${\displaystyle R}$ and its observed value are both free of nuisance parameters. Therefore, a test of a hypothesis with a one-sided alternative such as ${\displaystyle H_{A}:\rho <\rho _{0}}$ can be based on the generalized p-value ${\displaystyle p=Pr(R\geq \rho _{0})}$, a quantity that can be evaluated via Monte Carlo simulation or using the non-central t-distribution.

## Notes

1. ^ a b Weerahandi (1995)
2. ^ a b Tsui & Weerahandi (1989)