In file example_fitter.h:

class my_data

The my_data class is used to contain example (psychometric) data

Public Fields

float BestLogLikelihood
This will hold the value of negative log-likelihood in the case where the model passes exactly through our DataFractionCorrect
float ConfidenceWeight
Calculated as the binomial variance (estimate) for the data
float Contrast
The independent variable
float DataFractionCorrect
Another alias for the dependent variable
float ModelFractionCorrect
The model estimate of the dependent variable
float NumberCorrect
The dependent variable
float NumberInCorrect
An alias for the dependent variable
float TrialCount
A parameter of the experiment

Public Methods

IML_DOUBLE logLikelihood (void)
This is the function that will be minimized for the model
void set_best_LL (void)
Calculate the "error" value in the case where the model passes right throught the data point

Documentation

The my_data class is used to contain example (psychometric) data. Calculated values are stored here as well. The class knows how to calculate error, in this case, negative log-likelihood, and how to calculate the minimum log-likelihood so we can try to calculate a chi-squared value once the best model is found.
IML_DOUBLE logLikelihood(void)
This is the function that will be minimized for the model. This will only be called by the evaluate() function which must be defined in my fitter below.


This class has no child classes.

alphabetic index hierarchy of classes


generated by doc++