This vignette1 is dedicated to introduce the probit model that is implemented in {RprobitB}.

## The probit model

The probit model2 is a regression-type model where the dependent variable only takes a finite number of values and the error term is normally distributed (Agresti 2015). Its purpose is to estimate the probability that the dependent variable takes a certain, discrete value. The most common application are discrete choice scenarios. The dependent variable here is one of finitely many and mutually exclusive alternatives (that are not ordered), and explanatory variables typically are characteristics of the deciders or the alternatives.

To be concrete, assume that we possess data of $$N$$ decision makers which choose between $$J \geq 2$$ alternatives3 at each of $$T$$ choice occasions4. Specific to each decision maker, alternative and choice occasion, we furthermore observe $$P$$ choice attributes that we use to explain the choices. The continuous choice attributes cannot be linked directly to the discrete choices but must take a detour over a latent variable. In the discrete choice setting, this variable can be interpreted as the decider’s utility of a certain alternative. Decider $$n$$’s utility $$U_{ntj}$$ for alternative $$j$$ at choice occasion $$t$$ is modeled as

$\begin{equation} U_{ntj} = X_{ntj}'\beta + \epsilon_{ntj} \end{equation}$

for $$n=1,\dots,N$$, $$t=1,\dots,T$$ and $$j=1,\dots,J$$, where

• $$X_{ntj}$$ is a (column) vector of $$P$$ characteristics of $$j$$ as faced by $$n$$ at $$t$$,

• $$\beta \in {\mathbb R}^{P}$$ is a vector of coefficients,

• and $$(\epsilon_{nt:}) = (\epsilon_{nt1},\dots,\epsilon_{ntJ})' \sim \text{MVN}_{J} (0,\Sigma)$$ is the model’s error term vector for $$n$$ at $$t$$, which in the probit model is assumed to be multivariate normally distributed with zero mean and covariance matrix $$\Sigma$$.

Now let $$y_{nt}=j$$ denote the event that decision maker $$n$$ chooses alternative $$j$$ at choice occasion $$t$$. Assuming utility maximizing behavior of the decision makers5, the decisions are linked to the utilities via

$\begin{equation} y_{nt} = {\arg \max}_{j = 1,\dots,J} U_{ntj}. \end{equation}$

## Choice behavior heterogeneity

Note that the coefficient vector $$\beta$$ in the above definition is constant across decision makers. This assumption is too restrictive for many applications.6 Heterogeneity in choice behavior can be modeled by imposing a distribution on $$\beta$$ such that each decider can have their own preferences.

Formally, we define $$\beta = (\alpha, \beta_n)$$, where $$\alpha$$ are $$P_f$$ coefficients that are constant across deciders and $$\beta_n$$ are $$P_r$$ decider-specific coefficients. Consequently, $$P = P_f + P_r$$. Now if $$P_r>0$$, $$\beta_n$$ is distributed according to some $$P_r$$-variate distribution, the so-called mixing distribution.

Choosing an appropriate mixing distribution is a notoriously difficult task of the model specification. In many applications, different types of standard parametric distributions (including the normal, log-normal, uniform and tent distribution) are tried in conjunction with a likelihood value-based model selection, cf. Train (2009), Chapter 6. Instead, {RprobitB} implements the approach of (Oelschläger and Bauer 2020) to approximate any underlying mixing distribution by a mixture of (multivariate) Gaussian densities. More precisely, the underlying mixing distribution $$g_{P_r}$$ for the random coefficients $$(\beta_n)_{n}$$ is approximated by a mixture of $$P_r$$-variate normal densities $$\phi_{P_r}$$ with mean vectors $$b=(b_c)_{c}$$ and covariance matrices $$\Omega=(\Omega_c)_{c}$$ using $$C$$ components, i.e.

$\begin{equation} \beta_n\mid b,\Omega \sim \sum_{c=1}^{C} s_c \phi_{P_r} (\cdot \mid b_c,\Omega_c). \end{equation}$

Here, $$(s_c)_{c}$$ are weights satisfying $$0 < s_c\leq 1$$ for $$c=1,\dots,C$$ and $$\sum_c s_c=1$$. One interpretation of the latent class model is obtained by introducing variables $$z=(z_n)_n$$, allocating each decision maker $$n$$ to class $$c$$ with probability $$s_c$$, i.e.

$\begin{equation} \text{Prob}(z_n=c)=s_c \land \beta_n \mid z,b,\Omega \sim \phi_{P_r}(\cdot \mid b_{z_n},\Omega_{z_n}). \end{equation}$

