Please help with the following, and please provide the 'R' code! Thank you! A student researcher believes that the average number of typo’s produced by Pro- fessor Who Ha per lecture is less than 28. After picking a statistical test, the student analyzed 50 lectures and recorded the number of typos as Xi for i = 1, 2, . . . , 50. The random sample yields X ̄ = 25.9 and s = 5.6.
a) Pick a test and carefully follow the 7 steps in the procedure to make your decision using α = 0.05. You may assume normality of the data, but σ is unknown. Make sure and plot out (by hand is fine) the rejection region for both the test statistic, and the non-standardized scale.
b) Plot the power curve for rejecting H0: μ ≥ 28 at α = 0.05 by computing the power P(μR) for μR = 22, 23, 24, 25, 26, 27.
a)
rejection region
n <- 50
df <- n-1
s <- 5.6
xbar <- 25.9
mu <- 28
t = qt(0.05 , df)
rejectValue <- mu - t * s/sqrt(n)
rejectValue
> rejectValue
26.67224
we reject if
t < -1.676551
or
Xbar <
26.67224
b)
mu <- 22:27
power <- pt( (rejectValue -mu) /(s/sqrt(n)) , df)
power
plot(mu,power)
power [1] 0.9999998 0.9999867 0.9992727 0.9800743 0.7999482 0.3403912
Please help with the following, and please provide the 'R' code! Thank you! A student researcher...
Hello, may someone please help me out with.. a through d? Thank you so much greatly appreciated. 3. An eugiser wishes to prove that the mean weight of metal comnets rodtscel by a proces is greater than 4.5 oz. A random sample of 10 components produces the data: 4.5, 5.6, 4.9 3.8, 4.1, 4.3, 4.4, 4.7, 5.0, 4.6 (a) Make a dot plot of the weights. Is it reasonable to assume that the weights have a normal/bell-shaped distribution? Note: There...
Really short question! Please help me to solve part(b), also need the R code, thank you! Problem 4 [26 points] (Section 2.4): Consider a one-sample z-test (known variance) with hypotheses: Ho: μ lo vs H, μ μο. a/2 where φ(.)Is the CDF of N(0,1), d-layo, and δ is the difference between the true mean and the mean under Ho (a) [10 points] Based on the fact that φ(x) [pdf of N(0,1)] is a decreasing function in x when x> 0,...
Really short question! Please help me to solve ONLY part(b) with R code. Thank you! Problem 4 [26 points] (Section 2.4): Consider a one-sample z-test (known variance) with hypotheses: Ho: μ lo vs H, μ *Ho. The probability of Type II error can be written in the form |ß D(%2_Jnd)-0(-%2_Jnd) where Φ㈠ is the CDF of N(0,1), d Isyo, and δ is the difference between the true mean and the mean under Ho (a) [10 points] Based on the fact...
Use R 1. A light bulb manufacturer claims their light bulbs as for 1,000 hours. You sample 50 light bulbs and you find that the sample average light bulb lifetime duration is 955 hours. Assume that you know the population standard deviation, and that it is 220 hours. That is n 50、 x"= 955, σ = 220 Test the null hypothesis Ho: μ-1,000 against the alternative hypothesis Ha: μ < 1,000 at the 0.05 significance level a. Calculate the critical...
**R-STUDIO KNOWLEDGE REQUIRED*** PLEASE ANSWER THE FOLLOWING WITH ****R-STUDIO**** CODING- thank you so much!! I am specifically look for the solution to part ***(h)**** and *****(i)***** below using R-Studio code: The data set in question is: YEAR Height Stories 1990 770 54 1980 677 47 1990 428 28 1989 410 38 1966 371 29 1976 504 38 1974 1136 80 1991 695 52 1982 551 45 1986 550 40 1931 568 49 1979 504 33 1988 560 50 1973 512...
Please help me correct my MATLAB script code for this problem, thank you!! A projectile PA is launched from point A towards the east with an initial launch velocity voa and an initial lauw angle of 0x. The impact point of the projectile Pa is a point B in a valley with an ordinate, yon, located below the clevation of point A. The launch from point A is instantaneously detected at point B, and a counter projectile P launched simultaneously...
please use python and provide run result, thank you! click on pic to make it bigger For this assignment you will have to investigate the use of the Python random library's random generator function, random.randrange(stop), randrange produces a random integer in the range of 0 to stop-1. You will need to import random at the top of your program. You can find this in the text or using the online resources given in the lectures A Slot Machine Simulation Understand...
please help with whatever possible. thank you so much in advance. Name One use of serial dilutions is to calculate the concentration of microorganisms. Since it would usually be challenging or even impossible to actually count the number of microorganisms in a sample, the sample is diluted and plated to get a reasonable number of colonies to count (usually between 25 to 250 colonies is the goal). Since each colony on an agar plate theoretically grew from a single microorganism,...