=
Note: Conversion is based on the latest values and formulas.
Estimating Weighted Logit Models • logitr - GitHub Pages This vignette demonstrates an example of how to use the logitr() function with the weights argument to estimate weighted logit models.
Basic Usage • logitr - GitHub Pages Models are specified and estimated using the logitr() function. The data argument should be set to the data frame containing the data, and the outcome and obsID arguments should be set to the column names in the data frame that correspond to the dummy-coded outcome (choice) variable and the observation ID variable, respectively.
Utility Models in the Preference & WTP Space • logitr - GitHub Pages Helveston, John Paul, Elea McDonnell Feit, and Jeremy J. Michalek. 2018. “ Pooling stated and revealed preference data in the presence of RP endogeneity.” Transportation Research Part B: Methodological 109: 70–89.
Estimating Mixed Logit Models • logitr - GitHub Pages This vignette demonstrates an example of how to use the logitr() function to estimate mixed logit (MXL) models with preference space and WTP space utility parameterizations.
Package index • logitr - GitHub Pages Glance a logitr class object. confint. Extract Model Confidence Interval. glance. Glance a logitr class object. model.frame. Extracting the Model Frame from a Formula or Fit. model.matrix. Construct Design Matrices. tidy. Tidy a logitr class object. Example Data Sets . Descriptions of data included with this package. yogurt
The main function for estimating logit models — logitr • logitr logitr.Rd Use this function to estimate multinomial (MNL) and mixed logit (MXL) models with "Preference" space or "Willingness-to-pay" (WTP) space utility parameterizations. The function includes an option to run a multistart optimization loop with random starting points in each iteration, which is useful for non-convex problems like MXL models ...
Estimating Multinomial Logit Models • logitr - GitHub Pages This vignette demonstrates an example of how to use the logitr() function to estimate multinomial logit (MNL) models with preference space and WTP space utility parameterizations.
Summarizing Results • logitr - GitHub Pages Often times you will need to create summary tables that are formatted for publication. The package offers a convenient solution that works well with logitrmodels. For example, a formatted summary table can be obtained using the tbl_regression() function:
logitr - GitHub Pages logitr: Fast Estimation of Multinomial (MNL) and Mixed Logit (MXL) Models with Preference Space and Willingness to Pay Space Utility Parameterizations. The latest version includes support for: Multinomial logit (MNL) models; Mixed logit (MXL) models with …
Compare WTP from preference and WTP space models — … # Compute the WTP implied from the preference space model wtp_mnl_pref <-wtp (mnl_pref, scalePar = "price") # Estimate a MNL model in the WTP Space, using the computed WTP values # from the preference space model as starting points mnl_wtp <-logitr (data = yogurt, outcome = "choice", obsID = "obsID", pars = c ("feat", "brand"), scalePar ...