indivLogLiks {clarkeTest} | R Documentation |
Calculate individual log-likelihood values
Description
Calculate individual log-likelihood values
Usage
indivLogLiks(model)
## S3 method for class 'glm'
indivLogLiks(model)
## S3 method for class 'lm'
indivLogLiks(model)
## S3 method for class 'orlm'
indivLogLiks(model)
## S3 method for class 'polr'
indivLogLiks(model)
## S3 method for class 'clm'
indivLogLiks(model)
## S3 method for class 'multinom'
indivLogLiks(model)
## S3 method for class 'negbin'
indivLogLiks(model)
Arguments
model |
A statistical model object. |
Details
The indivLogLiks
function calls
the appropriate method for calculating individual
log likelihood values for the model. The function
currently supports binomial, poisson and negative
binomial GLMs, ordinal models estimated with either
polr
from the MASS
package
or clm
from the ordinal
package and multinomial models estimated with either
multinom
from the nnet
package. Users can also write new
methods for both indivLogLiks
and nparams
that would get called by the generic function.
For the purposes of the clarke_test
function, the indivLogLiks
functions are not intended to be called directly by the user.
Value
A vector of individual log-likelihood values for the model.
[Package clarkeTest version 0.2.0 Index]