Patterns in static

Apophenia

t-, chi-squared, F-, Wishart distributions

Most of these distributions are typically used for testing purposes. For such a situation, you don't need the models here. Given a statistic of the right properties, you can find the odds that the statistic is above or below a cutoff on the t-, F, or chi-squared distribution using the apop_test function.

In that world, those three distributions are actually parameter free. The data is assumed to be normalized to be based on a mean zero, variance one process, you get the degrees of freedom from the size of the data, and the distribution is fixed.

For modeling purposes, more could be done. For example, the t-distribution is a favorite proxy for Normal-like situations where there are fat tails relative to the Normal (i.e., high kurtosis). Or, you may just prefer not to take the step of normalizing your data—one could easily rewrite the theorems underlying the t-distribution without the normalizations.

In such a case, the researcher would not want to fix the $df$, because $df$ indicates the fatness of the tails, which has some optimal value given the data. Thus, there are two modes of use for these distributions:

apop_data *t_for_testing = apop_estimate(data, apop_t)

—will return exactly the type of $t$-distribution one would use for testing.

df works for all four distributions here; df2 makes sense only for the $F$,

For the Wishart, the degrees of freedom and covariance matrix are always estimated via MLE.

Autogenerated by doxygen on Sun Oct 26 2014 (Debian 0.999b+ds3-2).