I need help identifying if this is a one sided/single tailed z test or t test. Then id like to know how to do it both by hand and the commands in r studio if you could please show me. My null hypothesis is that children do not have a higher resting heart rate than adults. While the Alternative Hypothesis is that children have a higher resting heart rate than adults. There is a sample of 100 participants, which are divided into 50 adults, and 50 children. Please show me how to do the problems step by step by both r studio and hand computation, along with what the results mean. I will input my data below, i have to also calculate the SD.
Adults Children
63 93
80 78
72 66
90 42
82 102
60 93
75 57
75 80
75 99
60 81
78 93
72 85
75 85
80 85
120 85
105 100
69 105
54 110
72 115
111 75
72 100
69 100
89 80
75 86
75 83
75 42
89 50
72 111
87 123
72 91
82 84
81 78
87 73
90 123
102 100
89 99
94 140
80 110
90 120
78 119
78 83
80 99
84 98
78 100
61 70
65 72
90 105
102 95
99 67
100 65