The my_data class is used to contain example (psychometric) data
![]() | BestLogLikelihood This will hold the value of negative log-likelihood in the case where the model passes exactly through our DataFractionCorrect |
![]() | ConfidenceWeight Calculated as the binomial variance (estimate) for the data |
![]() | Contrast The independent variable |
![]() | DataFractionCorrect Another alias for the dependent variable |
![]() | ModelFractionCorrect The model estimate of the dependent variable |
![]() | NumberCorrect The dependent variable |
![]() | NumberInCorrect An alias for the dependent variable |
![]() | TrialCount A parameter of the experiment |
![]() | logLikelihood (void) This is the function that will be minimized for the model |
![]() | set_best_LL (void) Calculate the "error" value in the case where the model passes right throught the data point |
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.
generated by doc++