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
statesnumpy.ndarray

All mileage state observations.

num_statespython:int

The size of the state space.

Returns
state_matnumpy.ndarray

see State matrix