Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Likelihood-ratio test
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===An example=== The following example is adapted and abridged from {{Harvtxt|Stuart|Ord|Arnold|1999|loc=Β§22.2}}. Suppose that we have a random sample, of size {{mvar|n}}, from a population that is normally-distributed. Both the mean, {{mvar|μ}}, and the standard deviation, {{mvar|σ}}, of the population are unknown. We want to test whether the mean is equal to a given value, {{math|''μ''{{sub|0}} }}. Thus, our null hypothesis is {{math|''H''{{sub|0}}: ''μ'' {{=}} ''μ''{{sub|0}} }} and our alternative hypothesis is {{math|''H''{{sub|1}}: ''μ'' β ''μ''{{sub|0}} }}. The likelihood function is :<math>\mathcal{L}(\mu,\sigma \mid x) = \left(2\pi\sigma^2\right)^{-n/2} \exp\left( -\sum_{i=1}^n \frac{(x_i -\mu)^2}{2\sigma^2}\right)\,.</math> With some calculation (omitted here), it can then be shown that :<math>\lambda_{LR} = n \ln\left[ 1 + \frac{t^2}{n-1}\right] </math> where {{mvar|t}} is the [[t-statistic|{{mvar|t}}-statistic]] with {{math|''n'' − 1}} degrees of freedom. Hence we may use the known exact distribution of {{math|''t''{{sub|''n''−1}}}} to draw inferences.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)