bayesfit.pearson_chisqr - Compute Pearson's Chi-squared

bayesfit.pearson_chisqr(data, options, metrics, estimate_type)

Input Arguments

dataNumpy array

A m-row by 3-column Numpy array corresponding to data from the experiment. (See desciption in bayesfit.fitmodel for full description)

optionsdictionary

Stores all settings used when fitting the model.

metricsdictionary

Output from bayesfit.fitmodel which contains important metrics from the fitted model to the data. (See desciption in bayesfit.fitmodel for full description of metrics output)

estimate_typestr ('MAP' or 'Mean')

Determines which metric used for parameter estimates.

Output Variables

pearson_chisqrfloat

Pearson's Chi-squared metric used to assess goodness-of-fit of model.