View source: R/RprobitB_normalization.R
| RprobitB_normalization | R Documentation |
This function creates an object of class RprobitB_normalization,
which defines the utility scale and level.
RprobitB_normalization(
level,
scale = "Sigma_1,1 := 1",
form,
re = NULL,
alternatives,
base,
ordered = FALSE
)
## S3 method for class 'RprobitB_normalization'
print(x, ...)
level |
[ |
scale |
[ |
form |
[
Multiple covariates (of one type) are separated by a In the ordered probit model ( |
re |
[ |
alternatives |
[ If |
base |
[ Ignored and set to By default, |
ordered |
[ |
x |
An object of class |
... |
Currently not used. |
Utility models require normalization with respect to level and scale.
For level normalization, {RprobitB} takes utility differences
with respect to one alternative. For the ordered model where only
one utility is modelled, {RprobitB} fixes the first utility
threshold to 0.
For scale normalization, {RprobitB} fixes one model parameter.
Per default, the first error-term variance is fixed to 1.
This is specified via scale = "Sigma_1,1 := 1".
Alternatively, any error-term variance or any non-random coefficient
can be fixed.
An object of class RprobitB_normalization, which is a list of
level, a list with the elements level (the number of the
alternative specified by the input level) and name (the name of
the alternative, i.e. the input level), or alternatively
NA in the ordered probit case,
and scale, a list with the elements parameter (either "s" for
an element of Sigma or "a" for an element of alpha), the
parameter index, and the fixed value. If parameter = "a", also
the name of the fixed effect.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.