Importance sampling estimation of power functionHow to compute importance sampling?Calculate power of a test - solution verificationPower Function ManipulationProof of variance of stationary time seriesPower function in hypothesis testingDerivation and motivation of the power function of a testMost powerful test of simple vs. simple in $mathrmUnif[0, theta]$UMP Test of $H_0 : theta leq 0.1$ vs. $H_1 : theta gt 0.1$ for iid Geometric Random VariablesUniformly most powerful unbiased test exampleHow to evaluate double Integral with importance sampling
When writing an error prompt, should we end the sentence with a exclamation mark or a dot?
How to supress loops in a digraph?
Short story written from alien perspective with this line: "It's too bright to look at, so they don't"
Finding row wise sum of transpose of hv-convex binary matrix
Credit card offering 0.5 miles for every cent rounded up. Too good to be true?
Bent spoke design wheels — feasible?
Building a road to escape Earth's gravity by making a pyramid on Antartica
How to make a setting relevant?
How do I write "Show, Don't Tell" as an Asperger?
How to pass a regex when finding a directory path in bash?
PhD student with mental health issues and bad performance
What's the correct term describing the action of sending a brand-new ship out into its first seafaring trip?
Secure offsite backup, even in the case of hacker root access
Pronoun introduced before its antecedent
What do we gain with higher order logics?
On the Twin Paradox Again
Java guess the number
Does the growth of home value benefit from compound interest?
What's the logic behind the the organization of Hamburg's bus transport into "rings"?
Can a 2nd-level sorcerer use sorcery points to create a 2nd-level spell slot?
What is the advantage of carrying a tripod and ND-filters when you could use image stacking instead?
Through what methods and mechanisms can a multi-material FDM printer operate?
My coworkers think I had a long honeymoon. Actually I was diagnosed with cancer. How do I talk about it?
How were concentration and extermination camp guards recruited?
Importance sampling estimation of power function
How to compute importance sampling?Calculate power of a test - solution verificationPower Function ManipulationProof of variance of stationary time seriesPower function in hypothesis testingDerivation and motivation of the power function of a testMost powerful test of simple vs. simple in $mathrmUnif[0, theta]$UMP Test of $H_0 : theta leq 0.1$ vs. $H_1 : theta gt 0.1$ for iid Geometric Random VariablesUniformly most powerful unbiased test exampleHow to evaluate double Integral with importance sampling
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
$begingroup$
Problem
Suppose we are given $Poisson(theta)$ model, and the null hypothesis is as follows:
$$
H_0 : theta = 0.1 vs. H_1 : theta < 0.1
$$
Suppose we take sample of $n=100$ from the model, $X_1, cdots, X_100$.
Plot the power function $gamma(theta)$, with standard error, of the following test, using importance sampling.
Test : reject $H_0$ at $alpha=0.05$, when
$$
fracbarX - 0.1sqrt0.1/100 < -1.645
$$
In the grammar of test function,
$$
phi(X_1, cdots, X_100) =
begincases
1 & mathrmif fracbarX - 0.1sqrt0.1/100 < -1.645 \[7pt]
0 & mathrmif fracbarX - 0.1sqrt0.1/100 ge -1.645 \[7pt]
endcases
$$
Try
Power function is defined as
$$
gamma(theta) := mathrmE left[ phi(X_1, cdots, X_100) right]
$$
for a fixed $theta$.
So my strategy is to first fix $theta$, and evaluate the quantity
$$
mathrmE left[ phi(X_1, cdots, X_100) right] = Prleft(fracbarX - 0.1sqrt0.1/100 < -1.645 right)
$$
where $100barX sim Poisson(100theta)$.
Question
I do not see any place to apply the importance sampling technique. How the importance sampling (which can give us standard error) can contribute my question?
Any help will be appreciated.
hypothesis-testing self-study monte-carlo power importance-sampling
$endgroup$
add a comment |
$begingroup$
Problem
Suppose we are given $Poisson(theta)$ model, and the null hypothesis is as follows:
$$
H_0 : theta = 0.1 vs. H_1 : theta < 0.1
$$
Suppose we take sample of $n=100$ from the model, $X_1, cdots, X_100$.
Plot the power function $gamma(theta)$, with standard error, of the following test, using importance sampling.
Test : reject $H_0$ at $alpha=0.05$, when
$$
fracbarX - 0.1sqrt0.1/100 < -1.645
$$
In the grammar of test function,
$$
phi(X_1, cdots, X_100) =
begincases
1 & mathrmif fracbarX - 0.1sqrt0.1/100 < -1.645 \[7pt]
0 & mathrmif fracbarX - 0.1sqrt0.1/100 ge -1.645 \[7pt]
endcases
$$
Try
Power function is defined as
$$
gamma(theta) := mathrmE left[ phi(X_1, cdots, X_100) right]
$$
for a fixed $theta$.
So my strategy is to first fix $theta$, and evaluate the quantity
$$
mathrmE left[ phi(X_1, cdots, X_100) right] = Prleft(fracbarX - 0.1sqrt0.1/100 < -1.645 right)
$$
where $100barX sim Poisson(100theta)$.
Question
I do not see any place to apply the importance sampling technique. How the importance sampling (which can give us standard error) can contribute my question?
Any help will be appreciated.
hypothesis-testing self-study monte-carlo power importance-sampling
$endgroup$
1
$begingroup$
I added the self-study tag. Feel free to change it back if this isn't an exercise that was given to you by an instructor
$endgroup$
– Taylor
5 hours ago
add a comment |
$begingroup$
Problem
Suppose we are given $Poisson(theta)$ model, and the null hypothesis is as follows:
$$
H_0 : theta = 0.1 vs. H_1 : theta < 0.1
$$
Suppose we take sample of $n=100$ from the model, $X_1, cdots, X_100$.
Plot the power function $gamma(theta)$, with standard error, of the following test, using importance sampling.
Test : reject $H_0$ at $alpha=0.05$, when
$$
fracbarX - 0.1sqrt0.1/100 < -1.645
$$
In the grammar of test function,
$$
phi(X_1, cdots, X_100) =
begincases
1 & mathrmif fracbarX - 0.1sqrt0.1/100 < -1.645 \[7pt]
0 & mathrmif fracbarX - 0.1sqrt0.1/100 ge -1.645 \[7pt]
endcases
$$
Try
Power function is defined as
$$
gamma(theta) := mathrmE left[ phi(X_1, cdots, X_100) right]
$$
for a fixed $theta$.
So my strategy is to first fix $theta$, and evaluate the quantity
$$
mathrmE left[ phi(X_1, cdots, X_100) right] = Prleft(fracbarX - 0.1sqrt0.1/100 < -1.645 right)
$$
where $100barX sim Poisson(100theta)$.
Question
I do not see any place to apply the importance sampling technique. How the importance sampling (which can give us standard error) can contribute my question?
Any help will be appreciated.
hypothesis-testing self-study monte-carlo power importance-sampling
$endgroup$
Problem
Suppose we are given $Poisson(theta)$ model, and the null hypothesis is as follows:
$$
H_0 : theta = 0.1 vs. H_1 : theta < 0.1
$$
Suppose we take sample of $n=100$ from the model, $X_1, cdots, X_100$.
Plot the power function $gamma(theta)$, with standard error, of the following test, using importance sampling.
Test : reject $H_0$ at $alpha=0.05$, when
$$
fracbarX - 0.1sqrt0.1/100 < -1.645
$$
In the grammar of test function,
$$
phi(X_1, cdots, X_100) =
begincases
1 & mathrmif fracbarX - 0.1sqrt0.1/100 < -1.645 \[7pt]
0 & mathrmif fracbarX - 0.1sqrt0.1/100 ge -1.645 \[7pt]
endcases
$$
Try
Power function is defined as
$$
gamma(theta) := mathrmE left[ phi(X_1, cdots, X_100) right]
$$
for a fixed $theta$.
So my strategy is to first fix $theta$, and evaluate the quantity
$$
mathrmE left[ phi(X_1, cdots, X_100) right] = Prleft(fracbarX - 0.1sqrt0.1/100 < -1.645 right)
$$
where $100barX sim Poisson(100theta)$.
Question
I do not see any place to apply the importance sampling technique. How the importance sampling (which can give us standard error) can contribute my question?
Any help will be appreciated.
hypothesis-testing self-study monte-carlo power importance-sampling
hypothesis-testing self-study monte-carlo power importance-sampling
edited 5 hours ago
Taylor
13.1k22148
13.1k22148
asked 10 hours ago
morebluemoreblue
469111
469111
1
$begingroup$
I added the self-study tag. Feel free to change it back if this isn't an exercise that was given to you by an instructor
$endgroup$
– Taylor
5 hours ago
add a comment |
1
$begingroup$
I added the self-study tag. Feel free to change it back if this isn't an exercise that was given to you by an instructor
$endgroup$
– Taylor
5 hours ago
1
1
$begingroup$
I added the self-study tag. Feel free to change it back if this isn't an exercise that was given to you by an instructor
$endgroup$
– Taylor
5 hours ago
$begingroup$
I added the self-study tag. Feel free to change it back if this isn't an exercise that was given to you by an instructor
$endgroup$
– Taylor
5 hours ago
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
I will mention three ways to approximate the following
$$
mathrmE left[ phi(X_1, cdots, X_100) right] = Prleft(fracbarX - 0.1sqrt0.1/100 < -1.645 right).
$$
Use the CLT to justify
$$
Phi(-1.645).
$$
2.
Second, simulate $N$ length $100$ data sets from your joint mass function to calculate
$$
frac1Nsum_i=1^N phi(X^i_1, cdots, X^i_100)
$$
Simulate $N$ length $100$ data sets from some proposal pmf $q(x_1, ldots, x_100)$ and calculate
$$
frac1Nsum_i=1^Nphi(X^i_1, cdots, X^i_100) fracp(x^i_1, ldots, x^i_100)q(X^i_1, cdots, X^i_100)
$$
where $p$ is your true product-Poisson pmf.
Calculating approximate standard errors is probably easier for the last two, but you may also get Berry-Esseen bounds for the first one.
To check your answers, it might also be worth evaluating the true probability. This is possible using what you mentioned: that the sum of iid Poissons is also Poisson-distributed. The cdf is available in most statistical software packages:
$$
Prleft(sum_j X_j < 10 -1.645sqrt10 right).
$$
$endgroup$
$begingroup$
(+1) for mentioning exact computations. $10 - 1.645sqrt10 approx 4.8,$ but the next lower integer is $4$ for an actual significance level of about 3%.
$endgroup$
– BruceET
5 hours ago
$begingroup$
@BruceET thanks, and right, asymptotic $alpha$ isn't the same as small sample $alpha$. I'm just trying to help with power calculations using importance sampling, though, so I'm not fiddling with the rejection region.
$endgroup$
– Taylor
5 hours ago
add a comment |
$begingroup$
Here is a power curve for an exact test of $H_0: lambda = 0.1$ vs.
$H_a: lambda le 0.1,$ based on $n = 10$ observations from
$mathsfPois(lambda).$
Under $H_0,$ the total $T$ of the $n = 100$ observations $X_i sim mathsfPois(0.1)$ has
$T sim mathsfPois(10).$ Because the Poisson distribution is
discrete, a (nonrandomized) test at exactly level $alpha = 0.05$ is not available.
The largest available level below 5% is $alpha = 0.0293.$ So we will find
the power of a test that rejects $H_0$ when $T le 4$ or $bar X = T/n le 0.4.$ (See computations in R below.)
qpois(.05, 10)
[1] 5
ppois(5,10)
[1] 0.06708596
ppois(4,10)
[1] 0.02925269
The power of the test against alternative $lambda_0 < 0.1$ is
$P(T le 4,|,lambda_0).$
Here is a graph of the power function:
lam = seq(10, .01, by=-.01)/100
p.rej = ppois(4, 100*lam)
plot(lam, p.rej, type="l", ylim=0:1, main="Power Curve")
abline(h=0:1, col="green2"); abline(v=c(0,.1), col="green2")

