View source: R/model_fitting.R
update.RprobitB_fit | R Documentation |
This function estimates a nested probit model based on a given
RprobitB_fit
object.
## S3 method for class 'RprobitB_fit'
update(
object,
form,
re,
alternatives,
id,
idc,
standardize,
impute,
scale,
R,
B,
Q,
print_progress,
prior,
latent_classes,
seed,
...
)
object |
An object of class |
form |
A
Multiple covariates (of one type) are separated by a In the ordered probit model ( |
re |
A character (vector) of covariates of |
alternatives |
A character vector with the names of the choice alternatives.
If not specified, the choice set is defined by the observed choices.
If |
id |
A character, the name of the column in |
idc |
A character, the name of the column in |
standardize |
A character vector of names of covariates that get standardized.
Covariates of type 1 or 3 have to be addressed by
|
impute |
A character that specifies how to handle missing covariate entries in
|
scale |
A character which determines the utility scale. It is of the form
|
R |
The number of iterations of the Gibbs sampler. |
B |
The length of the burn-in period, i.e. a non-negative number of samples to be discarded. |
Q |
The thinning factor for the Gibbs samples, i.e. only every |
print_progress |
A boolean, determining whether to print the Gibbs sampler progress and the estimated remaining computation time. |
prior |
A named list of parameters for the prior distributions. See the documentation
of |
latent_classes |
Either
|
seed |
Set a seed for the Gibbs sampling. |
... |
Ignored. |
All parameters (except for object
) are optional and if not specified
retrieved from the specification for object
.
An object of class RprobitB_fit
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.