constant {PointFore} | R Documentation |
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).
constant(stateVariable, theta, ...)
stateVariable |
state variable |
theta |
parameter |
... |
... |
numeric level
Other specification models: logistic_linear
,
probit_break
, probit_linear
,
probit_spline2
,
probit_spline3
# 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)