Skip to main content

All Questions

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 ...
A Friendly Fish's user avatar
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(\...
malavika v vasist's user avatar
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 ...
shabbychef's user avatar
  • 14.9k
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: ...
Insect_biologist's user avatar
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 ...
Insect_biologist's user avatar
4 votes
1 answer
100 views

What are the degrees of freedom to consider for a G-test when some cells have expected values of 0?

Let's say I conduct a survey where people can mention their favorite color among four options (red, green, blue, yellow). After collecting the data, I create a contingency table crossing gender with ...
Daniela's user avatar
  • 57
1 vote
1 answer
41 views

Why doesn't the G-test's Chi-squared "threshold" scale with sample size?

In the popular likelihood ratio test of goodness-of-fit (also known as the G-test: see, e.g., here), the test statistic is calculated as $$G(\mathbf{O},\mathbf{E})=2\sum_{i=1}^{M}O_{i}\log\frac{O_{i}}{...
J.Galt's user avatar
  • 565
0 votes
0 answers
146 views

Proof Maximum likelihood ratio test to be a $\chi^2$ distribution

I have been struggling with this demonstration and I can not finish it, I want to demonstrate that for Gaussian samples (of $\sigma$ and $\mu$) the maximum likelihood ratio test holds for a $\chi^2$ ...
Euler's user avatar
  • 123
0 votes
1 answer
118 views

Testing independence and setting constraint matrices in a multinomial logit model in R

I have a data set the looks like this (called rand_df as this is a random subset from the much larger dataframe): ...
David Smith's user avatar
1 vote
1 answer
47 views

Choose statistical test method: comparing the frequency of a disease (only interested the disease post-procedure) in 2 groups of patients

I am working on 2 groups of patients, group A and group B. The patients in both groups have received a same procedure. We have observed the patients before and after the procedure. Suppose there is a ...
Mipha's user avatar
  • 11
1 vote
1 answer
888 views

Adding covariates in chi-squared test or proportions test?

I am having trouble figuring out what analysis is appropriate for my research question. I've been googling for the past few days but couldn't find the answer. I would greatly appreciate it if anyone ...
user avatar
1 vote
1 answer
2k views

Significant coefficients but non-significant likelihood ratio test [closed]

Following a comment on this thread, I have a question about interpreting a logistic regression model with significant coefficients, but non significant likelihood ratio test. I have a super simple ...
becbot's user avatar
  • 111
2 votes
0 answers
175 views

Generalized Likelihood Ratio Test with null hypothesis defined by union of sets

Suppose you have a model with likelihood $ \mathcal L(\theta;\boldsymbol X) $, where $\theta \in \Theta$ are parameters and $\boldsymbol X = (X_1, \ldots, X_n ) $ denotes i.i.d. data. Likelihood ratio ...
Lorenzo Pacchiardi's user avatar
4 votes
1 answer
226 views

Is there a G-test equivalent for continuous variables?

The G-test is similar to the chi-square test for goodness of fit. It is proportional to the kl-divergence. I am wondering if there is a similar test that is applicable to continuous variables. Since ...
Tal Galili's user avatar
  • 21.8k
2 votes
1 answer
1k views

How to interpret significant likelihood ratio and insignificant Chi-square tests?

To analyze frequencies in a 2x2 table, I ran a statistical test procedure using SPSS. It returned a p less than .05 for the likelihood Ratio but greater than .05 for Chi-Square and Fisher Exact Test (...
Joel W.'s user avatar
  • 3,377

15 30 50 per page