Hypothesis test (2- sample)
The manager of an health insurance company in Brampton wonders whether the members needed more chiropractic help in 2017 than in 2016, on average. He found a random sample of those who were treated by chiropractic doctors in both years. Data provided in TERMTESTDATA file. Perform an Hypothesis test to check whether annual expenses increased, on average. For the test use Data Analysis t-Test: Paired Two Sample for Means and 2% significance level.
| Annual expenses | |
| 2016 | 2017 |
| 340 | 374 |
| 560 | 476 |
| 816 | 850 |
| 238 | 136 |
| 374 | 340 |
| 646 | 748 |
| 612 | 510 |
| 136 | 162 |
| 850 | 816 |
| 1054 | 1190 |
| 298 | 238 |
| 272 | 366 |
| 578 | 510 |
| 340 | 408 |
| 476 | 510 |
| 748 | 680 |
| 204 | 170 |
| 774 | 816 |
| 510 | 570 |
| 408 | 468 |
| Annual expenses 2017 | Annual expenses 2016 | Difference = Annual expenses 2017 - Annual expenses 2016 | |
| 374 | 340 | 34 | |
| 476 | 560 | -84 | |
| 850 | 816 | 34 | |
| 136 | 238 | -102 | |
| 340 | 374 | -34 | |
| 748 | 646 | 102 | |
| 510 | 612 | -102 | |
| 162 | 136 | 26 | |
| 816 | 850 | -34 | |
| 1190 | 1054 | 136 | |
| 238 | 298 | -60 | |
| 366 | 272 | 94 | |
| 510 | 578 | -68 | |
| 408 | 340 | 68 | |
| 510 | 476 | 34 | |
| 680 | 748 | -68 | |
| 170 | 204 | -34 | |
| 816 | 774 | 42 | |
| 570 | 510 | 60 | |
| 468 | 408 | 60 | |
| Average | 516.9 | 511.7 | 5.2 |
| St. Dev. | 270.037 | 247.558 | 72.223 |
| n | 20 | 20 | 20 |


No, annual expenses not increased, on average
Hypothesis test (2- sample) The manager of an health insurance company in Brampton wonders whether the...
In C++ Programming: Using a single for loop, output the even numbers between 2 and 1004 (inclusive) that iterates (loops) exactly 502 times. The outputted numbers be aligned in a table with 10 numbers per row. Each column in the table should be 5 characters wide. Do not nest a loop inside of another loop. Hint: First create and test the code that output the numbers all on one line (the command line will automatically wrap the output to new...
Implement a method that uses insertion sort to sort numbers. Use the numbers provided in files (100.txt, 1000.txt, 5000.txt, 50000.txt, 100000.txt and 500000.txt) as input. Measure the time taken to sort these numbers (do not include the file IO time). Plot the time taken to sort the numbers [Programming, 35 points] .Files to submit. A report that briefly talks about your solution to each of the problem (the explanation should not exceed more than half pages each). Seperate file for...
Create a program that will use the attached input file and perform the following operations. Read the file into an appropriate JCF data structure. Look up a (list of) names and numbers matching a last name or the first letters of a last name, ignoring case. Look up a (list of) names and numbers matching a number or the first digits of a number. Add a name and number to the list. Sort the list by first name, last name...