lin.impulse | R Documentation |
Compute intervention function for an impulse problem wth linear impulse costs
lin.impulse(cur_x, model, fit, ext = FALSE)
cur_x |
Set of inputs where to compute the intervention function Should be a n x 1 vector |
model |
a list containing all model parameters.
In particular must have |
fit |
Object containing the one-step-ahead functional approximator for V(k,x) |
ext |
logical flag (default is FALSE) whether to return extended information |
Calculates the intervention operator for a 1-D impulse control problem.
Assumes linear impulse costs with slope=1. This means that the optimal impulse
target level is independent of current state x and is characterized by the location
where the gradient of fitted value function is equal to 1.
Calls ospPredict
on fit
to find that
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.