Ch. 19: Two samples t-test

The following examples are based on the data, soc510hw2.csv in which female, married, and wage variables are found. Note that females are coded 1 and males are coded 0. How to read a data file into R is found here.

Two-tail t-test



Right side 1 tail t-test



Left side 1 tail t-test


[ Going back to Using R: Index ]