Use R. Provide Solution and R Code within eachproblem.
A study was conducted to determine the average weight of newbornbabies. The distribution of the weight of newborn babies has astandard deviation of ? = 1.25lbs. A random sample of 100 newbornbabies was taken and weights measured. The mean weight of thebabies in the sample was 7.3 lbs.
a. Construct a 95% confidence interval for the true mean weightof newborn babies.
b. Interpret the confidence interval in a.
c. Write the null and alternative hypotheses to determine if thetrue mean weight of newborn babies is less than 7.75 lbs.
d. Conduct a statistical test to determine if the true meanweight of newborn babies is less than 7.75 lbs.
i. Pvalue
ii. Conclusion