The purpose of the ChiSquare plugin is to calculate the ChiSquare and the reduced ChiSquare for two sets of data.
Table 1.1 lists available plugin property names, along with their data type and purpose.
Parameter Name | Data Type | Purpose |
ExperimentalData | TelluriumData | Data representing Experimental data. |
ModelData | TelluriumData | Data representing Model data. |
NrOfModelParameters | int | Number of model parameters used to create the model data. |
ChiSquare | double | The calculated ChiSquare. |
ReducedChiSquare | double | The calculated reduced ChiSquare. |
This plugin does not use any plugin events.
The execute() function will attempt to calculate the ChiSquare, and the reduced ChiSquare, using data supplied by the user.
The python script below shows how to use the plugin.