$endgroup$
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "65"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
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%2fstats.stackexchange.com%2fquestions%2f411127%2fimportance-sampling-estimation-of-power-function%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
I will mention three ways to approximate the following
$$
mathrmE left[ phi(X_1, cdots, X_100) right] = Prleft(fracbarX - 0.1sqrt0.1/100 < -1.645 right).
$$
Use the CLT to justify
$$
Phi(-1.645).
$$
2.
Second, simulate $N$ length $100$ data sets from your joint mass function to calculate
$$
frac1Nsum_i=1^N phi(X^i_1, cdots, X^i_100)
$$
Simulate $N$ length $100$ data sets from some proposal pmf $q(x_1, ldots, x_100)$ and calculate
$$
frac1Nsum_i=1^Nphi(X^i_1, cdots, X^i_100) fracp(x^i_1, ldots, x^i_100)q(X^i_1, cdots, X^i_100)
$$
where $p$ is your true product-Poisson pmf.
Calculating approximate standard errors is probably easier for the last two, but you may also get Berry-Esseen bounds for the first one.
To check your answers, it might also be worth evaluating the true probability. This is possible using what you mentioned: that the sum of iid Poissons is also Poisson-distributed. The cdf is available in most statistical software packages:
$$
Prleft(sum_j X_j < 10 -1.645sqrt10 right).
$$
$endgroup$
$begingroup$
(+1) for mentioning exact computations. $10 - 1.645sqrt10 approx 4.8,$ but the next lower integer is $4$ for an actual significance level of about 3%.
$endgroup$
– BruceET
5 hours ago
$begingroup$
@BruceET thanks, and right, asymptotic $alpha$ isn't the same as small sample $alpha$. I'm just trying to help with power calculations using importance sampling, though, so I'm not fiddling with the rejection region.
$endgroup$
– Taylor
5 hours ago
add a comment |
$begingroup$
I will mention three ways to approximate the following
$$
mathrmE left[ phi(X_1, cdots, X_100) right] = Prleft(fracbarX - 0.1sqrt0.1/100 < -1.645 right).
$$
Use the CLT to justify
$$
Phi(-1.645).
$$
2.
Second, simulate $N$ length $100$ data sets from your joint mass function to calculate
$$
frac1Nsum_i=1^N phi(X^i_1, cdots, X^i_100)
$$
Simulate $N$ length $100$ data sets from some proposal pmf $q(x_1, ldots, x_100)$ and calculate
$$
frac1Nsum_i=1^Nphi(X^i_1, cdots, X^i_100) fracp(x^i_1, ldots, x^i_100)q(X^i_1, cdots, X^i_100)
$$
where $p$ is your true product-Poisson pmf.
Calculating approximate standard errors is probably easier for the last two, but you may also get Berry-Esseen bounds for the first one.
To check your answers, it might also be worth evaluating the true probability. This is possible using what you mentioned: that the sum of iid Poissons is also Poisson-distributed. The cdf is available in most statistical software packages:
$$
Prleft(sum_j X_j < 10 -1.645sqrt10 right).
$$
$endgroup$
$begingroup$
(+1) for mentioning exact computations. $10 - 1.645sqrt10 approx 4.8,$ but the next lower integer is $4$ for an actual significance level of about 3%.
$endgroup$
– BruceET
5 hours ago
$begingroup$
@BruceET thanks, and right, asymptotic $alpha$ isn't the same as small sample $alpha$. I'm just trying to help with power calculations using importance sampling, though, so I'm not fiddling with the rejection region.
$endgroup$
– Taylor
5 hours ago
add a comment |
$begingroup$
I will mention three ways to approximate the following
$$
mathrmE left[ phi(X_1, cdots, X_100) right] = Prleft(fracbarX - 0.1sqrt0.1/100 < -1.645 right).
$$
Use the CLT to justify
$$
Phi(-1.645).
$$
2.
Second, simulate $N$ length $100$ data sets from your joint mass function to calculate
$$
frac1Nsum_i=1^N phi(X^i_1, cdots, X^i_100)
$$
Simulate $N$ length $100$ data sets from some proposal pmf $q(x_1, ldots, x_100)$ and calculate
$$
frac1Nsum_i=1^Nphi(X^i_1, cdots, X^i_100) fracp(x^i_1, ldots, x^i_100)q(X^i_1, cdots, X^i_100)
$$
where $p$ is your true product-Poisson pmf.
Calculating approximate standard errors is probably easier for the last two, but you may also get Berry-Esseen bounds for the first one.
To check your answers, it might also be worth evaluating the true probability. This is possible using what you mentioned: that the sum of iid Poissons is also Poisson-distributed. The cdf is available in most statistical software packages:
$$
Prleft(sum_j X_j < 10 -1.645sqrt10 right).
$$
$endgroup$
I will mention three ways to approximate the following
$$
mathrmE left[ phi(X_1, cdots, X_100) right] = Prleft(fracbarX - 0.1sqrt0.1/100 < -1.645 right).
$$
Use the CLT to justify
$$
Phi(-1.645).
$$
2.
Second, simulate $N$ length $100$ data sets from your joint mass function to calculate
$$
frac1Nsum_i=1^N phi(X^i_1, cdots, X^i_100)
$$
Simulate $N$ length $100$ data sets from some proposal pmf $q(x_1, ldots, x_100)$ and calculate
$$
frac1Nsum_i=1^Nphi(X^i_1, cdots, X^i_100) fracp(x^i_1, ldots, x^i_100)q(X^i_1, cdots, X^i_100)
$$
where $p$ is your true product-Poisson pmf.
Calculating approximate standard errors is probably easier for the last two, but you may also get Berry-Esseen bounds for the first one.
To check your answers, it might also be worth evaluating the true probability. This is possible using what you mentioned: that the sum of iid Poissons is also Poisson-distributed. The cdf is available in most statistical software packages:
$$
Prleft(sum_j X_j < 10 -1.645sqrt10 right).
$$
edited 2 hours ago
answered 5 hours ago
TaylorTaylor
13.1k22148
13.1k22148
$begingroup$
(+1) for mentioning exact computations. $10 - 1.645sqrt10 approx 4.8,$ but the next lower integer is $4$ for an actual significance level of about 3%.
$endgroup$
– BruceET
5 hours ago
$begingroup$
@BruceET thanks, and right, asymptotic $alpha$ isn't the same as small sample $alpha$. I'm just trying to help with power calculations using importance sampling, though, so I'm not fiddling with the rejection region.
$endgroup$
– Taylor
5 hours ago
add a comment |
$begingroup$
(+1) for mentioning exact computations. $10 - 1.645sqrt10 approx 4.8,$ but the next lower integer is $4$ for an actual significance level of about 3%.
$endgroup$
– BruceET
5 hours ago
$begingroup$
@BruceET thanks, and right, asymptotic $alpha$ isn't the same as small sample $alpha$. I'm just trying to help with power calculations using importance sampling, though, so I'm not fiddling with the rejection region.
$endgroup$
– Taylor
5 hours ago
$begingroup$
(+1) for mentioning exact computations. $10 - 1.645sqrt10 approx 4.8,$ but the next lower integer is $4$ for an actual significance level of about 3%.
$endgroup$
– BruceET
5 hours ago
$begingroup$
(+1) for mentioning exact computations. $10 - 1.645sqrt10 approx 4.8,$ but the next lower integer is $4$ for an actual significance level of about 3%.
$endgroup$
– BruceET
5 hours ago
$begingroup$
@BruceET thanks, and right, asymptotic $alpha$ isn't the same as small sample $alpha$. I'm just trying to help with power calculations using importance sampling, though, so I'm not fiddling with the rejection region.
$endgroup$
– Taylor
5 hours ago
$begingroup$
@BruceET thanks, and right, asymptotic $alpha$ isn't the same as small sample $alpha$. I'm just trying to help with power calculations using importance sampling, though, so I'm not fiddling with the rejection region.
$endgroup$
– Taylor
5 hours ago
add a comment |
$begingroup$
Here is a power curve for an exact test of $H_0: lambda = 0.1$ vs.
$H_a: lambda le 0.1,$ based on $n = 10$ observations from
$mathsfPois(lambda).$
Under $H_0,$ the total $T$ of the $n = 100$ observations $X_i sim mathsfPois(0.1)$ has
$T sim mathsfPois(10).$ Because the Poisson distribution is
discrete, a (nonrandomized) test at exactly level $alpha = 0.05$ is not available.
The largest available level below 5% is $alpha = 0.0293.$ So we will find
the power of a test that rejects $H_0$ when $T le 4$ or $bar X = T/n le 0.4.$ (See computations in R below.)
qpois(.05, 10)
[1] 5
ppois(5,10)
[1] 0.06708596
ppois(4,10)
[1] 0.02925269
The power of the test against alternative $lambda_0 < 0.1$ is
$P(T le 4,|,lambda_0).$
Here is a graph of the power function:
lam = seq(10, .01, by=-.01)/100
p.rej = ppois(4, 100*lam)
plot(lam, p.rej, type="l", ylim=0:1, main="Power Curve")
abline(h=0:1, col="green2"); abline(v=c(0,.1), col="green2")

