Can have 1 to 30 arguments. Arguments should be either numbers, or arrays or references that contain numbers.
Trials is the number of independent trials.
Cumulative is a logical value that determines the form of the function. The flip of a coin can only result in heads or tails. Use the chi-squared test to compare observed and expected values. For example, a genetic experiment might hypothesize that the next generation of plants will exhibit a certain set of colors. By comparing the observed results with the expected ones, you can decide if your original hypothesis is valid.