ci.mean2(.05, 15.4, 10.3, 2.67, 2.15, 30, 20)
# Should return:
# Estimate SE t df
# Equal Variances Assumed: 5.1 1.602248 3.183029 48.0000
# Equal Variances Not Assumed: 5.1 1.406801 3.625247 44.1137
# p LL UL
# Equal Variances Assumed: 0.0025578586 1.878465 8.321535
# Equal Variances Not Assumed: 0.0007438065 2.264986 7.935014
Run the code above in your browser using DataLab