| AIC for Hurdle Demand Model | AIC.beezdemand_hurdle |
| annotation_logticks2 | annotation_logticks2 |
| ANOVA Method for Hurdle Demand Models | anova.beezdemand_hurdle |
| ANOVA Method for NLME Demand Models | anova.beezdemand_nlme |
| Joint Wald and likelihood-ratio tests for a TMB demand fit | anova.beezdemand_tmb |
| Example alcohol purchase task data | apt |
| Full alcohol purchase task dataset | apt_full |
| Augment a beezdemand_fixed Model with Fitted Values and Residuals | augment.beezdemand_fixed |
| Augment a beezdemand_hurdle Model with Fitted Values and Residuals | augment.beezdemand_hurdle |
| Augment a beezdemand_nlme Model with Fitted Values and Residuals | augment.beezdemand_nlme |
| Augment a beezdemand_tmb Model | augment.beezdemand_tmb |
| Augment a Cross-Price Demand Model (Linear) | augment.cp_model_lm |
| Augment a Cross-Price Demand Model (Mixed-Effects) | augment.cp_model_lmer |
| Augment a Cross-Price Demand Model (Nonlinear) | augment.cp_model_nls |
| S3 Methods for beezdemand_descriptive Objects | beezdemand_descriptive_methods plot.beezdemand_descriptive print.beezdemand_descriptive summary.beezdemand_descriptive |
| S3 Methods for beezdemand_empirical Objects | beezdemand_empirical_methods plot.beezdemand_empirical print.beezdemand_empirical summary.beezdemand_empirical |
| BIC for Hurdle Demand Model | BIC.beezdemand_hurdle |
| Bootstrap Confidence Intervals for Derived Demand Metrics | boot_demand |
| Calculate Group-Level Demand Metrics | calc_group_metrics |
| Calculate Population-Level Demand Metrics for TMB Model | calc_group_metrics.beezdemand_tmb |
| Calculate Observed Pmax/Omax Grouped by ID | calc_observed_pmax_omax |
| Calculate Omax and Pmax for Demand Curves | calc_omax_pmax |
| Calculate Amplitude and Persistence | calculate_amplitude_persistence |
| Cannabis/cigarette cross-price responses | cannabisCigarettes |
| ChangeData | ChangeData |
| Check Demand Model Diagnostics | check_demand_model check_demand_model.beezdemand_fixed check_demand_model.beezdemand_hurdle check_demand_model.beezdemand_nlme check_demand_model.beezdemand_tmb |
| Check Cross-Price Data for Unsystematic Responding | check_systematic_cp |
| Check Demand Data for Unsystematic Responding | check_systematic_demand |
| Check for Unsystematic Patterns in Cross-Price Data | check_unsystematic_cp |
| Check Column Names | CheckCols |
| Systematic Purchase Task Data Checker | CheckUnsystematic |
| Extract Coefficients from Cross-Price Demand Models | coef-methods coef.cp_model_lm coef.cp_model_lmer coef.cp_model_nls |
| Extract Coefficients from Fixed-Effect Demand Fit | coef.beezdemand_fixed |
| Extract Coefficients from Grouped Fixed-Effect Demand Fit | coef.beezdemand_fixed_grouped |
| Extract Coefficients from Hurdle Demand Model | coef.beezdemand_hurdle |
| Extract Coefficients from a beezdemand_nlme Model | coef.beezdemand_nlme |
| Extract Coefficients from TMB Model | coef.beezdemand_tmb |
| Compare Nested Hurdle Demand Models | compare_hurdle_models |
| Compare Demand Models | compare_models |
| Confidence Intervals for Fixed-Effect Demand Model Parameters | confint.beezdemand_fixed |
| Confidence Intervals for Hurdle Demand Model Parameters | confint.beezdemand_hurdle |
| Confidence Intervals for Mixed-Effects Demand Model Parameters | confint.beezdemand_nlme |
| Confidence Intervals for TMB Model Parameters | confint.beezdemand_tmb |
| Confidence Intervals for a Cross-Price Demand Model (Linear) | confint.cp_model_lm |
| Confidence Intervals for a Cross-Price Demand Model (Mixed-Effects) | confint.cp_model_lmer |
| Confidence Intervals for Cross-Price NLS Model Parameters | confint.cp_model_nls |
| Example cross‐price dataset | cp |
| Run pairwise intercept comparisons for cross-price demand model | cp_posthoc_intercepts |
| Run pairwise slope comparisons for cross-price demand model | cp_posthoc_slopes |
| Example Experimental Tobacco Marketplace data | etm |
| Extract All Coefficient Types from Cross-Price Demand Models | extract_coefficients |
| ExtraF | ExtraF |
| Fit a Linear Cross-Price Demand Model | fit_cp_linear fit_cp_linear.default fit_cp_linear.mixed |
| Fit cross-price demand with NLS (+ robust fallbacks) | fit_cp_nls |
| Fit Fixed-Effect Demand Curves | fit_demand_fixed |
| Fit Two-Part Mixed Effects Hurdle Demand Model | fit_demand_hurdle |
| Fit Nonlinear Mixed-Effects Demand Model | fit_demand_mixed |
| Fit Mixed-Effects Demand Models via TMB | fit_demand_tmb |
| FitCurves | FitCurves |
| Fit Pooled/Mean Curves | FitMeanCurves |
| Fitted values for a beezdemand_hurdle fit | fitted.beezdemand_hurdle |
| Fitted values for a beezdemand_tmb fit | fitted.beezdemand_tmb |
| Fixed-Effect Demand Curve Fitting | fixed-demand |
| Extract Fixed Effects from a beezdemand_nlme Model | fixef.beezdemand_nlme |
| Extract Fixed Effects from TMB Model | fixef.beezdemand_tmb |
| Extract Fixed Effects from Mixed-Effects Cross-Price Model | fixef.cp_model_lmer |
| Formula for a beezdemand_hurdle fit | formula.beezdemand_hurdle |
| Formula for a beezdemand_tmb fit | formula.beezdemand_tmb |
| Get Pairwise Comparisons for Demand Parameters | get_demand_comparisons get_demand_comparisons.beezdemand_nlme get_demand_comparisons.default |
| Get Demand Parameter Comparisons for TMB Model | get_demand_comparisons.beezdemand_tmb |
| Get Estimated Marginal Means for Demand Parameters | get_demand_param_emms get_demand_param_emms.beezdemand_nlme get_demand_param_emms.default |
| Get Demand Parameter Estimated Marginal Means for TMB Model | get_demand_param_emms.beezdemand_tmb |
| Get Trends (Slopes) of Demand Parameters with respect to Continuous Covariates | get_demand_param_trends |
| Calculate Descriptive Statistics by Price | get_descriptive_summary |
| Calculate Empirical Demand Measures | get_empirical_measures |
| Get Hurdle Model Parameter Summary | get_hurdle_param_summary |
| Calculate Individual-Level Predicted Coefficients from beezdemand_nlme Model | get_individual_coefficients |
| Calculate K Scaling Parameter for Demand Curve Fitting | get_k |
| Get Estimated Marginal Means for Observed Factor Combinations | get_observed_demand_param_emms |
| Get Subject-Specific Parameters | get_subject_pars |
| Get Subject-Specific Parameters from an NLME Demand Model | get_subject_pars.beezdemand_nlme |
| Get Subject-Specific Parameters from TMB Model | get_subject_pars.beezdemand_tmb |
| Get pmax | GetAnalyticPmax |
| Analytic Pmax Fallback | GetAnalyticPmaxFallback |
| Get Purchase Task Descriptive Summary | GetDescriptives |
| GetEmpirical | GetEmpirical |
| Get K | GetK |
| Get Shared K | GetSharedK |
| Get Values for SimulateDemand | GetValsForSim |
| Glance Method for beezdemand_fixed | glance.beezdemand_fixed |
| Glance Method for beezdemand_fixed_grouped | glance.beezdemand_fixed_grouped |
| Glance at a beezdemand_hurdle Model | glance.beezdemand_hurdle |
| Glance method for beezdemand_nlme | glance.beezdemand_nlme |
| Glance Method for beezdemand_systematicity | glance.beezdemand_systematicity |
| Glance at a beezdemand_tmb Model | glance.beezdemand_tmb |
| Get model summaries from a linear cross-price model | glance.cp_model_lm |
| Get model summaries from a mixed-effects cross-price model | glance.cp_model_lmer |
| Get model summaries from a cross-price model | glance.cp_model_nls |
| Example nonhuman demand data with drug and dose | ko |
| Lambert W | lambertW |
| Log-Logistic Transformation (LL4-like) | ll4 |
| Inverse Log-Logistic Transformation (Inverse LL4-like) | ll4_inv |
| Extract Log-Likelihood from Hurdle Demand Model | logLik.beezdemand_hurdle |
| Low-nicotine cigarette purchase task | lowNicClean |
| Design matrices for a beezdemand_hurdle fit | model.matrix.beezdemand_hurdle |
| Design matrices for a beezdemand_tmb fit | model.matrix.beezdemand_tmb |
| Sample size for a beezdemand_hurdle fit | nobs.beezdemand_hurdle |
| Number of Observations in a Cross-Price Demand Model (Linear) | nobs.cp_model_lm |
| Number of Observations in a Cross-Price Demand Model (Mixed-Effects) | nobs.cp_model_lmer |
| Number of Observations in a Cross-Price Demand Model (Nonlinear) | nobs.cp_model_nls |
| Experimental Tobacco Marketplace (ETM) data | ongoingETM |
| beezdemand Color Palette | palette_beezdemand |
| Reshape Demand Data Between Wide and Long Formats | pivot_demand_data |
| Plot Distribution of Subject-Level Alpha Estimates | plot_alpha_distribution plot_alpha_distribution.beezdemand_hurdle plot_alpha_distribution.beezdemand_tmb |
| Overlay Demand Curves from Multiple Models | plot_demand_overlay |
| Plot Own-Price Elasticity Curve | plot_elasticity plot_elasticity.beezdemand_hurdle plot_elasticity.beezdemand_tmb |
| Plot Expenditure Curves | plot_expenditure plot_expenditure.beezdemand_hurdle plot_expenditure.beezdemand_tmb |
| Plot Loss Profile for a Single Parameter | plot_loss_profile plot_loss_profile.beezdemand_hurdle plot_loss_profile.beezdemand_nlme plot_loss_profile.beezdemand_tmb |
| Plot Loss Surface for Demand Model Parameters | plot_loss_surface plot_loss_surface.beezdemand_hurdle plot_loss_surface.beezdemand_nlme plot_loss_surface.beezdemand_tmb |
| Compare Parameter Estimates Across Models | plot_model_comparison |
| Plot Random Effects Q-Q | plot_qq plot_qq.beezdemand_hurdle plot_qq.beezdemand_nlme plot_qq.beezdemand_tmb |
| Diagnostic Plots for Random Effects | plot_re_diagnostics plot_re_diagnostics.beezdemand_hurdle plot_re_diagnostics.beezdemand_tmb |
| Plot Residual Diagnostics | plot_residuals |
| Plot Demand Curve for a Single Subject | plot_subject |
| beezdemand Plot Theme and Color Palette | plot-theme |
| Plot Method for beezdemand_fixed | plot.beezdemand_fixed |
| Plot Method for beezdemand_fixed_grouped | plot.beezdemand_fixed_grouped |
| Plot Demand Curves from Hurdle Demand Model | plot.beezdemand_hurdle |
| Plot Method for beezdemand_nlme Objects | plot.beezdemand_nlme |
| Plot TMB Mixed-Effects Demand Model | plot.beezdemand_tmb |
| Plot Method for Linear Cross-Price Demand Models | plot.cp_model_lm |
| Plot Method for Mixed-Effects Cross-Price Demand Models | plot.cp_model_lmer |
| Plot a Cross-Price Demand Model (Nonlinear) | plot.cp_model_nls |
| Plot Curve | PlotCurve |
| Plot Curves | PlotCurves |
| Predict Method for beezdemand_fixed | predict.beezdemand_fixed |
| Predict Method for Hurdle Demand Models | predict.beezdemand_hurdle |
| Predict Method for beezdemand_nlme Objects | predict.beezdemand_nlme |
| Predict from TMB Mixed-Effects Demand Model | predict.beezdemand_tmb |
| Predict method for cp_model_lm objects. | predict.cp_model_lm |
| Predict from a Mixed-Effects Cross-Price Demand Model | predict.cp_model_lmer |
| Predict from a Cross-Price Demand Model (Nonlinear) | predict.cp_model_nls |
| Print Monte Carlo Simulation Results | print_mc_summary |
| Print Method for ANOVA Comparisons | print.anova.beezdemand_hurdle |
| Print method for beezdemand_comparison objects | print.beezdemand_comparison |
| Print Method for Diagnostic Plots | print.beezdemand_diagnostic_plots |
| Print Method for Model Diagnostics | print.beezdemand_diagnostics |
| Print Method for beezdemand_fixed | print.beezdemand_fixed |
| Print Method for beezdemand_fixed_grouped | print.beezdemand_fixed_grouped |
| Print Method for Hurdle Demand Model | print.beezdemand_hurdle |
| Print Method for Model Comparison | print.beezdemand_model_comparison |
| Print Method for beezdemand_nlme Objects | print.beezdemand_nlme |
| Print Method for beezdemand Summary Objects | print.beezdemand_summary |
| Print Method for beezdemand_systematicity | print.beezdemand_systematicity |
| Print Method for TMB Mixed-Effects Demand Model | print.beezdemand_tmb |
| Print a Cross-Price Demand Model (Linear) | print.cp_model_lm |
| Print a Cross-Price Demand Model (Mixed-Effects) | print.cp_model_lmer |
| Print a Cross-Price Demand Model (Nonlinear) | print.cp_model_nls |
| Print method for cp_posthoc objects | print.cp_posthoc |
| Print Method for summary.beezdemand_fixed | print.summary.beezdemand_fixed |
| Print Summary of Hurdle Demand Model | print.summary.beezdemand_hurdle |
| Print method for summary.beezdemand_nlme | print.summary.beezdemand_nlme |
| Print Method for summary.beezdemand_systematicity | print.summary.beezdemand_systematicity |
| Print Method for TMB Model Summary | print.summary.beezdemand_tmb |
| Print method for summary.cp_model_lm objects. | print.summary.cp_model_lm |
| Print method for summary.cp_model_lmer objects. | print.summary.cp_model_lmer |
| Print method for summary.cp_model_nls objects | print.summary.cp_model_nls |
| Print Method for Cross-Price Unsystematic Summary | print.summary.cp_unsystematic |
| Create a Pseudo-Log LL4 Transformation Object for ggplot2 | pseudo_ll4_trans |
| Extract Random Effects from a beezdemand_nlme Model | ranef.beezdemand_nlme |
| Extract Random Effects from TMB Model | ranef.beezdemand_tmb |
| Extract Random Effects from Mixed-Effects Cross-Price Model | ranef.cp_model_lmer |
| Recode Outliers | RecodeOutliers |
| Replace Zeros | ReplaceZeros |
| Residuals for a beezdemand_hurdle fit | residuals.beezdemand_hurdle |
| Residuals for a beezdemand_tmb fit | residuals.beezdemand_tmb |
| Run Monte Carlo Simulation Study for Hurdle Demand Model | run_hurdle_monte_carlo |
| beezdemand Color Scale (Discrete) | scale_color_beezdemand |
| beezdemand Fill Scale (Discrete) | scale_fill_beezdemand |
| Create an LL4-like Scale for ggplot2 Axes | scale_ll4 |
| Simulate Data from Two-Part Mixed Effects Hurdle Demand Model | simulate_hurdle_data |
| Simulate Demand Data | SimulateDemand |
| Summary Method for beezdemand_fixed | summary.beezdemand_fixed |
| Summary Method for beezdemand_fixed_grouped | summary.beezdemand_fixed_grouped |
| Summarize a Hurdle Demand Model Fit | summary.beezdemand_hurdle |
| Summary method for beezdemand_nlme | summary.beezdemand_nlme |
| Summary Method for beezdemand_systematicity | summary.beezdemand_systematicity |
| Summarize a TMB Mixed-Effects Demand Model Fit | summary.beezdemand_tmb |
| Summary method for cp_model_lm objects. | summary.cp_model_lm |
| Summary method for cp_model_lmer objects. | summary.cp_model_lmer |
| Summarize a Cross-Price Demand Model (Nonlinear) | summary.cp_model_nls |
| Summarize Cross-Price Unsystematic Data Check Results | summary.cp_unsystematic |
| Systematicity Check Wrappers | systematic-wrappers |
| APA Theme | theme_apa |
| beezdemand Plot Theme | theme_beezdemand |
| Tidy a demand-parameter comparison into a flat contrasts frame | tidy.beezdemand_comparison |
| Tidy Method for beezdemand_fixed | tidy.beezdemand_fixed |
| Tidy Method for beezdemand_fixed_grouped | tidy.beezdemand_fixed_grouped |
| Tidy a beezdemand_hurdle Model | tidy.beezdemand_hurdle |
| Tidy method for beezdemand_nlme | tidy.beezdemand_nlme |
| Tidy Method for beezdemand_systematicity | tidy.beezdemand_systematicity |
| Tidy a beezdemand_tmb Model | tidy.beezdemand_tmb |
| Extract coefficients from a linear cross-price model in tidy format | tidy.cp_model_lm |
| Extract coefficients from a mixed-effects cross-price model in tidy format | tidy.cp_model_lmer |
| Convert a cross-price model to a tidy data frame of coefficients | tidy.cp_model_nls |
| Update a beezdemand_tmb fit | update.beezdemand_tmb |
| Random-Effect Variance Components for a TMB Demand Model | VarCorr.beezdemand_tmb |
| Variance-covariance matrix for a beezdemand_hurdle fit | vcov.beezdemand_hurdle |
| Variance-covariance matrix for a beezdemand_tmb fit | vcov.beezdemand_tmb |