We call the resulting model the latent class mixed multinomial probit model. Note that the model collapses to the (normally) mixed multinomial probit model if $$P_r>0$$ and $$C=1$$, to the multinomial probit model if $$P_r=0$$ and to the binary probit model if additionally $$J=2$$.

## Model normalization

As is well known, any utility model needs to be normalized with respect to level and scale in order to be identified (Train 2009). Therefore, we consider the transformed model

$\begin{equation} \tilde{U}_{ntj} = \tilde{X}_{ntj}' \beta + \tilde{\epsilon}_{ntj}, \end{equation}$

$$n=1,\dots,N$$, $$t=1,\dots,T$$ and $$j=1,\dots,J-1$$, where (choosing $$J$$ as the reference alternative) $$\tilde{U}_{ntj} = U_{ntj} - U_{ntJ}$$, $$\tilde{X}_{ntj} = X_{ntj} - X_{ntJ}$$, and $$\tilde{\epsilon}_{ntj} = \epsilon_{ntj} - \epsilon_{ntJ}$$, where $$(\tilde{\epsilon}_{nt:}) = (\tilde{\epsilon}_{nt1},...,\tilde{\epsilon}_{nt(J-1)})' \sim \text{MVN}_{J-1} (0,\tilde{\Sigma})$$ and $$\tilde{\Sigma}$$ denotes a covariance matrix with the top-left element restricted to one.7

## Parameter labels in {RprobitB}

In {RprobitB}, the probit model parameters are saved as an RprobitB_parameter object. Their labels are consistent with their definition in this vignette. For example:

RprobitB:::RprobitB_parameter(
P_f   = 1,
P_r   = 2,
J     = 3,
N     = 10,
C     = 2,          # the number of latent classes
alpha = c(1),       # the fixed coefficient vector of length P_f
s     = c(0.6,0.4), # the vector of class weights of length C
b     = matrix(c(-1,1,1,2), nrow = 2, ncol = 2),
# the matrix of class means as columns of dimension P_r x C
Omega = matrix(c(diag(2),0.1*diag(2)), nrow = 4, ncol = 2),
# the matrix of class covariance matrices as columns of dimension P_r^2 x C
Sigma = diag(2),    # the differenced error term covariance matrix of dimension (J-1) x (J-1)
# the undifferenced error term covariance matrix is labeled 'Sigma_full'
z     = rep(1:2,5)  # the vector of the allocation variables of length N
)
#> RprobitB model parameter
#>
#> alpha : 1
#>
#> C : 2
#>
#> s : double vector of length 2
#>
#> 0.6 0.4
#>
#> b : 2 x 2 matrix of doubles
#>
#>      [,1] [,2]
#> [1,]   -1    1
#> [2,]    1    2
#>
#>
#> Omega : 4 x 2 matrix of doubles
#>
#>      [,1] [,2]
#> [1,]    1  0.1
#> [2,]    0  0.0
#> [3,]    0  0.0
#> [4,]    1  0.1
#>
#>
#> Sigma : 2 x 2 matrix of doubles
#>
#>      [,1] [,2]
#> [1,]    1    0
#> [2,]    0    1
#>
#>
#> Sigma_full : 3 x 3 matrix of doubles
#>
#>      [,1] [,2] [,3]
#> [1,]    2    1    1
#> [2,]    1    2    1
#> [3,]    1    1    1
#>
#>
#> beta : 2 x 10 matrix of doubles
#>
#>         [,1]   [,2]    [,3] ...  [,10]
#> [1,] -0.4895 1.5819 -1.1510 ... 1.0181
#> [2,]  2.2047 1.8404  2.0268 ... 2.0800
#>
#>
#> z : integer vector of length 10
#>
#> 1 2 1 ... 2

Mind that the matrix Sigma_full is not unique and can be any matrix that results into Sigma after the differencing, see the non-exported function RprobitB:::undiff_Sigma().

Agresti, A. 2015. Foundations of Linear and Generalized Linear Models. Wiley.

Bliss, C. I. 1934. “The Method of Probits.” Science 79 (2037): 38–39. https://doi.org/10.1126/science.79.2037.38.

Hewig, J., N. Kretschmer, R. H. Trippe, H. Hecht, M. G. H. Coles, C. B. Holroyd, and W. H. R. Miltner. 2011. “Why Humans Deviate from Rational Choice.” Psychophysiology 48 (4): 507–14. https://doi.org/10.1111/j.1469-8986.2010.01081.x.

Oelschläger, L., and D. Bauer. 2020. “Bayes Estimation of Latent Class Mixed Multinomial Probit Models.” TRB Annual Meeting 2021.

Train, K. 2009. Discrete Choice Methods with Simulation. 2. ed. Cambridge Univ. Press.