transform function

Transform fitted probit model

Transform fitted probit model

Given an object of class RprobitB_fit, this function can:

  • change the length B of the burn-in period,
  • change the the thinning factor Q of the Gibbs samples,
  • change the utility scale.
## S3 method for class 'RprobitB_fit' transform( `_data`, B = NULL, Q = NULL, scale = NULL, check_preference_flip = TRUE, ... )

Arguments

  • _data: An object of class RprobitB_fit.
  • 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 Qth sample is kept.
  • scale: A character which determines the utility scale. It is of the form <parameter> := <value>, where <parameter> is either the name of a fixed effect or Sigma_<j>,<j> for the <j>th diagonal element of Sigma, and <value> is the value of the fixed parameter.
  • check_preference_flip: Set to TRUE to check for flip in preferences after new scale.
  • ...: Ignored.

Returns

The transformed RprobitB_fit object.

Details

See the vignette "Model fitting" for more details: vignette("v03_model_fitting", package = "RprobitB").