Insurance quotes for two insurers of hazardous waste jobs
INSURQUOTES
A data frame with 15 observations on the following 2 variables:
companyA
(quotes from company A in Euros)
companyB
(quotes from company B in Euros)
Ugarte, M. D., Militino, A. F., and Arnholt, A. T. 2015. Probability and Statistics with R, Second Edition. Chapman & Hall / CRC.
ggplot(data = INSURQUOTES, aes(sample = companyA - companyB)) +
stat_qq(col = "orange", size = 4)
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
#>