Question

In: Math

Use R.  Provide Solution and R Code within each problem. A study was conducted to determine the...

Use R.  Provide Solution and R Code within each problem.

A study was conducted to determine the average weight of newborn babies. The distribution of the weight of newborn babies has a standard deviation of σ = 1.25lbs. A random sample of 100 newborn babies was taken and weights measured. The mean weight of the babies in the sample was 7.3 lbs.

a. Construct a 95% confidence interval for the true mean weight of newborn babies.

b. Interpret the confidence interval in a.

c. Write the null and alternative hypotheses to determine if the true mean weight of newborn babies is less than 7.75 lbs.

d. Conduct a statistical test to determine if the true mean weight of newborn babies is less than 7.75 lbs.

i. Pvalue

ii. Conclusion

Solutions

Expert Solution

(a)

Following is the R code

Following is the output generated by R:

Answer (7.055, 7.545)

(b)

We are 95% confident that true mean weight og newborn babies is lie in the above interval.

(c)

Hypotheses are:

(d)

Following is the screen shot of r script:

Following is the output generated by R:

i. P-value = 0.0002

ii. Conclusion: Since p-value is less than 0.05 so we reject the null hypothesis. There is evidence to conclude that the true mean weight of newborn babies is less than 7.75 lbs.


Related Solutions

Use R.  Provide Solution and R Code within each problem. For this section use the dataset “PlantGrowth”,...
Use R.  Provide Solution and R Code within each problem. For this section use the dataset “PlantGrowth”, available in base R (you do not need to download any packages). a.Construct a 95% confidence interval for the true mean weight. b.Interpret the confidence interval in 1. in the context of the problem. c.Write down the null and alternative hypothesis to determine if the mean weight of the plants is less than 5. d.Conduct a statistical test to determine if the mean weight...
***This problem must be done using R so please provide the R code used to find...
***This problem must be done using R so please provide the R code used to find the solution. I have provided the data in data-wtLoss.txt below the question. I will also give "thumbs-up for correct R code" Thanks in advance.*** The file “data-wtLoss.txt” contains data on weight loss and self esteem evaluation at three time points over a period of three months for 34 individuals who are randomly selected from a residential area. These individuals are randomly assigned to one...
***This problem must be done using R so please provide the R code used to find...
***This problem must be done using R so please provide the R code used to find the solution. I have provided the data in data-wtLoss.txt below the question. I will also give "thumbs-up for correct R code" Thanks in advance.*** The file “data-wtLoss.txt” contains data on weight loss and self esteem evaluation at three time points over a period of three months for 34 individuals who are randomly selected from a residential area. These individuals are randomly assigned to one...
Use R for this problem(Code in R). A firm’s personnel officer sampled 36 male and 24...
Use R for this problem(Code in R). A firm’s personnel officer sampled 36 male and 24 female employees investigate allegations that the men in the organization tend to receive hire annual bonuses than the women. Their bonuses (as percentages of their annual salaries) are below. Men 10.4 8.9 11.7 12.0 8.7 9.4 9.8 9.0 9.2 9.7 9.1 8.8 7.9 9.9 10.0 10.1 9.0 11.4 8.7 9.6 9.2 9.7 8.9 9.3 10.4 11.9 9.0 12.0 9.6 9.2 9.9 9.0 9.2 9.4...
Use R for this problem(Code in R). A firm’s personnel officer sampled 36 male and 24...
Use R for this problem(Code in R). A firm’s personnel officer sampled 36 male and 24 female employees investigate allegations that the men in the organization tend to receive hire annual bonuses than the women. Their bonuses (as percentages of their annual salaries) are below. Men 10.4 8.9 11.7 12.0 8.7 9.4 9.8 9.0 9.2 9.7 9.1 8.8 7.9 9.9 10.0 10.1 9.0 11.4 8.7 9.6 9.2 9.7 8.9 9.3 10.4 11.9 9.0 12.0 9.6 9.2 9.9 9.0 9.2 9.4...
For each problem, write an R code to compute each probability. (a)   Binomial Distribution: X ~...
For each problem, write an R code to compute each probability. (a)   Binomial Distribution: X ~ Bin(10, 0.7)     (i)            P(X = 2)     (ii)           P(X < 2)     (iii)          P(X > 2)     (iv)          P(1 < X < 7) (b) Normal Distribution: X ~ N(0, 4). Note that variance is 4 and, hence, the standard deviation is 2.     (i)             P(X < 3)     (ii)           P(X > 3)     (iii)          P(1 < X < 3) (c) Choose either (a) or (b) and interpret the results in...
Find the Green's function for each of the following problem, and determine the solution of each...
Find the Green's function for each of the following problem, and determine the solution of each of the following boundary-value problem: y" + 4y = e^x y(0) = 0 y'(1) = 0
5. Use either R or Excel for the following. Provide the formulas or code that you...
5. Use either R or Excel for the following. Provide the formulas or code that you are using. Let x1 be a random variable that is N(100, 225). Let x2 be a random variable that is U(50,150) and let x3 be a random variable that is U(500,1500). Set Y = (X1)(X2)/ (X3) a) Use R to create 500 random numbers of each type (X1, X2, X3 and Y). b) Estimate P(0.1 < Y < 0.25) c) Estimate E(Y) and the...
Use R programming to resolve this; can you please provide details on the code? A) Create...
Use R programming to resolve this; can you please provide details on the code? A) Create a dataframe – comparativeGenomeSize with the following vectors: > organism<-c("Human","Mouse","Fruit Fly", "Roundworm","Yeast") > genomeSizeBP<-c(3000000000,3000000000,135600000,97000000,12100000) > estGeneCount<-c(30000,30000,13061,19099,6034) B) Print the organism and estGeneCount for Human and fruitfly.(1) C) Add a column to this data frame calculating base pairs per gene. To do this, write a function “genedensity” that takes as arguments the genomesizeBP and estimatedGeneCount information, and calculates from this the estimated bp per gene....
A study was conducted to determine if there was a difference in the humor content in...
A study was conducted to determine if there was a difference in the humor content in British and American trade magazine advertisements. In an independent random sample of 270 American trade magazine advertisements, 56 were humorous. An independent random sample of 203 British trade magazines contained 52 humorous ads. Do these data provide evidence at the 0.05 significance level that there is a difference in the proportion of humorous ads in British versus American trade magazines? State the null and...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT