Description Usage Arguments Details Value Author(s) See Also
Optimise a sequential normal decision problem constructed by a call to
the function sequential.normal.dp
.
1 2 | optimise.sequential.normal.eu(dp, range, step.size,
prior.mean = 0, n.sims = 1000, plot.results = TRUE)
|
dp |
A sequential normal decision problem created by a call to |
range |
The range of the one-dimensional grid for the state. All grid points
will lie in the interval
|
step.size |
The step size between the grid points for the state. |
prior.mean |
Defines the mid-point of the grid for the state. |
n.sims |
The number of random draws for simulations used to estimate the expected utility for a decision at each stage. |
plot.results |
If |
The plot has the stage number on the x-axis. The y-axis levels of the points (one for each stage) shows the cutoff levels for when it is optimal to continue (for all but the last stage) or finalise (for the last stage). It will be optimal to continue or finalise if the posterior mean of the parameter at a given stage is above the level of the point at that stage.
If no cutoff point can be established in the interior of the region
defined by the interval
I = c(prior.mean - range / 2, prior.mean + range / 2)
, then a
cross will be used instead of a circle to indicate the level of the
stage. If the cross is located at prior.mean + range / 2
, it is
optimal to continue for no state in I. If the cross is located at
prior.mean - range / 2
, it is optimal to continue for all states in I.
A list with components
opt.decision |
Function taking a stage and a state into the optimal decision corresponding to the closest grid point at that stage. |
opt.utility |
Function taking a stage and a state into the optimal expected utility corresponding to the closest grid point at that stage. |
Sebastian Jobj<f6>rnsson jobjorns@chalmers.se
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.