Questions tagged [likelihood-ratio]
The likelihood ratio is the ratio of the likelihoods of two models (or a null and alternative parameter value within a single model), which may be used to compare or test the models. If either model is not fully specified then its maximum likelihood over all free parameters is used - this is sometimes called a generalized likelihood ratio.
664
questions
0
votes
1
answer
20
views
Monte Carlo method for likelihoods ratio density estimation
I recently started reading Stephen Kay's Fundamentals of Statistical Signal Processing - Detection Theory (Volume II) and there is something I do not fully understand about likelihoods and hypothesis ...
0
votes
0
answers
27
views
Comparing Models with Unequal Sample Sizes
I have performed an association analysis where I have associatiated several different perdictor variables to a dependent variable. For each predictor, I run two models and compare them via the ...
3
votes
1
answer
55
views
is the likelihood ratio test "best" for finite samples?
Wikipedia says
The Neyman–Pearson lemma states that this likelihood-ratio (lr) test is the most powerful among all level α alpha tests for this case.
Is this only true for infinite sample sizes? Is ...
0
votes
0
answers
16
views
Rejection region in LRT test
Let's say I have $X_i \sim Bi(1, \theta$) and want to test $H_0: \theta \geq \theta_0$ vs $H_1: \theta < \theta_0$.
I've found that $\lambda = \frac{\sup_{\theta \in \Theta_0}L(\theta)}{\sup_{\...
1
vote
1
answer
41
views
Comparison of two test metrics
I'm trying to compare two test metrics (Metric A and Metric B) to determine which one better predicts a delta value, which represents a Euclidean difference. I am unsure how to determining which ...
1
vote
1
answer
56
views
Hypothesis Test Finite Sample Spatial Gaussian Mixture Model
I have $n$ observations of pairs $(x, y)$ and three different models I would like to compare. Model0 is nested within Model1. Model0 is also nested within Model2. I would like to do hypothesis ...
0
votes
0
answers
39
views
Likelihood ratios not distributed as a chi2 distribution with the correct dof (Wilks' theorem)
I perform Bayesian inference on a mixture model such that $\mu$ is the mixture weight for a feature in the mixture
$p(x | \mu, \theta) = \mu p_{f}(x|\theta) + (1-\mu)p_{nf}(x|\theta)$
I have prior $p(\...
4
votes
1
answer
58
views
Likelihood-ratio and score tests of a (non)linear combination of coefficients
The likelihood-ratio and score test are typically used for simple scalar hypotheses such as $\beta_1 = 0$ or $\beta_1 = \beta_2 = 0$. How can we test a linear combination of coefficients using the ...
3
votes
1
answer
94
views
likelihood ratio tests on bounded parameters
I am confused by the likelihood ratio test's boundary condition limitation. A commonly stated is that it causes problem for variance parameter because it is bounded below by 0. Can these models ...
1
vote
1
answer
90
views
One sided likelihood ratio test for a logistic regression model?
I need to run a one-sided test on one parameter of a logistic regression model:
$H_0$: $\beta = 0$
$H_1$: $\beta \geq 0$
I want to avoid Wald-equivalent methods as these are known to have problems ...
0
votes
0
answers
24
views
Lower threshold for Sequential Probability Ratio Test on Contingency Table testing
For testing whether a die is fair, we have the log likelihood ratio:
$$
\Lambda = \frac{1}{2} \sum_{i} \mathrm{observed}_i \log\left(\frac{\mathrm{observed}_i}{\mathrm{expected}_i}\right).
$$
Suppose ...
7
votes
2
answers
105
views
LR statistics add up for nested models. What about the Wald test?
Consider models M0, M1, M2.
Let M0 $\subset$ M1 $\subset$ M2, i.e. let the models nest each other.
I test the following pairs of models using the likelihood-ratio (LR) test: M0 vs. M2, M0 vs. M1, M1 ...
1
vote
0
answers
13
views
Am I using the correct test statistic for a binomial glm using the type III Anova function in the package car?
I am trying to look at how the likelihood of event Y is influenced by two factors A (5 levels) and B (2 levels) and my model is as follows:
...
5
votes
2
answers
166
views
Why do I get a negative chi-squared value in my type III ANOVA output for my binomial GLM?
I am trying to look at how the likelihood of event X occurring is affected by three factors A (5 levels), B (2 levels) and C (3 levels). To do this I have run a binomial glm followed by a type 3 ANOVA ...
2
votes
1
answer
52
views
equivalence between the likelihood ratio test and t-tests
The linked sites (link1, link2) demonstrate that the likelihood ratio tests and the corresponding one- and two-sample t-tests are equivalent. However, based on my understanding, the null distribution ...
0
votes
0
answers
14
views
How to translate the set of contrasts over model coefficients into definitions of two nested models for Likelihood Ratio testing?
With the data as below:
Categorical predictor: "Group" with 2 levels: Group 1 and Group 2
Categorical predictor: "Treatment" with 3 levels: A, B, C
Categorical binary response: &...
1
vote
0
answers
34
views
How to test specific contrasts about levels of categorical variables through nested models? [closed]
This is not about obtaining any dataset. I HAVE the dataset.
This is not about debugging code, this is about EXPLAINING the way to obtain statistical relationship between the nested models (LRT ANOVA) ...
2
votes
0
answers
57
views
SUR estimated by OLS: restricted model has higher likelihood
I have three versions of a system of linear regression models: M, M0 and M00. I think each ...
0
votes
1
answer
44
views
How do I quantify the effect of a factor with many levels?
I want to look at the effect of brood ID on fledging success (a binary variable) in a sample of wild birds. Brood ID has ~150 levels.
I have performed a likelihood ratio test comparing two logistic ...
3
votes
2
answers
122
views
Replicate t or F test from regression using regression likelihoods
I've heard that the t-test and F-test we use to get the significance of our regression results are derived from the likelihood ratio test, but I'm having trouble replicating the p-value of the t/F ...
5
votes
4
answers
185
views
Distribution of $Z^2 \cdot I(Z > 0)$ where $Z \sim \text{N}(0,1)$
When using the Likelihood Ratio test for testing particular hypotheses and attempting to obtain an size-$\alpha$ test, I run into the expression
$$ \mathbb{P}\left( Z^2 \cdot I(Z > 0) > c \right)...
3
votes
1
answer
56
views
Why is it preferable to test the effect of a predictor using a likelihood ratio test?
In their fantastic book Applied Longitudinal Data Analysis: Modeling Change and event Occurrence Singer and Willett advocate a iterative model comparison technique for testing the effect of predictors:...
0
votes
0
answers
17
views
How to report results from the likelihood ratio test of two lme models?
I am trying to find an appropriate way to report the results of the likelihood ratio test in a paper. I wrote:
The likelihood ratio tests reported a significant main effect of FE (χ²(1)=6.06, p < 0....
2
votes
2
answers
45
views
How to compare 2 multiply imputed nested Cox proportional hazards models?
I've got 2 nested Cox models, which I fit to 10 imputed datasets. Pooling the regression coefficient estimates and associated p-values I've done already.
I'm trying to work out if adding one extra ...
0
votes
1
answer
59
views
Constructing a one-sided hypothesis test for joint probabilties of negative binomial distributions
I am conducting research on Codling moth population/trap capture models. The end goal is to have a hypothesis testing model that will provide whether or not (at some significance level $\alpha$) the ...
4
votes
2
answers
102
views
How do I work out the significance of main effects in negative binomial models with more than two factors?
I am trying to look at how the number of events X is affected by the three factors A (4 levels), B (2 levels) and C (2 levels) using a negative binomial model as follows:
...
0
votes
0
answers
33
views
Equivalent to likelihood ratio test for null and fitted generalized linear model (Gamma) in R?
I have a dataset of ellipses and I am trying to perform regressions with different categorical variables to see what influences different ellipse parameters the most. As was suggested in the answer to ...
0
votes
1
answer
57
views
Can I use the ratio of two p-values under two hypotheses as a likelihood ratio?
I am designing a simple study where I ask participants a problem. Then I code the answers as either correct or incorrect. I have a prediction from the literature that the percentage of correct answers ...
5
votes
1
answer
110
views
Does performing Likelihood Ratio Test to compare two nested LASSO models make statistical sense?
From what I've studied, the LRT is used to compare two nested models, i.e. 2 models having different sets of nested features, in my case e.g.
Model1: binary_outcome ~ X1 + X2
Model2: binary_outcome ~ ...
3
votes
1
answer
182
views
Karlin-Rubin theorem: relationship between test statistic having the MLR property vs being sufficient
Let's suppose we are trying to compare two hypotheses for a single parameter $\theta$. The null hypothesis $H_0$ is that $\theta = \theta_0$, and the alternative is that $\theta ≥ \theta_0$.
The ...