This document provides an agenda for introducing one sample and two sample t-tests using R programming. It outlines the steps to clean data, explore it, state hypotheses, set significance levels, check assumptions, implement tests, interpret results via statistics, visualize outputs, and generate reports. Examples with both statistically significant and non-significant differences between means will be shown using simulated and real-life data. Critical t-values for different degrees of freedom in two-tailed t-tests are also presented.
This document provides an agenda for introducing one sample and two sample t-tests using R programming. It outlines the steps to clean data, explore it, state hypotheses, set significance levels, check assumptions, implement tests, interpret results via statistics, visualize outputs, and generate reports. Examples with both statistically significant and non-significant differences between means will be shown using simulated and real-life data. Critical t-values for different degrees of freedom in two-tailed t-tests are also presented.
This document provides an agenda for introducing one sample and two sample t-tests using R programming. It outlines the steps to clean data, explore it, state hypotheses, set significance levels, check assumptions, implement tests, interpret results via statistics, visualize outputs, and generate reports. Examples with both statistically significant and non-significant differences between means will be shown using simulated and real-life data. Critical t-values for different degrees of freedom in two-tailed t-tests are also presented.
b. Two sample t test : Independent samples/paired samples
i. two sided
ii. one sided : less than
iii. greater than
The steps involved
1. Clean the data
2. Explore the data 3. State the hypothesis 4. Set the α 5. chceck the asumptions 6. implement the test 7. Interpret the results i : using t-stat ii: using CI levels iii. using p-values 8. Visualize the t test results using plot() method of webr package 9. get report using report() function of report package Please note:
We will start with simulated data and then will use real life data
1. with statistically non significant difference
2. With statistically significnat difference critical t values
Table 1: Critical values for a two-sided t-test at a 0.05 significance level