Learn R Programming

RMark (version 2.1.1)

convert.link.to.real: Convert link values to real parameters

Description

Computes real parameters from link values

Usage

convert.link.to.real(x, model = NULL, links = NULL, fixed = NULL)

Arguments

x
Link values to be converted to real parameters
model
MARK model object
links
vector of character strings specifying links to use in computation of reals
fixed
vector of fixed values for real parameters that are needed for calculation of reals from mlogits when some are fixed

Value

  • vector of real parameter values

Details

Computation of the real parameter from the link value is relatively straightforward for most links and the function inverse.link is used. The only exception is parameters that use the mlogit link which requires the transformation across sets of parameters. This is a convenience function that does the necessary work to convert from link to real for any set of parameters. The appropriate links are obtained from model$links unless the argument links is specified and they will over-ride those in model.

See Also

inverse.link,compute.real