Extract model coefficients method for objects of class "chandwich"
Source:R/methods.R
coef.chandwich.Rdcoef method for class "chandwich".
Usage
# S3 method for class 'chandwich'
coef(object, complete = FALSE, ...)Arguments
- object
an object of class "chandwich", a result of a call to
adjust_loglik.- complete
A logical scalar. If
complete = TRUEthen the full vector of parameter estimates is returned, including any fixed usingfixed_parsandfixed_atin the call toadjust_loglik. Otherwise, only the vector of estimates of free parameters is returned.The default is
complete = FALSE, which is in sync withvcov.chandwich.- ...
Additional optional arguments. At present no optional arguments are used.
Value
A numeric vector of estimated parameters, which will be
named if names were provided in the call to
adjust_loglik.
Details
The full vector of estimates is taken from
attributes(object)$res_MLE and the reduced vector from
attributes(object)$MLE.
See also
vcov.chandwich: vcov method for
class "chandwich".
summary.chandwich: summary method for
class "chandwich".
adjust_loglik to adjust a user-supplied
loglikelihood.