Question: Problem 2: Height.csv contains the person ID and the height (in centimeters) of the male population sampled. Load the file into a data-frame named h
Problem 2: Height.csv contains the person ID and the height (in centimeters) of the male population sampled. Load the file into a data-frame named h and write R-commands/functions that provide solutions to all the parts below.
(a) Assuming the population variance of 144, write/execute the R function that returns the endpoints of the population mean confidence interval for confidence level 0.9.
(b) Assuming unknown population variance, write/execute the R function that returns the endpoints of the population mean confidence interval for confidence level 0.9.
***(I am looking to learn the code that needs to be written in Rstudio. You don't really need that data set, I would be using $ID and $height in the R-code which os from that, I just am trying to figure out where to place it in the code)***
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
