#5
Need this solved along with the R code asap. Thank you very much in advance for the work. Right click and Open image in a new tab if it is too small to see.
>
x=c(0.54,-3.67,1.41,23.51,20.77,15.9,16.7,2.48,12.27,2.64,
+ 22.12,14.03,17.8)
>
> y=c(21.22,12.61,15.04,14.51,10.91,-4.9, 22.71)
>
> # a) The mean of x is
> Xbar=mean(x)
> Xbar
[1] 11.26923
>
> # b) Variance of Xbar is
>
> V.Xbar=8.3^2/length(x)
> V.Xbar
[1] 5.299231
>
> # c) The mean of Y is
> Ybar=mean(y)
> Ybar
[1] 13.15714
>
> # d) Variance of Ybar is
>
> V.Ybar=10.1^2/length(y)
> V.Ybar
[1] 14.57286
>
> # e) Var of Xbar-Ybar is
>
> V.dif=V.Xbar+V.Ybar
> V.dif
[1] 19.87209
>
>
> # f) The critical value for 96% Confidence interval of
\muX-\muY is
> z=qnorm(.98, 0,1)
> z
[1] 2.053749
>
> # g) 96% CI for \muX-\muY
> Lower_limit=Xbar-Ybar-z*sqrt(V.dif)
> Lower_limit
[1] -11.04314
>
> Upper_limit=Xbar-Ybar+z*sqrt(V.dif)
> Upper_limit
[1] 7.267314
>
>
> # h) Length of 96% CI is
>
> Length=Upper_limit-Lower_limit
> Length
[1] 18.31045
>
> ## i) The p-value for \muX-\muY>0
>
> P.value=pnorm((Xbar-Ybar)/sqrt(V.dif), 0,1)
> P.value
[1] 0.3359629
## k)
x=c(0.54,-3.67,1.41,23.51,20.77,15.9,16.7,2.48,12.27,2.64,
22.12,14.03,17.8)
y=c(21.22,12.61,15.04,14.51,10.91,-4.9, 22.71)
# a) The mean of x is
Xbar=mean(x)
Xbar
# b) Variance of Xbar is
V.Xbar=8.3^2/length(x)
V.Xbar
# c) The mean of Y is
Ybar=mean(y)
Ybar
# d) Variance of Ybar is
V.Ybar=10.1^2/length(y)
V.Ybar
# e) Var of Xbar-Ybar is
V.dif=V.Xbar+V.Ybar
V.dif
# f) The critical value for 96% Confidence interval of \muX-\muY
is
z=qnorm(.98, 0,1)
z
# g) 96% CI for \muX-\muY
Lower_limit=Xbar-Ybar-z*sqrt(V.dif)
Lower_limit
Upper_limit=Xbar-Ybar+z*sqrt(V.dif)
Upper_limit
# h) Length of 96% CI is
Length=Upper_limit-Lower_limit
Length
## i) The p-value for \muX-\muY>0
P.value=pnorm((Xbar-Ybar)/sqrt(V.dif), 0,1)
P.value
#5 Need this solved along with the R code asap. Thank you very much in advance...
PLEASE INSERT R SCRIPT We wish to compare the expected values, μΧ andHy of two independent normal populations, say X and Y, with known standard deviations σχ-8.3 and Ơy-10.1 . we take a random sample of size 13 from X ( X1M, ,x13 ) and a random sample of size 7 from Y ( Yi,½, , ) as follows: X: 0.54, -3.67, 1.41, 23.51, 20.77, 15.90, 16.70, 2.48, 12.27, 2.64, 22.12, 14.03, 17.80 Y: 21.22, 12.61, 15.04, 14.51, 10.91, -4.90,...
We wish to compare the expected values, Hx and Hy of two independent normal populations, say X and Y, with known standard deviations Ox = 7.3 and Oy = 11.1. We take a random sample of size 10 from X (X1, X2, ...,X10 ) and a random sample of size 8 from Y( V1, V2, ...,Y8) as follows: X: 6.96, 26.95, 17.86, 11.53, 10.81, 27.00, 21.10, 11.30, 19.80, 16.86 Y: 10.50, 33.50, 17.22, 31.57, 8.20, 21.94, 43.21, 20.78 We are...
Someone plz plz help with this Statistics Intro to R programming question!!! Here are the examples and follow by my question!! Thank you so much!! I appreciate it !!!!My question!!!! Question Type 1: If possible, calculate the 90% confidence intervals for the temperature it takes for crickets to chirp 15 chirps per second. Code (you must copy and paste your code like below in blue color): # Reading in the data Crickets-read.table(C:/Desktop/CricketChirpsvsTemperature.csv', header TRUE, #View Data View Crickets) #Data analysis...