Processing math: 100%
Parameters.ox
Parameter is the base class for values to optimize over.
Parameter is derived from Quantity to represent variables that are continuous. (Variables in DDP such as states and actions are Discrete.)
THe value of a Parameter is the v
member of the class inherited from Objective. Other members are used to store starting values and to restrict the range the value takes on during optimization.
Click on Hierarchy to see the different kinds of parameters in a logical order.
ParameterBLocks are a derived class for reprsenting a vector of parameters treated together.
Parameters to maxmiize over are added to the Objective before applying an Algorithm which modifies the parameter values.
Global functions
A parameter contained in an open interval L<v<U.
Scale, free value and transformation
$$\eqalign{
s &= \log\left( {v_0-L \over U-v_0} \right)\cr
f &= 1\cr
v &= L+UB {\exp\{sf\}\over 1+\exp\{sf\}\cr
}$$
Warning issued if |v0)-(UB+UB)/2| < NearFlat
|
LB |
const |
AV compatible, the lower bound |
UB |
const |
AV compatible, the upper bound |
|
Bounded |
|
Create a parameter bounded above and below. |
- Inherited methods from Limited:
- Limited
- Inherited methods from Parameter:
- Parameter, ReadCGI, ReInitialize, Reset, SetDoNotVary, ToggleDoNotVary
- Inherited methods from Quantity:
- SetVolume
- Inherited fields from Limited:
- nearflat
- Inherited fields from Parameter:
- block, DoNotConstrain, DoNotVary, f, ival, NearFlat, scale, start
- Inherited fields from Quantity:
- L, logf, pos, track, v, Volume
Parameter bounded from above −∞<v<U.
Scale, free value and transformation
s=log(U−v0)f=1v=U+exp{sf}
Warning issued if |v0)-UB + 1| < NearFlat
|
UB |
const |
AV compatible, the upper bound |
|
BoundedAbove |
|
Create a new parameter bounded above. |
Menu |
virtual |
|
- Inherited methods from Limited:
- Limited
- Inherited methods from Parameter:
- Parameter, ReadCGI, ReInitialize, Reset, SetDoNotVary, ToggleDoNotVary
- Inherited methods from Quantity:
- SetVolume
- Inherited fields from Limited:
- nearflat
- Inherited fields from Parameter:
- block, DoNotConstrain, DoNotVary, f, ival, NearFlat, scale, start
- Inherited fields from Quantity:
- L, logf, pos, track, v, Volume
A parameter bounded from below: L<v<∞.
Scale, free value and transformation
s=log(v0−L)f=1v=L+exp{sf}
Warning issued if |v0)-LB-1| < NearFlat
- Inherited methods from Limited:
- Limited
- Inherited methods from Parameter:
- Parameter, ReadCGI, ReInitialize, Reset, SetDoNotVary, ToggleDoNotVary
- Inherited methods from Quantity:
- SetVolume
- Inherited fields from Limited:
- nearflat
- Inherited fields from Parameter:
- block, DoNotConstrain, DoNotVary, f, ival, NearFlat, scale, start
- Inherited fields from Quantity:
- L, logf, pos, track, v, Volume
Vector of free parameters.
xj = Free()
- Inherited methods from ParameterBlock:
- AddToBlock, BlockCode, Encode, Menu, ParameterBlock, SetDoNotVary, ToggleDoNotVary, Xb
- Inherited methods from Parameter:
- Decode, Parameter, ReadCGI, ReInitialize, Reset
- Inherited methods from Quantity:
- SetVolume
- Inherited fields from ParameterBlock:
- curpar, N, Psi, PsiL
- Inherited fields from Parameter:
- block, DoNotConstrain, DoNotVary, f, ival, NearFlat, scale, start
- Inherited fields from Quantity:
- L, logf, pos, track, v, Volume
Bounded as: -1 < v < 1 .
Equivalence
Correlation(L,v0) ≡ Bounded(L,-1.0,1.0,v0)
)
|
Correlation |
|
Create a new parameter bounded above by 1 and below by -1. |
- Inherited methods from Bounded:
- Bounded
- Inherited methods from Limited:
- Limited
- Inherited methods from Parameter:
- Parameter, ReadCGI, ReInitialize, Reset, SetDoNotVary, ToggleDoNotVary
- Inherited methods from Quantity:
- SetVolume
- Inherited fields from Bounded:
- LB, UB
- Inherited fields from Limited:
- nearflat
- Inherited fields from Parameter:
- block, DoNotConstrain, DoNotVary, f, ival, NearFlat, scale, start
- Inherited fields from Quantity:
- L, logf, pos, track, v, Volume
Vector of parameters that are sequentially decreasing.
x0 = BoundedAbove(UB) or Free()
xj = BoundedAbove(xj-1)
|
Decreasing |
|
Create a decreasing vector of parameters. |
- Inherited methods from Ordered:
- Ordered
- Inherited methods from ParameterBlock:
- AddToBlock, BlockCode, Encode, Menu, ParameterBlock, SetDoNotVary, ToggleDoNotVary, Xb
- Inherited methods from Parameter:
- Decode, Parameter, ReadCGI, ReInitialize, Reset
- Inherited methods from Quantity:
- SetVolume
- Inherited fields from Ordered:
- Anchored, B
- Inherited fields from ParameterBlock:
- curpar, N, Psi, PsiL
- Inherited fields from Parameter:
- block, DoNotConstrain, DoNotVary, f, ival, NearFlat, scale, start
- Inherited fields from Quantity:
- L, logf, pos, track, v, Volume
Vector of J
probabilities that sum to strictly less than 1.
Relationship
x0 = Probability
...
xj = Bounded(0.0,1-∑k=0…j-1 xk)
- Inherited methods from ParameterBlock:
- AddToBlock, Encode, Menu, ParameterBlock, SetDoNotVary, ToggleDoNotVary, Xb
- Inherited methods from Parameter:
- Decode, Parameter, ReadCGI, ReInitialize, Reset
- Inherited methods from Quantity:
- SetVolume
- Inherited fields from ParameterBlock:
- curpar, N, Psi, PsiL
- Inherited fields from Parameter:
- block, DoNotConstrain, DoNotVary, f, ival, NearFlat, scale, start
- Inherited fields from Quantity:
- L, logf, pos, track, v, Volume
Value determined exactly by some other value, not chosen by optimization.
|
Determined |
|
Create a fixed, pre-determined parameter. |
SetDoNotVary |
|
Do nothing because DoNotVary does not change for Determined parameter. |
ToggleDoNotVary |
|
Do nothing because DoNotVary does not toggle for Determined parameter. |
- Inherited methods from Parameter:
- Parameter, ReadCGI, ReInitialize, Reset
- Inherited methods from Quantity:
- SetVolume
- Inherited fields from Parameter:
- block, DoNotConstrain, DoNotVary, f, ival, NearFlat, scale, start
- Inherited fields from Quantity:
- L, logf, pos, track, v, Volume
Vector of values determined exactly by some other value.
|
Decode |
|
|
Encode |
|
Default encoding: no scaling, no constraining. |
FixedBlock |
|
create a new vector of parameters that are not changed by algorithms. |
- Inherited methods from ParameterBlock:
- AddToBlock, BlockCode, Menu, ParameterBlock, SetDoNotVary, ToggleDoNotVary, Xb
- Inherited methods from Parameter:
- Parameter, ReadCGI, ReInitialize, Reset
- Inherited methods from Quantity:
- SetVolume
- Inherited fields from ParameterBlock:
- curpar, N, Psi, PsiL
- Inherited fields from Parameter:
- block, DoNotConstrain, DoNotVary, f, ival, NearFlat, scale, start
- Inherited fields from Quantity:
- L, logf, pos, track, v, Volume
Can take on any real number: −∞<v<∞.
Scale, free value and transformation
$\(s = \cases{ v_0 & \)|v_0| \gt NearFlat\cr
1 & else\cr}\(
\)\(f = \cases{ 1 & \)|v_0| \gt NearFlat\cr
v_0 & else\cr}\(
\)v=sf$
|
Encode |
virtual |
. |
Free |
|
Create a free, unrestricted parameter. |
- Inherited methods from Parameter:
- Parameter, ReadCGI, ReInitialize, Reset, SetDoNotVary, ToggleDoNotVary
- Inherited methods from Quantity:
- SetVolume
- Inherited fields from Parameter:
- block, DoNotConstrain, DoNotVary, f, ival, NearFlat, scale, start
- Inherited fields from Quantity:
- L, logf, pos, track, v, Volume
Vector of parameters that are sequentially increasing.
x0 = BoundedBelow(LB) or Free()
xj = BoundedBelow(xj-1)
|
Increasing |
|
Create an increasing vector of parameters. |
- Inherited methods from Ordered:
- Ordered
- Inherited methods from ParameterBlock:
- AddToBlock, BlockCode, Encode, Menu, ParameterBlock, SetDoNotVary, ToggleDoNotVary, Xb
- Inherited methods from Parameter:
- Decode, Parameter, ReadCGI, ReInitialize, Reset
- Inherited methods from Quantity:
- SetVolume
- Inherited fields from Ordered:
- Anchored, B
- Inherited fields from ParameterBlock:
- curpar, N, Psi, PsiL
- Inherited fields from Parameter:
- block, DoNotConstrain, DoNotVary, f, ival, NearFlat, scale, start
- Inherited fields from Quantity:
- L, logf, pos, track, v, Volume
Container for parameters are neither Free nor Determined.
|
nearflat |
|
starting value is near the flat spot of the transformation. |
|
Limited |
|
. |
- Inherited methods from Parameter:
- Decode, Encode, Menu, Parameter, ReadCGI, ReInitialize, Reset, SetDoNotVary, ToggleDoNotVary
- Inherited methods from Quantity:
- SetVolume
- Inherited fields from Parameter:
- block, DoNotConstrain, DoNotVary, f, ival, NearFlat, scale, start
- Inherited fields from Quantity:
- L, logf, pos, track, v, Volume
Bounded from above by 0.
Equivalence
Negative(L,v0) ≡ BoundedAbove(L,0.0)
|
Negative |
|
Create a parameter bounded above by 0. |
- Inherited methods from BoundedAbove:
- BoundedAbove, Menu
- Inherited methods from Limited:
- Limited
- Inherited methods from Parameter:
- Parameter, ReadCGI, ReInitialize, Reset, SetDoNotVary, ToggleDoNotVary
- Inherited methods from Quantity:
- SetVolume
- Inherited fields from BoundedAbove:
- UB
- Inherited fields from Limited:
- nearflat
- Inherited fields from Parameter:
- block, DoNotConstrain, DoNotVary, f, ival, NearFlat, scale, start
- Inherited fields from Quantity:
- L, logf, pos, track, v, Volume
|
Anchored |
const |
list is anchored . |
B |
const |
AV compatible, bound for first value. |
|
Ordered |
|
Create a block with parameters that maintain an order. |
- Inherited methods from ParameterBlock:
- AddToBlock, BlockCode, Encode, Menu, ParameterBlock, SetDoNotVary, ToggleDoNotVary, Xb
- Inherited methods from Parameter:
- Decode, Parameter, ReadCGI, ReInitialize, Reset
- Inherited methods from Quantity:
- SetVolume
- Inherited fields from ParameterBlock:
- curpar, N, Psi, PsiL
- Inherited fields from Parameter:
- block, DoNotConstrain, DoNotVary, f, ival, NearFlat, scale, start
- Inherited fields from Quantity:
- L, logf, pos, track, v, Volume
Two or more parameters whose ranges interact or are related for some other reason.
- Inherited methods from Parameter:
- Decode, Parameter, ReadCGI, ReInitialize, Reset
- Inherited methods from Quantity:
- SetVolume
- Inherited fields from Parameter:
- block, DoNotConstrain, DoNotVary, f, ival, NearFlat, scale, start
- Inherited fields from Quantity:
- L, logf, pos, track, v, Volume
Parameter Bounded from below by 0.
Equivalence
Positive(L,v0) ≡ BoundedBelow(L,0,v0)
|
Positive |
|
Create a parameter bounded below by 0. |
- Inherited methods from BoundedBelow:
- BoundedBelow
- Inherited methods from Limited:
- Limited
- Inherited methods from Parameter:
- Parameter, ReadCGI, ReInitialize, Reset, SetDoNotVary, ToggleDoNotVary
- Inherited methods from Quantity:
- SetVolume
- Inherited fields from BoundedBelow:
- LB
- Inherited fields from Limited:
- nearflat
- Inherited fields from Parameter:
- block, DoNotConstrain, DoNotVary, f, ival, NearFlat, scale, start
- Inherited fields from Quantity:
- L, logf, pos, track, v, Volume
Vector of Probabilities.
xj = Probability()
|
Probabilities |
|
Create a block of parameters all constrained to be probabilities. |
- Inherited methods from ParameterBlock:
- AddToBlock, BlockCode, Encode, Menu, ParameterBlock, SetDoNotVary, ToggleDoNotVary, Xb
- Inherited methods from Parameter:
- Decode, Parameter, ReadCGI, ReInitialize, Reset
- Inherited methods from Quantity:
- SetVolume
- Inherited fields from ParameterBlock:
- curpar, N, Psi, PsiL
- Inherited fields from Parameter:
- block, DoNotConstrain, DoNotVary, f, ival, NearFlat, scale, start
- Inherited fields from Quantity:
- L, logf, pos, track, v, Volume
Bounded as: 0 < v < 1 .
Equivalence
Probability(L,v0) &equiv Bounded(L,0.0,1.0)
|
Probability |
|
Create a new parameter bounded above by 1 and below by 0. |
- Inherited methods from Bounded:
- Bounded
- Inherited methods from Limited:
- Limited
- Inherited methods from Parameter:
- Parameter, ReadCGI, ReInitialize, Reset, SetDoNotVary, ToggleDoNotVary
- Inherited methods from Quantity:
- SetVolume
- Inherited fields from Bounded:
- LB, UB
- Inherited fields from Limited:
- nearflat
- Inherited fields from Parameter:
- block, DoNotConstrain, DoNotVary, f, ival, NearFlat, scale, start
- Inherited fields from Quantity:
- L, logf, pos, track, v, Volume
Vector of J
probabilities that sum to 1.
x0 = Probability
xj = Bounded(0.0,1-∑k=0…j-1 xk)
⋮
xJ = Determined(1-∑xj)
- See also:
- TransitionMatrix
|
fval |
|
final value, used for cumulating. |
|
Last |
static |
|
Simplex |
|
Create a simplex of parameters. |
- Inherited methods from ParameterBlock:
- AddToBlock, Encode, Menu, ParameterBlock, SetDoNotVary, ToggleDoNotVary, Xb
- Inherited methods from Parameter:
- Decode, Parameter, ReadCGI, ReInitialize, Reset
- Inherited methods from Quantity:
- SetVolume
- Inherited fields from ParameterBlock:
- curpar, N, Psi, PsiL
- Inherited fields from Parameter:
- block, DoNotConstrain, DoNotVary, f, ival, NearFlat, scale, start
- Inherited fields from Quantity:
- L, logf, pos, track, v, Volume
Positive Vector.
xj = Positive()
- Inherited methods from ParameterBlock:
- AddToBlock, BlockCode, Encode, Menu, ParameterBlock, SetDoNotVary, ToggleDoNotVary, Xb
- Inherited methods from Parameter:
- Decode, Parameter, ReadCGI, ReInitialize, Reset
- Inherited methods from Quantity:
- SetVolume
- Inherited fields from ParameterBlock:
- curpar, N, Psi, PsiL
- Inherited fields from Parameter:
- block, DoNotConstrain, DoNotVary, f, ival, NearFlat, scale, start
- Inherited fields from Quantity:
- L, logf, pos, track, v, Volume
Global
NormalDistParmeters
NormalDistParmeters ( L , ivals )
-
Create an array of Normal Distribution parameters and return it.
This does not create a ParameterBlock. It creates separate parameter objects and returns the array of them.
It can be sent to Normal() related functions/objects that require a pars
vector or array.
- Parameters:
-
L |
Label prefix for the parameters
|
ivals |
initial values vector see NormalParams
default is <0.0;1.0>, which means parameters start as standard normal
if ivals has three elements the last is the correlation coefficient ρ
|
- See also:
- NormalParams
TransitionMatrix
TransitionMatrix ( L , imat )
-
Create an array of Simplex blocks that act as a transition matrix.
- Parameters:
-
L |
label
|
inmat |
a square matrix of initial values for the transitions.
Each column of inmat should be a proper transition (not each row).
|
- Example:
- Create a 3x3 transition matrix, where the current state is the column and the next state is the row.
Initialize the transition but make the transition an array of Simplex blocs that can be controlled by an optimization routine.
decl tmat =< 0.90 ~ 0.09 ~0.05;
0.02 ~ 0.80 ~0.3;
0.08 ~ 0.01 ~0.11>
decl m = TransitionMatrix("p",tmat);
Parameters(m);
println("The current Markov transition matrix is ", CV(m));
- see Markov State Variable
Bounded
Bounded
Bounded :: Bounded ( L , LB , UB , v0 )
-
Create a parameter bounded above and below.
- Parameters:
-
L |
parameter label
|
LB |
static function, double or Parameter, the lower bound
|
UB |
static function, double or Parameter, the upper bound
|
v0 |
CV compatible default value, v0 |
LB
const decl LB [public]
-
AV compatible, the lower bound
UB
const decl UB [public]
-
AV compatible, the upper bound
BoundedAbove
BoundedAbove
BoundedAbove :: BoundedAbove ( L , UB , v0 )
-
Create a new parameter bounded above.
- Parameters:
-
L |
parameter label
|
LB |
double or Parameter, the upper bound
|
v0 |
CV compatible default value, v0
|
Menu
virtual BoundedAbove :: Menu ( fp )
-
UB
const decl UB [public]
-
AV compatible, the upper bound
BoundedBelow
BoundedBelow
BoundedBelow :: BoundedBelow ( L , LB , v0 )
-
A parameter bounded below.
- Parameters:
-
L |
parameter label
|
LB |
double or CV-compatible object, the lower bound
|
v0 |
CV compatible default value, v0
|
LB
const decl LB [public]
-
AV compatible, the lower bound
Coefficients
Coefficients
Coefficients :: Coefficients ( L , ivals , labels )
-
Create a block of free parameters.
- Parameters:
-
L |
label for the block (e.g. the equation)
|
ivals |
0: set to length of labels and initialize values to 0 > 0: number of coefficients, initialize to 0
|
labels |
0: use numbers for labels array of strings, labels for coefficients (e.g. variable names)
vector: initial values |
Correlation
Correlation
Correlation :: Correlation ( L , v0 )
-
Create a new parameter bounded above by 1 and below by -1.
- Parameters:
-
L |
parameter label
|
v0 |
CV compatible default value, v0
|
- See also:
- Bounded
Decreasing
Decreasing
Decreasing :: Decreasing ( L , UB , ivals , Anchored )
-
Create a decreasing vector of parameters.
LB < x1 > x2 > … > xN
- Parameters:
-
L |
label
|
UB |
upper bound for first variable, a double, CV comptible. send .Inf to make the first parameter free
|
ivals |
integer, dimension of sequence OR N×1 vector of initial values
|
Anchored |
TRUE, UB should be the first element of the block (as a Determined parameter)
|
DecreasingReturns
DecreasingReturns
DecreasingReturns :: DecreasingReturns ( L , ivals )
-
Create a block of decreasing returns to scale coefficients.
- Parameters:
-
L |
label
|
ivals |
N×1 vector, initial values
- Cross-parameter restrictions
0< xi < 1
∑i=9…N-1 xi < 1.
All elements |
Determined
Determined
Determined :: Determined ( L , v0 )
-
Create a fixed, pre-determined parameter.
- Parameters:
-
L |
string
|
v0 |
double, initial value, current value determined by something else CV compatible default value, v0 |
SetDoNotVary
Determined :: SetDoNotVary ( setting )
-
Do nothing because DoNotVary does not change for Determined parameter.
ToggleDoNotVary
Determined :: ToggleDoNotVary ( )
-
Do nothing because DoNotVary does not toggle for Determined parameter.
FixedBlock
Decode
-
Encode
FixedBlock :: Encode ( )
-
Default encoding: no scaling, no constraining.
v = start;
scale = 1.0;
f = v;
- Returns:
- v
FixedBlock
FixedBlock :: FixedBlock ( L , v0 )
-
create a new vector of parameters that are not changed by algorithms.
- Parameters:
-
L |
label
|
v0 |
vector or array of values. |
Free
Encode
virtual Free :: Encode ( )
-
.
Free
Free :: Free ( L , v0 )
-
Create a free, unrestricted parameter.
- Parameters:
-
L |
parameter label
|
v0 |
CV compatible default value |
Increasing
Increasing
Increasing :: Increasing ( L , LB , ivals , Anchored )
-
Create an increasing vector of parameters.
LB < x1 < x2 < … < xN
- Parameters:
-
L |
label
|
LB |
lower bound for first variable, a double, Parameter or static function send -.Inf to make the first parameter free
|
ivals |
integer, dimension of sequence OR N×1 vector of initial values
|
Anchored |
TRUE, LB should be the first element of the block (as a Determined parameter)
|
Limited
Limited
Limited :: Limited ( L , v0 )
-
.
nearflat
decl nearflat [public]
-
starting value is near the flat spot of the transformation.
Negative
Negative
Negative :: Negative ( L , v0 )
-
Create a parameter bounded above by 0.
- Parameters:
-
L |
parameter label
|
v0 |
CV compatible default value, v0
|
- See also:
- BoundedBelow
Ordered
Anchored
const decl Anchored [public]
-
list is anchored .
B
const decl B [public]
-
AV compatible, bound for first value.
Ordered
Ordered :: Ordered ( L , B , ivals , sign , Anchored )
-
Create a block with parameters that maintain an order.
- Parameters:
-
L |
label
|
B |
CV-compatible bound or Determined parameter (can be -∞ or +∞)
|
ivals |
vector of initial values scalar number of ordered elements (not counting Anchor)
|
sign |
ordering
|
Anchored |
if TRUE the first element of the block is B |
ParameterBlock
AddToBlock
ParameterBlock :: AddToBlock ( ... )
-
Append parameter to the block.
- Parameters:
-
BlockCode
virtual ParameterBlock :: BlockCode ( )
-
Default update for an unstructured block of parameters.
The default is to simply increment
curpar
(and reset 0 when it reaches N).
curpar
decl curpar [public]
-
current param in V.
Encode
virtual ParameterBlock :: Encode ( )
-
Default encoding: no scaling, no constraining.
v = start;
scale = 1.0;
f = v;
- Returns:
- v
Menu
virtual ParameterBlock :: Menu ( fp )
-
N
decl N [public]
-
length of block.
ParameterBlock
ParameterBlock :: ParameterBlock ( L , ... )
-
Create a new block of related Parameters.
- Parameters:
-
L |
string Label for block
|
... |
a list of parameters to add to the block
if only one argument is supplied it should be an array of parameters. |
Psi
decl Psi [public]
-
array of parameters .
PsiL
decl PsiL [public]
-
array of labels.
SetDoNotVary
ParameterBlock :: SetDoNotVary ( setting )
-
Set the value of DoNotVary.
- Parameters:
-
ToggleDoNotVary
ParameterBlock :: ToggleDoNotVary ( elements )
-
Toggle DoNotVary for All or some block elements.
- Parameters:
-
elements |
DoAll or a vector of parameter indices |
Xb
ParameterBlock :: Xb ( X )
-
Return Xβ=X∗CV(beta).
- Parameters:
-
X |
row vector or matrix conforming to the coefficient vector.
|
- Returns:
- X∗CV(this).
Positive
Positive
Positive :: Positive ( L , v0 )
-
Create a parameter bounded below by 0.
- Parameters:
-
L |
parameter label
|
v0 |
CV compatible default value, v0
|
Probabilities
Probabilities
Probabilities :: Probabilities ( L , ivals , labels )
-
Create a block of parameters all constrained to be probabilities.
- Parameters:
-
L |
label for the block
|
ivals |
0: set to length of labels and initialize values to 0 > 0: number of postivie parameters, initialize to 1.0
vector: initial values
|
labels |
0: use numbers for labels array of strings, labels for values (e.g. variable names)
|
- See also:
- Simplex
Probability
Probability
Probability :: Probability ( L , v0 )
-
Create a new parameter bounded above by 1 and below by 0.
- Parameters:
-
L |
parameter label
|
v0 |
CV compatible default value, v0
|
- See also:
- Bounded
Simplex
fval
decl fval [public]
-
final value, used for cumulating.
Last
static Simplex :: Last ( )
-
Simplex
Simplex :: Simplex ( L , ivals )
-
Create a simplex of parameters.
- Parameters:
-
L |
label
|
ivals |
integer: dimension of simplex initialized as equal values 1/N
N×1 vector, initial values
- Cross-parameter restrictions
0 < x0 < 1
0 < x1 < x0
⋮
0 < xi < ∑j=0…i-1 xj
xN-1 = 1 - ∑j=0…N-2 xj
The first N-1 elements of the block are Bounded parameters. The final one is Determined. |
StDeviations
StDeviations
StDeviations :: StDeviations ( L , ivals , labels )
-
Create a block of positive parameters.
- Parameters:
-
L |
label for the block
|
ivals |
0: set to length of labels and initialize all values at 1 > 0: number of positive parameters, initialize to 1.25
vector: initial values
|
labels |
0: use numbers for labels array of strings, labels for values (e.g. variable names)
For example, a vector of standard deviations. |