
Package index
-
recodeData() - Returns a list of the design matrix
Xand updatedparsandrandParsto include any dummy-coded categorical or interaction variables. -
validate_data() - Validate data formatting for logitr models
Estimating Models
Functions for estimating multinomial logit models with preference space and WTP space utility parameterizations.
-
logitr() - The main function for estimating logit models
-
logLik(<logitr>)terms(<logitr>)coef(<logitr>)coef(<summary.logitr>)summary(<logitr>)print(<logitr>)print(<summary.logitr>)print(<logitr_wtp>)print(<logitr_validation>) - Methods for logitr objects
-
se(<logitr>) - Extract standard errors
-
se() - Extract standard errors
-
vcov(<logitr>) - Calculate the variance-covariance matrix
-
fitted(<logitr>) - Extract Model Fitted Values
-
residuals(<logitr>) - Extract Model Residuals
-
statusCodes() - View a description the nloptr status codes
-
wtp() - Get WTP estimates a preference space model
-
wtp(<logitr>) - Get WTP estimates a preference space model
-
wtpCompare() - Compare WTP from preference and WTP space models
-
predict(<logitr>) - Predict probabilities and / or outcomes
-
augment(<logitr>) - Glance a
logitrclass object -
confint(<logitr>) - Extract Model Confidence Interval
-
glance(<logitr>) - Glance a
logitrclass object -
model.frame(<logitr>) - Extracting the Model Frame from a Formula or Fit
-
model.matrix(<logitr>) - Construct Design Matrices
-
tidy(<logitr>) - Tidy a
logitrclass object
-
yogurt - Choice observations of yogurt purchases by 100 households
-
cars_us - Stated car choice observations by US car buyers
-
cars_china - Stated car choice observations by Chinese car buyers
-
apolloModeChoiceData - Simulated SP dataset of mode choice (from the apollo package).
-
electricity - Stated preference data for the choice of electricity suppliers (from mlogit package)
-
runtimes - Data frame of run times for logitr benchmark
-
fquantile() - Predict probabilities and / or outcomes
-
ci() - Obtain a confidence interval from coefficient draws
-
logit_probs() - Compute logit fraction for sets of alternatives given coefficient draws