_state_index

Hello,

I have a Markov model with 9 health states, however, when I use the _state_index keyword, it always gives me a value of 0?

Thank you.

0

Comments

1 comment
  • Official comment

    The keyword _state_index is context sensitive. If it is calculated at the root node or at any node that is not either a health state or to the right of a health state, the value will be 0.

    However, at a health state (or to its right), _state_index should calculate to the proper sequential value counting down from 1 for the top state in the Markov model.

    You can test this with the Evaluator View. Enter _state_index as the expression. Then select different nodes in the model and recalculate the _state_index value via the "equals" button.

    Comment actions Permalink

Please sign in to leave a comment.

Didn't find what you were looking for?

New post