constant: Constant specification model

Description Usage Arguments Value See Also Examples

Description

All specification models can be used as parameter in estimate.functional. Specification models are used to denote the quantile or expectile level (depending on the identification function). The constant specification model returns the parameter theta irrespective of the state variable. If theta is not in the unit interval, the constant specification model returns 0 or 1 (depending on which is closer).

Usage

1
constant(stateVariable, theta, ...)

Arguments

stateVariable

state variable

theta

parameter

...

...

Value

numeric level

See Also

Other specification models: logistic_linear, probit_break, probit_linear, probit_spline2, probit_spline3

Examples

1
2
3
4
5
6
7
# the returned level does not depend on the state variable
constant(0,.5)
constant(1,.5)

# if theta is not in the unit interval, the constant specification model forces it to be so
constant(0, 2)
constant(0, -1)

PointFore documentation built on May 2, 2019, 9:42 a.m.