find_wildcards: Find Indices for Non-identifiable Elements of State Matrix.
Description
find_wildcards finds indices for non-identifiable elements of state
matrix.
Usage
find_wildcards(state_mat, action_vec, cols)
Arguments
state_mat
Numeric matrix with rows as states and columns as
predictors.
action_vec
Numeric vector indicating what action to take for each
state.
cols
Numeric vector same length as number of columns of the
state matrix
(state_mat)
with the action that each column of the
state matrix corresponds to the decision model taking in the previous
period. This is only relevant when the predictor variables of the FSM are
lagged outcomes that include the previous actions taken by that decision
model.
Value
Returns a list of indices (tuples specifying row and column of a
matrix).