How to compute a conditional probability related to Type II error?
up vote
0
down vote
favorite
I would like to know how to compute the following conditional probability.
Let $X|theta sim mathcal{U}(0,theta)$ be a uniform random variable.
Given a fixed $theta = theta_0 > 0$, one can easily compute the conditional probability
$$
P(X le 1 | theta = theta_0) = int_0^{min{1,theta_0}} frac{1}{theta_0}dx.
$$
But I am not sure how one can compute the conditional probability of
$X$ given $theta < 1.5$ or $theta ne 1.5$, i.e., $$ P(X le 1 |
theta < 1.5) = ?, qquad P(X le 1 | theta ne 1.5) = ? $$
However, given a probability distribution on $theta$, I can compute
the above probabilities.
For example, assuming $theta sim mathcal{U}(0,2)$,
since
begin{align*}
P(Xle 1, theta le 1.5) &= int_0^{1.5} int_0^{min{1, z}} f(x|z)f_theta(z) dx dz
= int_0^{1.5} int_0^{min{1, z}} frac{1}{2z} dx dz \
&= int_0^{1.5} frac{min{1,z}}{2z} dz
= int_0^{1} 0.5 dz + int_1^{1.5} frac{1}{2z} dz \
&= 0.5(1 + ln 1.5),
end{align*}
one can compute
begin{align*}
P(X le 1 | theta < 1.5) &= frac{P(X le 1, theta < 1.5)}{P(theta < 1.5)}
= frac{0.5(1+ln1.5)}{0.75} = frac{2}{3}(1+ln 1.5).
end{align*}
Similarly, in order to compute $P(X le 1 | theta ne 1.5)$,
I considered
$$
P(X le 1, theta ne 1.5) = P(X le 1, theta < 1.5) + P(Xle 1, theta > 1.5).
$$
Since
$$
P(X le 1, theta > 1.5) = int_{1.5}^2 int_0^{min{1,z}} frac{1}{2z}dxdz = 0.5 ln frac{2}{1.5},
$$
we have
$$
P(X le 1, theta ne 1.5) = 0.5(1 + ln 2).
$$
It then follows from $P(theta ne 1.5) =1$ that
$$
P(X le 1 | theta ne 1.5) = 0.5(1+ln 2).
$$
Does it even make sense writing the following expressions without introducing a probability on $theta$?
$$ P(X le 1 | theta ne theta_0)? quad P(X le 1 | theta < theta_0)?
quad P(X le 1 | theta > theta_0)? $$
If it makes sense, I would like to know how to compute such probabilities.
Any comments/suggestions/answers will be very appreciated. Thanks.
probability probability-theory reference-request conditional-probability hypothesis-testing
add a comment |
up vote
0
down vote
favorite
I would like to know how to compute the following conditional probability.
Let $X|theta sim mathcal{U}(0,theta)$ be a uniform random variable.
Given a fixed $theta = theta_0 > 0$, one can easily compute the conditional probability
$$
P(X le 1 | theta = theta_0) = int_0^{min{1,theta_0}} frac{1}{theta_0}dx.
$$
But I am not sure how one can compute the conditional probability of
$X$ given $theta < 1.5$ or $theta ne 1.5$, i.e., $$ P(X le 1 |
theta < 1.5) = ?, qquad P(X le 1 | theta ne 1.5) = ? $$
However, given a probability distribution on $theta$, I can compute
the above probabilities.
For example, assuming $theta sim mathcal{U}(0,2)$,
since
begin{align*}
P(Xle 1, theta le 1.5) &= int_0^{1.5} int_0^{min{1, z}} f(x|z)f_theta(z) dx dz
= int_0^{1.5} int_0^{min{1, z}} frac{1}{2z} dx dz \
&= int_0^{1.5} frac{min{1,z}}{2z} dz
= int_0^{1} 0.5 dz + int_1^{1.5} frac{1}{2z} dz \
&= 0.5(1 + ln 1.5),
end{align*}
one can compute
begin{align*}
P(X le 1 | theta < 1.5) &= frac{P(X le 1, theta < 1.5)}{P(theta < 1.5)}
= frac{0.5(1+ln1.5)}{0.75} = frac{2}{3}(1+ln 1.5).
end{align*}
Similarly, in order to compute $P(X le 1 | theta ne 1.5)$,
I considered
$$
P(X le 1, theta ne 1.5) = P(X le 1, theta < 1.5) + P(Xle 1, theta > 1.5).
$$
Since
$$
P(X le 1, theta > 1.5) = int_{1.5}^2 int_0^{min{1,z}} frac{1}{2z}dxdz = 0.5 ln frac{2}{1.5},
$$
we have
$$
P(X le 1, theta ne 1.5) = 0.5(1 + ln 2).
$$
It then follows from $P(theta ne 1.5) =1$ that
$$
P(X le 1 | theta ne 1.5) = 0.5(1+ln 2).
$$
Does it even make sense writing the following expressions without introducing a probability on $theta$?
$$ P(X le 1 | theta ne theta_0)? quad P(X le 1 | theta < theta_0)?
quad P(X le 1 | theta > theta_0)? $$
If it makes sense, I would like to know how to compute such probabilities.
Any comments/suggestions/answers will be very appreciated. Thanks.
probability probability-theory reference-request conditional-probability hypothesis-testing
1
Sometimes $Xmid theta$ notation is used (improperly) to specify the family of probability measures (distributions) indexed by $theta$. There is no actual conditioning and under $H_0:theta=theta_0$, $mathsf{P}_{theta_0}(Xle 1)$ is given by your first equation.
– d.k.o.
Dec 3 at 8:09
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I would like to know how to compute the following conditional probability.
Let $X|theta sim mathcal{U}(0,theta)$ be a uniform random variable.
Given a fixed $theta = theta_0 > 0$, one can easily compute the conditional probability
$$
P(X le 1 | theta = theta_0) = int_0^{min{1,theta_0}} frac{1}{theta_0}dx.
$$
But I am not sure how one can compute the conditional probability of
$X$ given $theta < 1.5$ or $theta ne 1.5$, i.e., $$ P(X le 1 |
theta < 1.5) = ?, qquad P(X le 1 | theta ne 1.5) = ? $$
However, given a probability distribution on $theta$, I can compute
the above probabilities.
For example, assuming $theta sim mathcal{U}(0,2)$,
since
begin{align*}
P(Xle 1, theta le 1.5) &= int_0^{1.5} int_0^{min{1, z}} f(x|z)f_theta(z) dx dz
= int_0^{1.5} int_0^{min{1, z}} frac{1}{2z} dx dz \
&= int_0^{1.5} frac{min{1,z}}{2z} dz
= int_0^{1} 0.5 dz + int_1^{1.5} frac{1}{2z} dz \
&= 0.5(1 + ln 1.5),
end{align*}
one can compute
begin{align*}
P(X le 1 | theta < 1.5) &= frac{P(X le 1, theta < 1.5)}{P(theta < 1.5)}
= frac{0.5(1+ln1.5)}{0.75} = frac{2}{3}(1+ln 1.5).
end{align*}
Similarly, in order to compute $P(X le 1 | theta ne 1.5)$,
I considered
$$
P(X le 1, theta ne 1.5) = P(X le 1, theta < 1.5) + P(Xle 1, theta > 1.5).
$$
Since
$$
P(X le 1, theta > 1.5) = int_{1.5}^2 int_0^{min{1,z}} frac{1}{2z}dxdz = 0.5 ln frac{2}{1.5},
$$
we have
$$
P(X le 1, theta ne 1.5) = 0.5(1 + ln 2).
$$
It then follows from $P(theta ne 1.5) =1$ that
$$
P(X le 1 | theta ne 1.5) = 0.5(1+ln 2).
$$
Does it even make sense writing the following expressions without introducing a probability on $theta$?
$$ P(X le 1 | theta ne theta_0)? quad P(X le 1 | theta < theta_0)?
quad P(X le 1 | theta > theta_0)? $$
If it makes sense, I would like to know how to compute such probabilities.
Any comments/suggestions/answers will be very appreciated. Thanks.
probability probability-theory reference-request conditional-probability hypothesis-testing
I would like to know how to compute the following conditional probability.
Let $X|theta sim mathcal{U}(0,theta)$ be a uniform random variable.
Given a fixed $theta = theta_0 > 0$, one can easily compute the conditional probability
$$
P(X le 1 | theta = theta_0) = int_0^{min{1,theta_0}} frac{1}{theta_0}dx.
$$
But I am not sure how one can compute the conditional probability of
$X$ given $theta < 1.5$ or $theta ne 1.5$, i.e., $$ P(X le 1 |
theta < 1.5) = ?, qquad P(X le 1 | theta ne 1.5) = ? $$
However, given a probability distribution on $theta$, I can compute
the above probabilities.
For example, assuming $theta sim mathcal{U}(0,2)$,
since
begin{align*}
P(Xle 1, theta le 1.5) &= int_0^{1.5} int_0^{min{1, z}} f(x|z)f_theta(z) dx dz
= int_0^{1.5} int_0^{min{1, z}} frac{1}{2z} dx dz \
&= int_0^{1.5} frac{min{1,z}}{2z} dz
= int_0^{1} 0.5 dz + int_1^{1.5} frac{1}{2z} dz \
&= 0.5(1 + ln 1.5),
end{align*}
one can compute
begin{align*}
P(X le 1 | theta < 1.5) &= frac{P(X le 1, theta < 1.5)}{P(theta < 1.5)}
= frac{0.5(1+ln1.5)}{0.75} = frac{2}{3}(1+ln 1.5).
end{align*}
Similarly, in order to compute $P(X le 1 | theta ne 1.5)$,
I considered
$$
P(X le 1, theta ne 1.5) = P(X le 1, theta < 1.5) + P(Xle 1, theta > 1.5).
$$
Since
$$
P(X le 1, theta > 1.5) = int_{1.5}^2 int_0^{min{1,z}} frac{1}{2z}dxdz = 0.5 ln frac{2}{1.5},
$$
we have
$$
P(X le 1, theta ne 1.5) = 0.5(1 + ln 2).
$$
It then follows from $P(theta ne 1.5) =1$ that
$$
P(X le 1 | theta ne 1.5) = 0.5(1+ln 2).
$$
Does it even make sense writing the following expressions without introducing a probability on $theta$?
$$ P(X le 1 | theta ne theta_0)? quad P(X le 1 | theta < theta_0)?
quad P(X le 1 | theta > theta_0)? $$
If it makes sense, I would like to know how to compute such probabilities.
Any comments/suggestions/answers will be very appreciated. Thanks.
probability probability-theory reference-request conditional-probability hypothesis-testing
probability probability-theory reference-request conditional-probability hypothesis-testing
asked Dec 3 at 4:03
induction601
1,070314
1,070314
1
Sometimes $Xmid theta$ notation is used (improperly) to specify the family of probability measures (distributions) indexed by $theta$. There is no actual conditioning and under $H_0:theta=theta_0$, $mathsf{P}_{theta_0}(Xle 1)$ is given by your first equation.
– d.k.o.
Dec 3 at 8:09
add a comment |
1
Sometimes $Xmid theta$ notation is used (improperly) to specify the family of probability measures (distributions) indexed by $theta$. There is no actual conditioning and under $H_0:theta=theta_0$, $mathsf{P}_{theta_0}(Xle 1)$ is given by your first equation.
– d.k.o.
Dec 3 at 8:09
1
1
Sometimes $Xmid theta$ notation is used (improperly) to specify the family of probability measures (distributions) indexed by $theta$. There is no actual conditioning and under $H_0:theta=theta_0$, $mathsf{P}_{theta_0}(Xle 1)$ is given by your first equation.
– d.k.o.
Dec 3 at 8:09
Sometimes $Xmid theta$ notation is used (improperly) to specify the family of probability measures (distributions) indexed by $theta$. There is no actual conditioning and under $H_0:theta=theta_0$, $mathsf{P}_{theta_0}(Xle 1)$ is given by your first equation.
– d.k.o.
Dec 3 at 8:09
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3023608%2fhow-to-compute-a-conditional-probability-related-to-type-ii-error%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Sometimes $Xmid theta$ notation is used (improperly) to specify the family of probability measures (distributions) indexed by $theta$. There is no actual conditioning and under $H_0:theta=theta_0$, $mathsf{P}_{theta_0}(Xle 1)$ is given by your first equation.
– d.k.o.
Dec 3 at 8:09