Pepper's Pill Mill is a pharmaceutical company that is developing a new drug to help fight Alzheimer's disease.
The drug has performed well in laboratory experiments, and the company has received approval to begin trials with people. To help make sure that the trial is unbiased, they are asking you to develop a Java program that can perform the data analysis and determine the drug's effectiveness.
Each trial consists of 3 groups of individuals undergoing different treatment:
- Control Group- No treatment.
- Experimental Group - New Drug Administered.
- Placebo Group - Fake Drug (sugar pills) Administered.
Every individual in each group gets the same memory evaluation, and the doctor will write down a score for that individual as a number between 0 and 100. There are many patients in each group, so some simple statistics are necessary to determine the effectiveness of the treatment.
Input and Output
Your program should take as input:
- File names for three input files (one for each group in the trial)
- A file name for the output file
Your program should output:
- A file with the trial results
Your program should ask for the names of 3 files (input files) that contain memory evaluation data for the three groups in this trial. Your program should then ask for a name for the file that will hold the trial results (the output file). All files will be located in the same directory as your program.
Each input data file contains a list of integers - one on each line. The study is double-blind, so your program will not know which data file corresponds to which experimental group. Additionally, the group sizes may be different.
For each input file, your program should read in the data from the file. Your program will need to calculate the average and standard deviation for that data set. Your program will also need to determine if there is a significant difference between each pair of groups in this trial.
To determine if there is a significant difference between two groups in the trial, your program must compute the positive difference between the averages of the two groups. If the difference between the averages is larger than the standard deviations of both groups, then this is a significant result.
For example, given the following statistics:
Recently Asked Questions
- Please refer to the attachment to answer this question. This question was created from Assignment_3. Additional comments: "not allowed to make any changes to
- Please refer to the attachment to answer this question. This question was created from Assignment.
- I'm having trouble with this example it says it cannot resolve income and dependents to variables, I am lost as how to fix this. I'm guessing income and