1 answer

#5 Need this solved along with the R code asap. Thank you very much in advance...

Question:

#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.

we wish to compare the expected values, μ× andWy of two independent normal populations, say X and Y, with known standard deviations ox-8.3 and ay-10.. we take a random sample of size 13 from X (XiX2. .Xi3) and a random sample of size 7 from Y (Y,Y) 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, 22.71 we are interested in examining їх су дії the sample means o x and Y Xbar and Ybar respectively xbar and y ar realized values Assume a al distributions are normal computations. e r a)Calculate xbar b) Calculate the variance of Xbar c) Calculate ybar d) Calculate the variance of Ybar e) Calculate the variance of Xbar Ybar f) What is the critical value used for a 96% confidence interval for μΧ-ey? g) Create a 96% confidence interval for Ax-uy. h) what is the length of your 96% confidence interval for, x- y? | ) What would the p value have been if we used this data to test Hoix -Hy-0 against the alternative Ha 4 -Hy02 k) Copy your R script for the above into the text box here

we wish to compare the expected values, μ× andWy of two independent normal populations, say X and Y, with known standard deviations ox-8.3 and ay-10.. we take a random sample of size 13 from X (XiX2. .Xi3) and a random sample of size 7 from Y (Y,Y) 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, 22.71 we are interested in examining їх су дії the sample means o x and Y Xbar and Ybar respectively xbar and y ar realized values Assume a al distributions are normal computations. e r a)Calculate xbar b) Calculate the variance of Xbar c) Calculate ybar d) Calculate the variance of Ybar e) Calculate the variance of Xbar Ybar f) What is the critical value used for a 96% confidence interval for μΧ-ey? g) Create a 96% confidence interval for Ax-uy. h) what is the length of your 96% confidence interval for, x- y? | ) What would the p value have been if we used this data to test Hoix -Hy-0 against the alternative Ha 4 -Hy02 k) Copy your R script for the above into the text box here

Answers

> 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

.

Similar Solved Questions