$endgroup$
add a comment |
$begingroup$
Here is a power curve for an exact test of $H_0: lambda = 0.1$ vs.
$H_a: lambda le 0.1,$ based on $n = 10$ observations from
$mathsfPois(lambda).$
Under $H_0,$ the total $T$ of the $n = 100$ observations $X_i sim mathsfPois(0.1)$ has
$T sim mathsfPois(10).$ Because the Poisson distribution is
discrete, a (nonrandomized) test at exactly level $alpha = 0.05$ is not available.
The largest available level below 5% is $alpha = 0.0293.$ So we will find
the power of a test that rejects $H_0$ when $T le 4$ or $bar X = T/n le 0.4.$ (See computations in R below.)
qpois(.05, 10)
[1] 5
ppois(5,10)
[1] 0.06708596
ppois(4,10)
[1] 0.02925269
The power of the test against alternative $lambda_0 < 0.1$ is
$P(T le 4,|,lambda_0).$
Here is a graph of the power function:
lam = seq(10, .01, by=-.01)/100
p.rej = ppois(4, 100*lam)
plot(lam, p.rej, type="l", ylim=0:1, main="Power Curve")
abline(h=0:1, col="green2"); abline(v=c(0,.1), col="green2")

$endgroup$
add a comment |
$begingroup$
Here is a power curve for an exact test of $H_0: lambda = 0.1$ vs.
$H_a: lambda le 0.1,$ based on $n = 10$ observations from
$mathsfPois(lambda).$
Under $H_0,$ the total $T$ of the $n = 100$ observations $X_i sim mathsfPois(0.1)$ has
$T sim mathsfPois(10).$ Because the Poisson distribution is
discrete, a (nonrandomized) test at exactly level $alpha = 0.05$ is not available.
The largest available level below 5% is $alpha = 0.0293.$ So we will find
the power of a test that rejects $H_0$ when $T le 4$ or $bar X = T/n le 0.4.$ (See computations in R below.)
qpois(.05, 10)
[1] 5
ppois(5,10)
[1] 0.06708596
ppois(4,10)
[1] 0.02925269
The power of the test against alternative $lambda_0 < 0.1$ is
$P(T le 4,|,lambda_0).$
Here is a graph of the power function:
lam = seq(10, .01, by=-.01)/100
p.rej = ppois(4, 100*lam)
plot(lam, p.rej, type="l", ylim=0:1, main="Power Curve")
abline(h=0:1, col="green2"); abline(v=c(0,.1), col="green2")

