Data objects store realizations along the path of the program. Unlike other spaces (e.g. the group space \(\Gamma\) and the state space \(\Theta\)), multiple instances of different types of data can be stored simultaneously. That is, there can be more than one data space
.
|
The basis of simulation, prediction, and data. | ||||||||
|
Data generated from following a realized DP and estimation based on maximum likelihood. | ||||||||
|
Data based on average or expected results over multiple DP realizations and estimation based on GMM. |
Outcome
and Prediction
are the lowest level classes, the corresponding highest ones are OutcomeDataSet and PredictionDataSet.
As discussed elsewhere, the user codes MyModel
as a class derived from one of the pre-defined Bellman classes. In contrast, Outcome is designed to be generic so that it can be used for whatever model or data the program uses. A user does not define their own derived class to store outcomes. Only one model can be active in DDP because static
data members are used, but multiple data sets can be stored at once. This can be useful when comparing two solution methods applied to one model or two estimation methods applied to two different data sets.
Outcomes are related to points in the state space \(\Theta\), but they are treated distinctly in niqlow. The state space is coded to minimize storage and calculations while solving a model. On the other hand, outcomes are designed to track everything relevant to results of the DDP, and memory would be exhausted if outcomes were defined and stored for each possible state. It would be inefficient to store all potential outcomes when only one can be realized at each point in a single DP process.
A single point in the state space \(\theta\) can have multiple states that could come before it or come after it hypothetically. In contrast, outcomes have a well-defined predecessor and successor. These are tracked as part of the outcome, so that niqlow represents a sequence of outcomes as a doubly-linked list of objects of class Outcome.
An Outcome \(Y\) is a basic unit of data. However, a user will typically not interact with an individual outcome. Data structures are defined to keep track of ordered and unordered groups of outcomes. It is these objects that a user will typically create and use directly. The structure of outcomes is illustrated here:
|
A single realization of a discrete DP, denoted \(Y\). | ||||||||||
|
A derived Outcome that points to a sequence of outcomes along a single realized DP path. As an outcome itself, the path is also the first outcome along itself:
PATH::Y0 ⇆ Y1 ⇆ … YT ⇥ | ||||||||||
|
A Path that can point to more paths that all share the same fixed effect value, \(\gamma_f\). As a Path itself, the FPanel is the first path in the panel.
FPANEL::PATH0 ↦ PATH1 ↦ … PATHN ⇥ | ||||||||||
|
A heterogenous panel which contains one or more fixed panel. As an object derived from FPanel it also points to more FPanels. The Panel is the first fixed panel in the list.
PANEL::FPANEL0 ↦ FPANEL1 ↦ … FPANELM ⇥ | ||||||||||
|
A Panel with data-handling tools. Unlike the other derived classes, an OutcomeDataSet does not point to other panels (but the user's code could create more than one data set.)
OUTCOMEDATASET::PANEL
|
data = new OutcomeDataSet("DPdata"); data->ObservedWithLabel(x,d); data->IDColumn("id"); data->Read("data.dta");
x
and an action variable d
. The external data uses the same labels for those variables as the DP model, so the correct columns can be found using them. Each empirical path has to be associated with the value of variable in the data set, so the IDColumn
must be specified before reading the data. The data must be sorted within each path starting at \(t=0\). Since no columns in the data were associated with fixed effect variables this must be a homogeneous model. (There can be random effects but niqlow always assumes those are unobserved and will integrate over them.) So the data set will end up having one Panel which contains one FPanel which contains as many paths as Read()
finds in the Stata data set.
To create a simulated data set from a solved DP model and save to a Stata data set:
SimulateOutcomes(400,10,"sim.dta");
OutcomeDataSet
during a Monte Carlo exercise. This function is equivalent to these lower-level commands:
sim = new Panel("DPdata"); sim -> Simulate(400,10); sim -> Print("sim.dta"); delete sim;
Panel
object instead of using SimulateOutcomes
is to keep the simulated data around and to be able to control other aspects of the data produced using methods defined for panels.
Let the YF denote the vector of all actions and all realized states in the model. Generically,
YF ≡ (α ζ ε η θ γ χ YFp YFn ) α = (a0 … ) ζ = (z0 … ) ε = (e0 … ) η = (h0 … ) θ = (q0 … ) γ = (g0 … ) χ = (x0 … )
YF is referred to as the full outcome because it includes all information that is knowable and relevant about a single period in a realized DDP. YF adds a new vector denoted χ with generic elements x. See below. YF also includes pointers
to the preceding and next outcomes on the path. These pointers can be undefined for various reasons. Obviously the value of YFn is not realized until the end of the current period. And the initial period of decision making obviously has no preceding outcome. However, in the middle of a panel of observation both pointers would be defined.
The full outcome may not be observed in data. The observed outcome, Y, will have the same structure as YF but one or more elements of the member vectors will include missing (.NaN
) values. Observability is discussed below. Its purpose is to account for gaps between theoretical outcomes and observed results from a DP.
A Path is a derived class from Outcome. The difference is that a path tracks a sequence of outcomes generated by realizations of a single DP problem. The outcomes in a path are a linked list. Since a path is itself an outcome the first outcome is the path itself. Outcome tracks both the next and previous outcome in the realized path. Further, the path stores the last outcome in the path, which makes it possible to work either forwards or backwards in the sequence.
Finally, OutcomeDataSet is a class derived from Panel that includes methods to read in outcomes from data accounting for partial or complete unobservability of actions and states. This organization can be seen by clicking on hierarchy in the upper right corner of any page of DDP documentation.
Y = ≡ (x0 … xχ.N - - … ao0 - … - ao1 - … - zo0 - … - eo0 - … - ho0 - … - qo0 … - go0 - … )
-indicates censoring of elements of YF, and ao0 is the first observed action variable. So if
o0 = 3
it means a3 is the first element of α
that is in the observed outcome. Between ao0 and ao1 are any action variables not observed and indicated by - … -. The same is true of the state vectors.
This is not necessarily a template that all observations must follow. It is possible that some elements of YF are observed in some cases but not others. The auxiliary variables provide great flexibility. Suppose the value of an action variable ad is unobserved, but it is known the realized value is with some sub-range of the potential values. Then x0 and x1 could be the min and max values of ad, respectively. A derived likelihood function would add up the conditional probabilities of actions between those two values.
Database
class. If the same labels are used for model variables as in the external data set, the methods can seamlessly relate the data to the corresponding element of the model.
A key issue with estimating DDPs is unobservability of actions and states. Outcome
handles this two ways. First it treats missing (.NaN
) in the data as unobserved. It will then integrate (sum over) values of missing states and actions when computing, say, the likelihood of the data. Second, auxiliary data (sometimes called payoff relevant variables) can be included in the data and then coded so that they indicate which variables and values should be integrated over.
The base class Prediction tracks a list of possible state indices and their associated probabilities of occurring. It also tracks choice probabilities. Starting from some initial conditions a PathPrediction is a list of predictions, each providing the distribution across states and choices at that point in time. A PanelPrediction is a set of PathPredictions across fixed effect groups. Data can be read in to match up with predictions using the PredictionDataSet class derived from PanelPrediction.
|
The expected outcome from a single realization. This expectation will typically integrate over the choice-specific additive shock \(\zeta\) and permanent unobserved heterogeneity \(\gamma_f\). Further, based on information from the user's code the prediction will integrate over missing elements of the current full outcome YF. It would also integrate over the distribution of previous states that could have potentially be the realized previous state. | ||||||||||
|
A derived Prediction that points to a sequence of predictions along a single realized DP path. As a prediction, the path itself is the first prediction along the path. Since random effects \(\gamma_r\) are assumed to be unobserved, the path prediction integrates over any random effect groups that are in the model. There is only one prediction for a given fixed effect group \(\gamma_F\), so there is no prediction corresponds to the FPanel class derived from Outcomes. Each PathPrediction is in effect a FixedPathPrediction | ||||||||||
|
A list heterogenous path predictions. It is a PathPrediction which can also point to more PathPredictions. As a PathPrediction itself, the PanelPrediction is the first path in the panel. | ||||||||||
|
A panel prediction with data-handling tools. Unlike the other derived classes, empirical moments do not point to other panel predictions. |
Functions | ||
ComputePredictions | Simple Prediction . | |
SimulateOutcomes | Simple Panel Simulation. |
Public fields | ||
force0 | const | |
incol | ||
ind | ||
label | ||
obj | const | |
obsv | ||
type | const |
Public methods | ||
ErgodicOutcomeDataSet | ||
SemiClosedForm |
Public fields | ||
auxlike | static | |
outcm | static |
Public fields | ||
f | const | index of Fpanel in a panel. |
FPL | fixed panel likelihood vector. | |
method | method to call for nested solution. | |
N | Number of paths in the panel. | |
NT | Total Number of Outcomes in the panel. | |
SD | const | |
summand | static | |
upddens | const | |
Public methods | ||
Collapse | virtual | |
Deep | virtual | . |
Flat | virtual | Return the fixed panel as a flat matrix. |
FPanel | Store a panel of realized paths with common fixed group. | |
GetCur | ||
LogLikelihood | Compute the vector log-likelihood for paths in the fixed (homogeneous) panel. | |
Simulate | virtual | Simulate a homogenous panel (fpanel) of paths. |
Public fields | ||
act | \(\alpha\) | |
Ainds | list of feasible sets consistent w/ data. | |
arows | static | current likelihood A rows . |
aux | auxiliary values. | |
flnlike | static | current log-likelihood when collapsed |
mask | static | |
onext | pointer to next outcome on the path | |
OnlyTransitions | static | do not include choice prob for fully observed likelihood, for first stage estimation of transitions. |
prev | const | previous outcome. |
snext | index of next simulated state | |
t | const | order on the path . |
viinds | static | consistent states now & tom |
vilikes | static | contigent likelihood now & tom. |
Public methods | ||
AuxLikelihood | ||
CCLikelihood | Compute likelihood of choices and transitions this period assuming full state and action observability. | |
Deep | virtual | Print the outcome as record. |
Flat | virtual | Return the outcome as a (flat) row vector. |
FromSim | ||
IIDLikelihood | Compute likelihood of an outcome given observablity of θ and η but integrating over ε
|
|
Likelihood | Compute likelihood based on the Type. | |
Outcome | Record everything about a single realization of the DP. | |
PartialObservedLikelihood | Compute conditional forward likelihood of an outcome. | |
Simulate | virtual | Simulate the IID stochastic elements of a realization. |
Public fields | ||
dlabels | labels | |
freqcol | ||
HasFrequencies | ||
ids | ||
label | const | Label for the data set. |
list | ||
low | const | |
LTypes | ||
masked | ||
source | ||
Public methods | ||
EconometricObjective | virtual | The default econometric objective: log-likelihood. |
freqColumn | set the column label or index of a frequency (weighted data) variable. | |
IDColumn | set the column label or index of the observation ID. | |
MatchToColumn | Identify a variable with a data column. | |
ObservedWithLabel | Mark actions and state variables as observed in data, matched with their internal label. | |
OutcomeDataSet | Store a Panel as a data set. | |
Read | Load outcomes into the data set from a (long format) file or an Ox database. | |
Simulate | Simulate a data . | |
Summary | Produce a Stata-like summary statistics table. | |
tColumn | set the column label or index of the time value. | |
UnObserved | UnMark action and states variables as observed. |
Public fields | ||
first | . | |
flat | matrix representation of panel. | |
Fmtflat | static | . |
FN | total paths. | |
FNT | total outcomes in the panel. | |
fparray | ||
LFlat | static | column labels in flat. |
M | panel likelihood vector. | |
r | const | tag for the panel. |
Public methods | ||
Collapse | virtual | |
Deep | Print the deep view of the panel. | |
Flat | Store the panel as long flat matrix. | |
LogLikelihood | Compute the vector of log-likelihoods. | |
Panel | Store a list of heterogenous fixed panels. | |
Produce a matrix of the panel. | ||
SetMethod | Set the nested DP solution method to use when evaluating the panel's econometric objective. | |
Simulate | Simulate a (heterogeneous) panel. |
Public fields | ||
aflat | flat matrix version of predictions. | |
cols | columns in data . | |
delt | difference between pred. | |
EverPredicted | Predict() called before. | |
first | const | either fparray[0] or this. |
FN | total number of predictions.. | |
fparray | const | array pointing to (fixed) path predictions. |
M | array of GMM vector. | |
mask | indicator vector for observed moments. | |
pcount | # of predictions made and saved so far . | |
PredMomFile | static | file name of the last Panel Prediction Data Set saved. |
summand | const | object to integrate over \(\gamma_r\). |
tlabels | labels of flat print. | |
tlist | list of objects to track. | |
TrackingCalled | Has Tracking() been called. | |
upddens | const | object to update distribution over r. |
Public methods | ||
InitializePath | ||
PanelPrediction | Create a panel of predictions. | |
Predict | Predict outcomes in the panel. | |
SetColumns | Set up data columns for tracked variables. | |
Tracking | Add objects to track mean values over the path. |
Public fields | ||
flat | . | |
freq | frequency of outcomes represented by this. | |
i | index of path in a panel. | |
L | likelihood of the path. | |
LType | type of likelihood calculation. | |
rcur | current index of random effects. | |
T | lenth of the path. | |
Public methods | ||
Collapse | virtual | |
Deep | virtual | Produce a two dimensional view of the path; |
Flat | virtual | Produce a matrix representation of the path. |
FullLikelihood | ||
Likelihood | Compute likelihood of a realized path. | |
PartialObservedLikelihood | Compute conditional forward likelihood of an outcome. | |
Path | Create a new series of Outcomes along a realized path. | |
PathObjective | ||
ReadObs | ||
Simulate | virtual | Simulate a list of realized states and actions from an initial state. |
Public fields | ||
aggexists | static | |
cur | the current prediction | |
dlabels | labels for vdelt. | |
f | const | fixed index. |
Fcols | const | |
firstprediction | first prediction. | |
flat | flat prediction matrix. | |
fnext | the next PathPrediction | |
fvals | const | for tracking. |
HasObservations | Empirical moments read in. | |
iDist | const | initial distribution. |
inT | Path length sent it. | |
L | Distance between predictions and emp.mom. | |
MakeFlat | Create flat prediction always . | |
method | method to call for nested solution. | |
mother | const | panel I belong to. |
myshare | const | My share of population. |
pathW | Weighting matrix for GMM for full path. | |
plabels | labels for simulated path. | |
prtlevel | . | |
pstate | const | pstate . |
rcur | current index of random effects. | |
T | length of the path. | |
vdelt | wide delta vector. | |
wght | const | Weight Moments for GMM if empirical moments include. |
Public methods | ||
AppendSimulated | ||
Empirical | Add empirical values to a path of predicted values. | |
GetFlat | Get selected elements of the flat path prediction after it is made. | |
PathPrediction | Create a path of predictions - should only be called by PanelPrediction. | |
Predict | Create or update a path of predicted distributions. | |
Qcols | ||
SetFlat | ||
SimulateOutcomePaths | Compute and store path weighting matrix for fixed effect group. | |
tprefix | static |
Public fields | ||
accmom | accumulated predicted moments across r | |
ch | Expanded ch. | |
chq | current ch. | |
empmom | used (masked) empiricalmoments. | |
haz | mass hazard at t. | |
p | ||
pnext | next prediction on the path | |
pq | current p. | |
predmom | (unmasked) predicted moment vector | |
q | index into sind. | |
readmom | (unmasked) empirical moments. | |
sind | state index | |
t | const | rank in a pathprediction. |
W | masked weight to put on distance. | |
Public methods | ||
GetAcc | ||
Histogram | Compute the histogram of tracked object at the prediction. | |
IncAcc | ||
Predict | Compute the predicted distribution of actions and states. | |
Prediction | Create a new prediction. | |
Reset | ||
SetMoms | Initialize and if necessary set moms vectors. |
Public fields | ||
flist | ||
FMethod | ||
Nplace | observations column (index or label). | |
Tplace | time column (index or label). | |
UorCorL | matrix of indices or array of labels or UseLabel | |
Public methods | ||
EconometricObjective | virtual | The default econometric objective for a panel prediction: the overall GMM objective. |
Observations | Define columns where observations and time values appear. | |
Observed | ||
PredictionDataSet | Create a panel prediction that is matched with external data. | |
Read | Read in external moments of tracked objects. | |
SimulateMomentVariances | Simulate sample of outcomes compute path Variance matrix and save inverse. | |
TrackingMatchToColumn | Track an object that is matched to column in the data. | |
TrackingWithLabel | Track one or more objects that are matched to columns using the object's label. |
Public methods | ||
Print mean and histogram of tracked object. |
T | integer, length of panel UseDefault [default], length of lifecycle or 10 probabilities Two print predictions |
prtlevel | Two [default] print predictions One print state and choice probabilities Zero do not print, instead save to prediction moment file This creates a PanelPrediction object, creates the prediction tracking all varaibles and prints out. Object is then deleted |
Nsim | integer, number of paths to simulate per fixed group [default] UseDefault, whic is 1 |
T | integer, length of panel [default], length of lifecycle or 10 |
outopt | integer [default] print to screen or string name of file to save to |
ErgOrStateMat | 0 [default]: find lowest reachable indexed state to start from 1: draw from stationary distribution (must be ergodic) matrix of initial states to draw from (each column is a different starting value) |
DropTerminal | TRUE: eliminate termainl states from the data set FALSE: [default] include terminal states. This routine simplifies simulating a solved DP model. Simply call it instead of creating an Panel object. |
f | integer tag for the panel (such as replication index) [default=0] |
method | Method to call to solve 0 [default] do nothing, something else handles solution |
IterationFailed
the likelihood is not
computed. FPL
is set to a vector of .NaN
.Nsim | > 0, number of paths to simulate |
Tmax | maximum path length 0 no maximum length. |
ErgOrStateMat | 0 [default]: find lowest reachable indexed state to start from 1: draw from stationary distribution (must be ergodic) matrix of initial states to draw from (each column is a different starting value) |
DropTerminal | TRUE: eliminate termainl states from the data set FALSE: [default] include terminal states. |
pathpred | 0 [default] or PathPrediction object to filter simulated values |
t ~ State_Ind ~ Type ~ Aind ~ ε ~ eta; ~ θ ~ γ ~ α
subp | DoAll (default), solve all subproblems and return likelihood vector Non-negative integer, solve only subproblem, return contribution to overall L |
lORind | string, column label integer≥0 column index; Likelihoods are multiplied by this value. If no column is specified the default is 1. |
lORind | string, column label integer≥0 column index; |
aORs | Either an ActionVariable, element of \(\alpha\), or a StateVariable,
element of one of the state vectors, or a AuxiliaryValue, element of \(\chi\) OR |
LorC | UseLabel, variable's label to denote column of data with observations integer ≥ 0, column of data matrix that contains observations string, label of column with observations. |
aORs | Either an ActionVariable, element of \(\alpha\), or a StateVariable, element of
one of the state vectors, or a AuxiliaryValue, element of \(\chi\) OR array of the form {v1,v2,…}. In this case all other arguments are ignored. |
... | continues with object2, LoC2, object3, LorC3, etc. |
label | string, tag for the data set UseDefault [default] user classname |
method, | solution method to be used as data set is processed. 0 [default], no solution |
FNorDB | string, file name with extension that can be read by
OX::Database::Load Database object |
SearchLabels | TRUE: search data set labels and use any matches as observed. |
d = new OutcomeDataSet(); d -> Read("data.dta");
N | integer number of paths to simulate in each FPanel. |
T | Integer, max length of each path vector, max length for each FPanel. |
ErgOrStateMat | 0: find lowest reachable indexed state to start from 1: draw from stationary distribution (must be ergodic) matrix: initial states to draw from (each column is a different starting value) |
DropTerminal | TRUE: eliminate termainl states from the data set |
pathpred | Integer [default] or PathPrediction object that is simulating (used when computing efficient GMM weights) |
data | matrix, data to summarize integer, summarize flat |
rlabels | [default=0], array of labels |
lORind | string, column label integer≥0 column index; |
as1 | Discrete object, either an ActionVariable, element of \(\alpha\), or a
StateVariable, element of
one of the state vectors StateBlock: each variable in the block will be marked unobserved. |
... | as2, etc. |
method->Solve()
is called.
fn | 0: do not print or save, just return 1 print to data log file 2 print to screen string: save to a file |
Orientation | LONG or WIDE |
method | Method |
N | integer number of paths to simulate in each FPanel. |
T | Integer, max length of each path vector, max length for each FPanel. |
ErgOrStateMat | 0: find lowest reachable indexed state to start from 1: draw from stationary distribution (must be ergodic) matrix of initial states to draw from (each column is a different starting value) |
DropTerminal | TRUE: eliminate termainl states from the data set |
pathpred | Integer [default] or PathPrediction object that is simulating |
label | name for the data UseDefault [default] use classname of model class. |
method | Method to be called before predictions. |
iDist | initial conditions for PathPredictions ErgodicDist : use computed stationary distribution in ergodic dist. 0 [default]: start the prediction at the lowest-indexed reachable state in Θ. non-negative integer: start at iDist and increment until a reachable state index is found. matrix: a list of states to start the prediction from, uniform distribution array: a list of state INDICES and a list of probabilities, can be the output of a IID Transit() object of Prediction class: use sind as the initial state for this prediction. |
wght | [default=UNCORRELATED] |
aggshares | 0 [default] equal shares of averaged moments over fixed groups -1 [UnInitialized] do not compute averaged moments Fx1 vector, share of population |
T | : positive integer or matrix of lengths of paths to predict (same length as number of paths in then panel) |
prtlevel | : Zero [default] do not print One print state and choice probabilities Two print predictions |
outmat | matrix, predictions already made, just process contributions |
dlabels | array of column labels in the data. |
Nplace | number of observations (row weight) column UnInitialized no row weights |
tplace | model t column UnInitialized |
LorC | UseLabel: use object label to match to column. NotInData unmatched to data. integer: column in data set string: column label TrackAll : track all actions, endogenous states and auxiliaries |
... | Discrete objects and/or arrays or objects to track |
id | integer, id or tag for the path. |
state0 | UnInitialized (-1), set state to uninitalizednon-negative fixed effect index to use, draw and random effect from current distribution vector, initial state vector |
tracking
. If not, process span the state space with EndogTrans.
newstate | UnInitialized (default) state already set state to add to group state |
T | integer, max. length of the panel 0, no maximum lenth; simulation goes on until a Terminawl State is reached. |
DropTerminal | drop states that are terminal |
inmom | Txm matrix of values. |
hasN | FALSE: no row observation column TRUE: second-to-last column that contains observation count used for weighting of distances. |
hasT | FALSE: no model t column TRUE: last column contains observation count |
MaxT | path length will equal max{MaxT,maxc{inNandMom[][C]}} |
tvals | DoAll (default) return all time periods(rows) integer or vector of t indices to report |
mvals | DoAll (default) return all moments (columns) integer or vector of moments to report |
mother | object of PanelPrediction that is the mother to this path. |
f | integer: fixed group index [default=0] AlLFixed (-1): this aggregates (averages) predictions over NotInData (-2): no prediction stored here. |
method | 0: do not call a nested solution [default] a solution Method object to be called before making predictions |
iDist | initial distribution. ErgodicDist : use computed stationary distribution in ergodic dist. non-negative integer: start at iDist and increment until a reachable state index is found. So PathPrediction(0) [default] will start the prediction at the
lowest-indexed reachable state in
Θ.matrix: a list of states to start the prediction from object of Prediction class: use sind as the initial state for this prediction. |
wght | Code for weighting scheme for distance between empirical and predicted paths. |
myshare | either 0 or a fraction of the population if an aggregate (overall) prediction is being stored. The prediction is not made until Predict() is called. |
inT | integer length of the path 0 (default) : predict only for existing predictions on the Path. If existing path is longer than inT (and inT > 0) then extra predictions are deleted. |
prtlevel | Zero [default] do not print One print state and choice probabilities Two print predictions |
p = new PanelPrediction(); p->Predict(10);
curfpanel | FPanel object to simulate |
N | sample size |
ErogOrStateMat | simulation initial conditions.
Let SM be the matrix of simulated outcomes (concatenation over time)
pathW = generalized inverse of Var(SM).
Save simulated data to logs/flat_??.dta
Save weight matrix in pathW_??.mat |
printit | TRUE=output; FALSE=quiet |
t | integer, position in the path. |
sz | length of current ctlist. |
firsttype | first or only pass integrating over gamma_r This was added to reduce vector creation/destruction |
subp | DoAll (default), solve all subproblems and return likelihood vector Non-negative integer, solve only subproblem, return contribution to overall GMM |
NLabelOrColumn | integer or string for column of data containing observation counts. This is used to adjust weight of rows in moments. |
TLabelOrColumn | integer or string for column of data containing model t
value. Data must still be sorted in time! However, this allows missing time periods to be skipped. Further, it allows for a special row containing moment influence/importance adjustments. |
UorCorL | where to get fixed-effect values matrix of indices or array of labels UseLabel [default] NotInData only allowed if F=1, then no column contains fixed variables |
label | name for the data UseDefault [default] use classname of model class. |
method | solution method to call before predict UnInitialized [default] no method (warning if there is heterogeneity) |
iDist | initial conditions set to PathPredictions |
wght | see GMMWeightOptions |
aggshares | FALSE [default] or a Fx1 vector of population shares for groups to be used when creating an aggregate prediction. |
FNorDB | string, name of file that contains the data. A Ox database object. |
MaxT | TRUE: set length of prediction equal to the max{T} for all Paths, otherwise use individual lengths |
N | size of simulated sample for each PathPrediction. |
ErogOrStateMat | initial condition from simulated outcome paths |
@fvals | either DoALL or a a vector of fixed effect indices to compute. |
LorC | label or column index in the data to associate with this moment. |
mom | Discrete object to track |
InDataOrNot | TRUE: the UseLabel tag will be passed to
PathPrediction::Tracking()FALSE: the NotInData tag will be sent.
|
... | objects or array of objects to track |