createDichotomies
methods now explicitly internalEffect
method for "nestedLogit"
objects to create effect displays.as.data.frame
method when newdata
has one columnpredict.nestedLogit()
now includes the newdata
data frame as an additional component (.data
) in its result. Consequently, the newdata
argument is no longer required in the as.data.frame
method.This is a major enhancement to the package, adding computations of standard errors and confidence intervals to predicted probabilities and logits.
predict()
method now computes standard errors for probabilities and logits using the delta method. These can be obtained for either the response probabilities (and equivalent logits) or for the predicted log odds of the individual dichotomies.confint()
method for the result of predict()
generates the corresponding confidence intervals.as.data.frame()
methods for predicted values, either for the nested logit model or for the separate dichotomies converts these to a data frame in long format, handy for using ggplot()
.confint()
method for predicted probabilities and logitsplot()
method for "nestedLogit"
objects now plots confidence intervals for predicted probabilities.predict()
methods and focusing exclusively on `ggplot2().lobstr::tree()
to print nested listsfig.show="hold"
to keep par(op)
with the code.par()
and options()
calls so as to not alter user's workspace.plot()
method now operationallinearHypothesis()
method to give Wald tests for hypotheses about coefficients or their linear combinations.models()
generic and method to extract separate models from the "nestedLogit"
objectlogLike()
method, and through it, gets AIC()
and BIC()
NEWS.md
file to track changes to the package.