ADVERTISEMENT
Google AdSense Slot (headerLeaderboard)
Set your Publisher ID in src/config/ads.ts to display live ads.
R Statistical Programming Tutorial• 6 min read
Hypothesis Testing: T-Tests & Chi-Square
Conduct one-sample and two-sample Student's t-tests with t.test() and test categorical independence with chisq.test().
Two-Sample T-Testing with t.test()
t.test(score ~ group, data = test_results) computes the t-statistic, degrees of freedom, 95% confidence interval, and p-value.
ADVERTISEMENT
Google AdSense Slot (inContentBanner)
Set your Publisher ID in src/config/ads.ts to display live ads.
Test Yourself With Exercise
Which R function runs a Student's t-test comparing the means of two groups?