Download SOPS User Manual
Transcript
13
Figure 3.3
The POLICYGRID function can take up to three input variables. If you want to
explore policies with more than three inputs you must combine two or more
POLICYGRID functions, use SOPSCUSTOMPOLICY (presented below), or use
combinations of these policies. A three dimensional function is formulated as
POLICYGRID(θ, λ, ϕ1, δ 1, x1, ϕ 2, δ2, x2, ϕ 3, δ3, x3)
where there are three sets of the parameters ϕi and δi together with the respective input
variables xi. Hence, grids can be defined independently in all three directions. In the
three dimensional case the following example shows how the matrix for the policy
parameters θ should be defined. To make the example as simple as possible we use
only two grid points in each dimension; then the dimension is denoted 1..2, 1..2, 1..2 in
the policy variable window. The data for θ is entered in the following way:
{{θ111, θ112},{θ121, θ122},{θ211, θ212},{θ221, θ222}}<<Unit>>
The θ data show up in the following matrix form in SOPS:
x3
x2
x1
ϕ1
ϕ1+δ 1
ϕ3
ϕ2
θ111
θ112
ϕ3
ϕ2+δ 2
θ121
θ122
ϕ3+δ 3
ϕ2
θ211
θ212
ϕ3+δ 3
ϕ2+δ 2
θ221
θ222
Figure 3.4: Matrix of policy parameters from grid policy functions
Using POLICYGRID you define the number of dimensions in Studio and you
cannot change this number when running SOPS. The following grid policy function is
more flexible and allows changes in dimensions when running SOPS.