May 2019
Beginner to intermediate
266 pages
5h 57m
English
This is also referred to as the student's t-test, which is a method for comparing two samples. It can usually be implemented to determine whether the samples are proper or different. This is considered a parametric test, and the data should be distributed normally.
R can handle the various versions of the t-test using the t.test() command.
The following command is used for our GlassDataset dataset to check the parameters of patients with a specific age range who have undergone a biopsy test:
> t.test(GlassDataset$RI, GlassDataset$Type)Welch Two Sample t-testdata: GlassDataset$RI and GlassDataset$Typet = -8.7756, df = 213, p-value = 5.559e-16alternative hypothesis: true difference in means is not equal to 095 percent confidence ...Read now
Unlock full access