Insurance quotes for two insurers of hazardous waste jobs
A data frame with 15 observations on the following 2 variables:
quotes from company A in euros
quotes from company B in euros
Ugarte, M. D., Militino, A. F., and Arnholt, A. T. (2008) Probability and Statistics with R. Chapman & Hall/CRC.
with(data = InsurQuotes, t.test(companyA, companyB))#> #> Welch Two Sample t-test #> #> data: companyA and companyB #> t = -2.7216, df = 24.645, p-value = 0.01174 #> alternative hypothesis: true difference in means is not equal to 0 #> 95 percent confidence interval: #> -54.306109 -7.500558 #> sample estimates: #> mean of x mean of y #> 322.1593 353.0627 #>