Calculate the log-likelihood of the general linear or conjunctive classifier model applied to a data set.

1 2 3 4 5 |

`object` |
object of class |

`response` |
a vector of classification responses used to calculate the log-likelihood of the model. |

`x` |
a matrix or dataframe containing values for each stimulus dimensions. |

`zlimit` |
integer. Used to truncate the z-scores whose absolute values are greater than |

`...` |
further arguments (currently unused) |

The log-likelihood for the general linear or conjunctive classifier described by `object`

fitted against the dataset given by `response`

and `x`

.

The value of attributes, `attr(, "df")`

(degrees of freedom) is calculated based on the assumption that all the parameters in `object`

are free to vary.

`gqc`

,
`gqcStruct`

,
`logLik.glc`

,
`logLik.gcjc`

1 2 3 4 5 | ```
m <- list(c(187, 142), c(213, 98))
covs <- diag(625, ncol=2, nrow=2)
db <- ldb(means=m, covs=covs, noise=10)
data(subjdemo_2d)
logLik(db, subjdemo_2d$response, x=subjdemo_2d[2:3], zlimit=7)
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.