filmov
tv
Independent-Samples t-test in R | Using the ttest Function from lessR
Показать описание
* Correction [22:49]: When describing how to interpret the results of Levene's test of equal variances, there is a typo. Lines 39-42 of the annotated script should read (note the change in all CAPS): "If, however, the p-value is equal to or GREATER than .05, then we fail to reject the null hypothesis and assume that the variances are equal (i.e., variances are homogenous)."
* Note [35:15]: For the lessR BarChart, the following argument now needs to be added to request the means of the outcome level for each group: stat="mean"
This tutorial demonstrates how to estimate an independent-samples t-test using the ttest function from the lessR package in R. An independent-samples t-test is sometimes referred to as a two-samples or between-subjects t-test. I also demonstrate how to plot the results of a independent-samples t-test using a bar chart (which is a type of data visualization display) and specifically the BarChart function from the lessR package.
* Note [35:15]: For the lessR BarChart, the following argument now needs to be added to request the means of the outcome level for each group: stat="mean"
This tutorial demonstrates how to estimate an independent-samples t-test using the ttest function from the lessR package in R. An independent-samples t-test is sometimes referred to as a two-samples or between-subjects t-test. I also demonstrate how to plot the results of a independent-samples t-test using a bar chart (which is a type of data visualization display) and specifically the BarChart function from the lessR package.