Load the dataset hw8csv into r remember that this dataset


Load the dataset "hw8.csv" into R. Remember that this dataset contains patients' heart rate before and after drug treatment. Gender (m/f), side effect (1=yes, 0=no), and age (young, middle, elderly) are also provided.

Researchers now want to test whether or not males and females have different heart rates before drug treatment. The average female heart rate before drug treatment in the sample is 75.2 and the average male heart rate is 67.8. The standard deviation for females before heart rate is 12.9 and for males it is 14.3. There are 15 females and 15 males.

Complete this 2 sample t-test by hand. Set up hypotheses, calculate the test statistic, find the p-value, and draw a conclusion about this problem.

Solution Preview :

Prepared by a verified Expert
Business Management: Load the dataset hw8csv into r remember that this dataset
Reference No:- TGS02526294

Now Priced at $10 (50% Discount)

Recommended (92%)

Rated (4.4/5)