ruspy.estimation.nfxp.create_state_matrix
- ruspy.estimation.nfxp.create_state_matrix(states, num_states)[source]
This function constructs a auxiliary matrix for the log-likelihood of the cost parameters.
- Parameters
- states
numpy.ndarray
All mileage state observations.
- num_states
python:int
The size of the state space.
- states
- Returns
- state_mat
numpy.ndarray
see State matrix
- state_mat