$endgroup$
Here is a power curve for an exact test of $H_0: lambda = 0.1$ vs.
$H_a: lambda le 0.1,$ based on $n = 10$ observations from
$mathsfPois(lambda).$
Under $H_0,$ the total $T$ of the $n = 100$ observations $X_i sim mathsfPois(0.1)$ has
$T sim mathsfPois(10).$ Because the Poisson distribution is
discrete, a (nonrandomized) test at exactly level $alpha = 0.05$ is not available.
The largest available level below 5% is $alpha = 0.0293.$ So we will find
the power of a test that rejects $H_0$ when $T le 4$ or $bar X = T/n le 0.4.$ (See computations in R below.)
qpois(.05, 10)
[1] 5
ppois(5,10)
[1] 0.06708596
ppois(4,10)
[1] 0.02925269
The power of the test against alternative $lambda_0 < 0.1$ is
$P(T le 4,|,lambda_0).$
Here is a graph of the power function:
lam = seq(10, .01, by=-.01)/100
p.rej = ppois(4, 100*lam)
plot(lam, p.rej, type="l", ylim=0:1, main="Power Curve")
abline(h=0:1, col="green2"); abline(v=c(0,.1), col="green2")

edited 4 hours ago
answered 5 hours ago
BruceETBruceET
8,2951721
8,2951721
add a comment |
add a comment |
Thanks for contributing an answer to Cross Validated!
- 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.
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%2fstats.stackexchange.com%2fquestions%2f411127%2fimportance-sampling-estimation-of-power-function%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
$begingroup$
I added the self-study tag. Feel free to change it back if this isn't an exercise that was given to you by an instructor
$endgroup$
– Taylor
5 hours ago