This is Ohm Rajpal's final project for AP Computer Science A. We were given the option to make any project we wanted, as long as it had searching or sorting algorithms, the use of a data structure, and user input.
I decided to create a stats program that can output the solution to statistics problems involving chi-square goodness of fit, homogeneity, or independence. The program can figure out what the problem is based on the responses of the user, and either tells the test cannot be applied, or gives a summary of:
- The expected value array (1D or 2D)
- The chi-square value
- The degrees of freedom
- The calculated P-value
- A statistical summary based on the P-value compared to α