constant {PointFore} | R Documentation |
Constant specification model
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
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
# 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)
[Package PointFore version 0.2.0 Index]