The data generating process is f ( x &#x2223;<!-- ∣ --> &#x03B8;<!-- θ --> ) =

slijmigrd

slijmigrd

Answered question

2022-07-07

The data generating process is
f ( x θ ) = 1 θ , 0 x θ
Let H 1 : θ = 5 and H 2 : θ 5. Prior probabilities of 1 2 are assigned to the two hypotheses, and a sample of size 5 yields a maximum value of 4. Find the p-value here.
According to the definition of p-value,
p = P ( L R L R H 1 ) ,
and L R = ( 4 5 ) 5 . I am not sure what to do next. Furthermore, intuitively, if the maxima is equal to 5 exactly, shall we get an extremely big p or a small one?

Answer & Explanation

Shawn Castaneda

Shawn Castaneda

Beginner2022-07-08Added 17 answers

The p-value is the probability of getting a value as extreme as the one observed under the null hypothesis, therefore should be P r ( max { X 1 , . . . , X 5 } 4 | θ = 5 ). Since H 0 : θ = 5 means that X has the continuous uniform distribution X U n i f ( 0 , 5 ) , we expect the pvalue to be P r ( X 1 4 ) . . . P r ( X 5 4 ) = ( 4 5 ) 5 = .32768.
We should get a p-value close to 1 if the maximum is close to 5 and less than 5, and a p-value close to 0 if the maximum is close to 0 and positive. We should get p-values of 0 if the maximum is greater than 5, and it's impossible to get a maximum less than 0 because it's not in the support of the data-generating process.

Do you have a similar question?

Recalculate according to your conditions!

New Questions in College Statistics

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?