pi_compute {COMMA} | R Documentation |
Compute Probability of Each True Outcome, for Every Subject
Description
Compute Probability of Each True Outcome, for Every Subject
Usage
pi_compute(beta, X, n, n_cat)
Arguments
beta |
A numeric column matrix of regression parameters for the
|
X |
A numeric design matrix. |
n |
An integer value specifying the number of observations in the sample.
This value should be equal to the number of rows of the design matrix, |
n_cat |
The number of categorical values that the true outcome, |
Value
pi_compute
returns a matrix of probabilities,
for each of the
n
subjects. Rows of the matrix
correspond to each subject. Columns of the matrix correspond to the true outcome
categories
n_cat
.
[Package COMMA version 1.0.0 Index]