1 answer
Olerance-Canvas-CS 2019Spring PH141 Week02 Two Cars Ars Traveling Along A Straight Road (c) Give the magnitude...
olerance-Canvas-CS 2019Spring PH141 Week02 Two Cars Ars Traveling Along A Straight Road (c) Give the magnitude and direction of the position vector in part (b). 21.8 53 。(counterclockwise from the +xaxis) eBook 11. O 1/3 points I Previous Answers Tipler6 3.P.056. My Notes Ask Your T directly ...
1 answer
Compute the correlation sequences for the following signals? Both signals it is periodic.   h1(n) =[5,3,7]. h2=[2,...
Compute the correlation sequences for the following signals? Both signals it is periodic.   h1(n) =[5,3,7]. h2=[2, 4,3,6,2]...
1 answer
Determine the organic structure based on the molecular formula and nmr spectrum - 8 OH (a)...
Determine the organic structure based on the molecular formula and nmr spectrum - 8 OH (a) C.H. 3 100 (b) C.H.Br: (e) GH,BE 1...
1 answer
Igh Desert Potteryworks makes a variety of pottery products that it sells to retailers. The company...
igh Desert Potteryworks makes a variety of pottery products that it sells to retailers. The company uses a job-order costing system in which departmental predetermined overhead rates are used to apply manufacturing overhead cost to jobs. The predetermined overhead rate in the Molding Department is b...
1 answer
Please provide work (Ch. 14) Prepare journal entries to record the following transactions related to long-term...
please provide work (Ch. 14) Prepare journal entries to record the following transactions related to long-term bonds of Quirk Co. (a) On April 1, 2016, Quirk issued $3,000,000,9% bonds for $3,151,472 including accrued interest. Interest is payable annually on January 1, and the bonds mature on Janua...
1 answer
An object with a mass of #3 kg# is hanging from a spring with a constant of #8 (kg)/s^2#. If the spring is stretched by #8 m#, what is the net force on the object?
An object with a mass of #3 kg# is hanging from a spring with a constant of #8 (kg)/s^2#. If the spring is stretched by #8 m#, what is the net force on the object?...
1 answer
1 Requirements 1. Calculate trend percentages for each item for 2015 through 2018. Use 2014 2....
1 Requirements 1. Calculate trend percentages for each item for 2015 through 2018. Use 2014 2. Calculate the rate of return on net sales for 2016 through 2018, rounding to 3. Calculate asse trover for 2016 through 2018. Explain what this means as the base year and round to the nearest percent the ne...
1 answer
Metallic gold is collected from below the anode when a mixture of cobalt and gold metals...
Metallic gold is collected from below the anode when a mixture of cobalt and gold metals is refined by electrolysis. Explain this behavior. Match the words in the left column to the appropriate blanks in the sentences on the right. Reset Help cobalt is not oxidized is oxidized anode cathode gold The...
1 answer
If network addressing can be spoofed, of what value is shunning for addressing a denial-of-servic...
If network addressing can be spoofed, of what value is shunning for addressing a denial-of-service attack? (Computer Security II)...
1 answer
A rectangle has a diagonal with length 8 centimeters, its length is 4 centimeters greater than the width, how do you find the length and width of the rectangle?
A rectangle has a diagonal with length 8 centimeters, its length is 4 centimeters greater than the width, how do you find the length and width of the rectangle?...
1 answer
In Smurfs, dwarf (D is dominant to tall (t), pink (B) is dominant to blue (b),...
in Smurfs, dwarf (D is dominant to tall (t), pink (B) is dominant to blue (b), and happy (G) is dominant to gloomy (g). All loci are autosomal and not linked. The phenotypes of parents and their progeny are given for several crosses below. Determine the most likely genotypes for each parent and writ...
1 answer
At 25°C, the vapor pressure of benzene is 13.1 kPa. A sample of 0.20 g of...
At 25°C, the vapor pressure of benzene is 13.1 kPa. A sample of 0.20 g of benzene is injected into an evacuated flask with a volume of 250 ml. What mass of liquid benzene remains after equilibrium is established. You may ignore the volume taken up by the liquid benzene in the flask. Numeric Answ...
1 answer
Windsor Co. both purchases and constructs various equipment it uses in its operations. The following items...
Windsor Co. both purchases and constructs various equipment it uses in its operations. The following items for two different types of equipment were recorded in random order during the calendar year 2020. Purchase Cash paid for equipment, including sales tax of $5,700 $119,700 Freight a...
1 answer
Bowen Company manufactures one product, it does not maintain any beginning or ending inventories, and its...
Bowen Company manufactures one product, it does not maintain any beginning or ending inventories, and its uses a standard cost system. Its predetermined overhead rate includes $1,000,000 of fixed overhead in the numerator and 50,000 direct labor-hours in the denominator. The company purchased (with ...
1 answer
Help Save SER SU Saved Abbur Company's manufacturing overhead is 40% of its total conversion costs....
Help Save SER SU Saved Abbur Company's manufacturing overhead is 40% of its total conversion costs. If direct laboris $63,600 and if direct materials are $23,800, the manufacturing overhead is: Multiple Choice $15.867 S42,400 $95,400 558,267 14 Vignana Corporation manufactures and sells hand pai...
1 answer
Q5 The equation of the motion of the mechanical system shown in the following figure is...
Q5 The equation of the motion of the mechanical system shown in the following figure is governed by the following differential equation d2 x dx m7+9+= -f(t) - 3kx dt2 dt where m, C and k are mass, damping coefficient and spring constant, respectively. Consider the system with m = 10 kg, c = 80 Ns/m,...
1 answer
Pearl Products Limited of Shenzhen, China, manufactures and distributes toys throughout South East Asia. Three cubic...
Pearl Products Limited of Shenzhen, China, manufactures and distributes toys throughout South East Asia. Three cubic centimeters (cc) of solvent H300 are required to manufacture each unit of Supermix, one of the company’s products. The company now is planning raw materials needs for the third ...
1 answer
Give 4 projects or infrastucture in the US (or other places) that would benefit from Public/Private...
Give 4 projects or infrastucture in the US (or other places) that would benefit from Public/Private Partnerships...