Binary Hypothesis Test Homework: Formulate Likelihood Ratio Test

In summary, a binary hypothesis test is a statistical method used to determine the likelihood of a given data set occurring under one of two possible hypotheses. It involves comparing the strength of evidence for the null hypothesis and the alternative hypothesis using techniques like likelihood ratio tests. A likelihood ratio test is used to compare the likelihood of two hypotheses being true by calculating the ratio of the data under each hypothesis. This method is used in binary hypothesis testing to make informed decisions about accepting or rejecting a hypothesis. Its purpose is to quantify the strength of evidence for or against a hypothesis. Unlike other methods, it is flexible and does not require data to follow a specific distribution.
  • #1
brendan_foo
65
0

Homework Statement



This was a midterm question that took some people a rapid time to solve, hence I can only imagine either I was needlessly long winded or something else occurred.

Hypothesis 1: [tex]S = 2 + \omega[/tex]
Hypothesis 2: [tex]S = -2 + \omega[/tex]
[tex]\omega \sim \mathcal{N}(0,\sigma^2_{w})[/tex]

Homework Equations



The following observations are made:

diag.jpg


[tex]N_1 \sim \mathcal{N}(0,\sigma^2_1)[/tex]
[tex]N_2 \sim \mathcal{N}(0,\sigma^2_2)[/tex]

Formulate the likelihood ratio test

The Attempt at a Solution



Clearly, the variable [itex]S[/itex] has its conditional PDF shifted about the respective mean, and so I yield the likelihood ratio as follows:

[tex]
\vec{r} \triangleq
\begin{pmatrix}
r_1\\
r_2
\end{pmatrix}
[/tex]

[tex]

\Lambda(\vec{r}) = \exp(-\frac{1}{2}((\vec{r} - \vec{\mu_{H1}})^{T} \mathbb{R}^{-1}(\vec{r} - \vec{\mu_{H1}}) - (\vec{r} - \vec{\mu_{H0}})^{T} \mathbb{R}^{-1}(\vec{r} - \vec{\mu_{H0}})))

[/tex]

Where

[tex]
\vec{\mu_{H1}} =
\begin{pmatrix}
2\\
0
\end{pmatrix}
[/tex]
[tex]
\vec{\mu_{H0}} =
\begin{pmatrix}
-2\\
0
\end{pmatrix}
[/tex]

and

[tex]
R =
\begin{bmatrix}
\sigma_1^2 + \sigma_{w}^2 & \sigma_1^2\\
\sigma_1^2 & \sigma_{1}^2 + \sigma_2^2
\end{bmatrix}
[/tex]Clearly the issue here becomes a matter of algebraic reduction after taking the natural logarithm. I have omitted any 'threshold' on the RHS (Bayes criterion for example).

Is this formulation correct thus far? Some people mentioned no need for matrix inversions of any type...Can this problem be simplified or have I needlessly made things difficult for myself?

With thanks,

:)
 
Physics news on Phys.org
  • #2

Hello,

Your formulation of the likelihood ratio test appears to be correct so far. It is important to note that this is just one possible approach to solving the problem and there may be other ways to simplify the problem or make it easier to solve. However, your approach does seem to be valid and it may just require some algebraic manipulation to reduce the equations.

In terms of the use of matrix inversions, it may not be necessary in this case as you are dealing with a simple 2x2 matrix and the inverse can be easily calculated. However, if you are able to solve the problem without using matrix inversions, that may be a simpler and more efficient approach.

Overall, it seems like you have a good understanding of the problem and your approach is valid. You may just need to continue working through the equations and simplifying them to reach a final solution. Keep up the good work!
 
  • #3


Dear student,

Your formulation of the likelihood ratio test appears to be correct. However, it is always a good idea to check your work with a classmate or the professor to ensure accuracy. As for the use of matrix inversions, it is possible that there may be alternative methods to solve this problem without using them. It would be beneficial to discuss this with your classmates or professor to see if there are simpler solutions. However, if your solution is correct, then there is no need to worry about the complexity. Keep up the good work!
 

FAQ: Binary Hypothesis Test Homework: Formulate Likelihood Ratio Test

1. What is a binary hypothesis test?

A binary hypothesis test is a statistical method used to determine whether a given data set or sample is more likely to have occurred under one of two possible hypotheses. The two hypotheses are referred to as the null hypothesis and the alternative hypothesis. The goal of a binary hypothesis test is to evaluate the strength of evidence in favor of or against the null hypothesis, using statistical techniques such as likelihood ratio tests.

2. What is a likelihood ratio test?

A likelihood ratio test is a statistical method used to compare the likelihood of two different hypotheses being true. It involves calculating the ratio of the likelihood of the data under the null hypothesis to the likelihood of the data under the alternative hypothesis. This ratio is then compared to a critical value to determine whether there is enough evidence to reject the null hypothesis in favor of the alternative hypothesis.

3. How is a likelihood ratio test used in binary hypothesis testing?

In binary hypothesis testing, the likelihood ratio test is used to evaluate the strength of evidence in favor of or against the null hypothesis. The test involves calculating the likelihood ratio of the data under the null hypothesis to the data under the alternative hypothesis, and then comparing this ratio to a critical value. If the ratio is greater than the critical value, it is considered statistically significant and the null hypothesis is rejected in favor of the alternative hypothesis.

4. What is the purpose of formulating a likelihood ratio test?

The purpose of formulating a likelihood ratio test is to determine the strength of evidence in favor of or against a particular hypothesis. This provides a way to make informed decisions about whether to accept or reject a hypothesis based on statistical evidence. It also allows for the comparison of different hypotheses and helps to identify which one is more likely to be true based on the available data.

5. How does a likelihood ratio test differ from other hypothesis testing methods?

Unlike other hypothesis testing methods, such as t-tests or ANOVA, a likelihood ratio test does not require that the data follow a specific distribution. It is also a more flexible method, as it can be used to compare multiple hypotheses simultaneously. Additionally, a likelihood ratio test allows for the quantification of the strength of evidence in favor of or against a hypothesis, rather than just a simple acceptance or rejection of the null hypothesis.

Similar threads

Back
Top