a)
decision rule
P(Z > z) = 0.05
z= 1.645
hence
Xbar > mean + z *sd/sqrt(n)
Xbar > 100 + 1.645* 1 /sqrt(25)
Xbar > 100.329
b)
P(Xbar > 100.329 | =
)
=P(Z > (100.329 -)/(1/sqrt(25))
=P(Z > 5 *(100.329 - ))
| mu_0 | p |
| 100 | 0.049985 |
| 99.95 | 0.029046 |
| 99.9 | 0.015976 |
| 99.85 | 0.00831 |
| 99.8 | 0.004085 |
| 99.75 | 0.001896 |
| 99.7 | 0.00083 |
| 99.65 | 0.000343 |
| 99.6 | 0.000134 |
| 99.55 | 4.91E-05 |
| 99.5 | 1.7E-05 |
code in R
powerZtest = function(alpha = 0.05, sigma, n, delta){
zcr = qnorm(p = 1-alpha, mean = 0, sd = 1)
s = sigma/sqrt(n)
power = 1 - pnorm(q = zcr, mean = (delta/s), sd = 1)
return(power)
}
10 Problem 1 Let X is amount of coffeein a "100g coffeecan), EXu. With a sample...
Problem 1 Let X is amount of coffee in a "100g coffee can"), EX μ. With a sample of size 25 you test null of μ-100 against μ > 100 at 5% significance level. Let X ~ N(μ, σ2) and variance is known: σ- 1 . (a) Find the decision rule for that test. (b) Suppose, actually μ= <100. What will be the probability to reject null of μ= 100 in favor of the alternative μ > 100 in that...
Solve please
Problem 1 Let X is amount of coffee in a "100g coffee can"), EX μ. With a sample of size 25 you test null of μ-100 against μ > 100 at 5% significance level. Let X ~ N(μ, σ2) and variance is known: σ- 1 . (a) Find the decision rule for that test. (b) Suppose, actually μ= <100. What will be the probability to reject null of μ= 100 in favor of the alternative μ > 100...
Solve only b
Problem 1 Let X is amount of coffee in a "100g coffee can"), EX μ. With a sample of size 25 you test null of μ-100 against μ > 100 at 5% significance level. Let X ~ N(μ, σ2) and variance is known: σ- 1 . (a) Find the decision rule for that test. (b) Suppose, actually μ= <100. What will be the probability to reject null of μ= 100 in favor of the alternative μ >...
Problem 1 Let X is amount of coffee in a "l00g coffee can"), EX μ. With a sample of size 25 you test null of μ-100 against μ > 100 at 5% significance level. Let X ~ N(μ, σ2) and variance is known: σ 1 . (a) Find the decision rule for that test. (b) Suppose, actually μ= <100. What will be the probability to reject null of μ= 100 in favor of the alternative μ > 100 in that...
Problem 1 A student decided to perform at 5% sigfnificance level usual t-test for H:4=3 against H:4 3, for a sample of size n=10. But she did a mistake: used wrong degrees of freedom df - 10 instead of correct df - 11-1-9, so she used wrong critical value. What is the probability of type I error that she would have performing the test? Problem 2 Let X is amount of coffee in a "100g coffee can", EX = 4....
gore the lecture in your streann r 10 minutes. Random variable X follows Poisson umber of calls torecepti,:2-A, against alternative H: λ > , the following Let X' is a of against a distribution with mean A. To test null hypothesis Ho decision rule is used: Null hypothesis is rejected if x, +x,+х,2c.(X,X,X,is a Let 4, 0.2 and c 2 (a) Find the significance level of the test. (b) Find the probability of type II error if the alternative is...
2. A randon sample XI, X. is drawn frotn Normal(μ, σ2), where-oo < μ < oo and 0 < σ2 < x. To test the null hypothesis Ho : σ2-1 against the alternative H1: σ2 > 1, we have designed the following test Reject Ho if S>k where S2 = "LE:-1(x,-X)2, k ís a constant. Noticed that (n-1) distribution with degree of freedom 1 has a (a) Determine k so that the test will have size a. (b) Use k...
K=42,n=1,m=18
8. The amount of time it takes a student to solve a homework problem in mathematical statistics (in minutes) follows a normal distribution with unknown mean μ and a variance equal to 9m2. Find the most powerful test to verify the null hypothesis that μ k against the alternative that , 2k on the base of k independent observations, for a significance level of n%. Calculate the power of this test (for the alternative hypothesis). What is the decision,...
FF1:18 1H20B B 80 ma2500a16-1 ma2500s14 ma2500a15 ma2500s15 ma2500a17 2. Let Xi, X2 , X10 be a random sample of observations from the N(μ, σ*) distribution where μ is unknown and σ2-10. We reject the null hypothesis Ho : μ-5 in lavour of the alternative hypothesis H1 : μ < 5 if sum of the observations is less than or equal to 35 (a) What is the critical region for the test? (b) Compute the size of the test (c)...
A sample of size 100, taken from a population whose standard deviation is known to be 8.90, has a sample mean of 51.16. Suppose that we have adopted the null hypothesis that the actual population mean is greater than or equal to 52, that is, H0 is that μ ≥ 52 and we want to test the alternative hypothesis, H1, that μ < 52, with level of significance α = 0.05. a) What type of test would be appropriate in...