multinomineq0.2.6 package

Bayesian Inference for Multinomial Models with Inequality Constraints

strategy_unique

Unique Patterns/Item Types of Strategy Predictions

V_to_Ab

Transform Vertex/Inequality Representation of Polytope

Ab_drop_fixed

Drop fixed columns in the Ab-Representation

Ab_max

Automatic Construction of Ab-Representation for Common Inequality Cons...

Ab_multinom

Get Constraints for Product-Multinomial Probabilities

Ab_sort

Sort Inequalities by Acceptance Rate

bf_binom

Bayes Factor for Linear Inequality Constraints

bf_equality

Bayes Factor with Inequality and (Approximate) Equality Constraints

bf_nonlinear

Bayes Factor for Nonlinear Inequality Constraints

binom_to_multinom

Converts Binary to Multinomial Frequencies

count_binom

Count How Many Samples Satisfy Linear Inequalities (Binomial)

count_multinom

Count How Many Samples Satisfy Linear Inequalities (Multinomial)

count_to_bf

Compute Bayes Factor Using Prior/Posterior Counts

drop_fixed

Drop or Add Fixed Dimensions for Multinomial Probabilities/Frequencies

find_inside

Find a Point/Parameter Vector Within a Convex Polytope

inside

Check Whether Points are Inside a Convex Polytope

inside_binom

Check Whether Choice Frequencies are in Polytope

ml_binom

Maximum-likelihood Estimate

model_weights

Get Posterior/NML Model Weights

multinomineq-package

multinomineq: Bayesian Inference for Inequality-Constrained Multinomia...

nirt_to_Ab

Nonparametric Item Response Theory (NIRT)

population_bf

Aggregation of Individual Bayes Factors

postprob

Transform Bayes Factors to Posterior Model Probabilities

ppp_binom

Posterior Predictive p-Values

rpbinom

Random Generation for Independent Multinomial Distributions

rpdirichlet

Random Samples from the Product-Dirichlet Distribution

sampling_multinom

Posterior Sampling for Inequality-Constrained Multinomial Models

sampling_nonlinear

Posterior Sampling for Multinomial Models with Nonlinear Inequalities

stochdom_Ab

Ab-Representation for Stochastic Dominance of Histogram Bins

stochdom_bf

Bayes Factor for Stochastic Dominance of Continuous Distributions

strategy_marginal

Log-Marginal Likelihood for Decision Strategy

strategy_multiattribute

Strategy Predictions for Multiattribute Decisions

strategy_postprob

Strategy Classification: Posterior Model Probabilities

strategy_to_Ab

Transform Pattern of Predictions to Polytope

Implements Gibbs sampling and Bayes factors for multinomial models with linear inequality constraints on the vector of probability parameters. As special cases, the model class includes models that predict a linear order of binomial probabilities (e.g., p[1] < p[2] < p[3] < .50) and mixture models assuming that the parameter vector p must be inside the convex hull of a finite number of predicted patterns (i.e., vertices). A formal definition of inequality-constrained multinomial models and the implemented computational methods is provided in: Heck, D.W., & Davis-Stober, C.P. (2019). Multinomial models with linear inequality constraints: Overview and improvements of computational methods for Bayesian inference. Journal of Mathematical Psychology, 91, 70-87. <doi:10.1016/j.jmp.2019.03.004>. Inequality-constrained multinomial models have applications in the area of judgment and decision making to fit and test random utility models (Regenwetter, M., Dana, J., & Davis-Stober, C.P. (2011). Transitivity of preferences. Psychological Review, 118, 42–56, <doi:10.1037/a0021150>) or to perform outcome-based strategy classification to select the decision strategy that provides the best account for a vector of observed choice frequencies (Heck, D.W., Hilbig, B.E., & Moshagen, M. (2017). From information processing to decisions: Formalizing and comparing probabilistic choice models. Cognitive Psychology, 96, 26–40. <doi:10.1016/j.cogpsych.2017.05.003>).