fitBernoulli returns an object of class "Bernoulli", a list
with components: maxLogLik, mle, nobs, vcov,
n0, n1, data, obs_data, where data are
the input data and, obs_data are the input data after any missing
values have been removed, using na.omit and
n0 and n1 are, respectively, the number of failures and the
number of successes.
coef.Bernoulli: a numeric vector of length 1 with name prob.
The MLE of the probability of success.
vcov.Bernoulli: a \(1 \times 1\) matrix with row
and column name prob. The estimated variance of the estimator of
the probability of success. No adjustment for cluster dependence has
been made.
nobs.Bernoulli: a numeric vector of length 1 with name prob.
The number of observations used to estimate the probability of success.
logLik.Bernoulli: an object of class "logLik": a numeric
scalar with value equal to the maximised log-likelihood. The returned
object also has attributes nobs, the numbers of observations used
in this model fit, and "df" (degrees of freedom), which is equal
to the number of total number of parameters estimated (1).