ruspy.estimation.est_cost_params.create_state_matrix

ruspy.estimation.est_cost_params.create_state_matrix(states, num_states)[source]

This function constructs a auxiliary matrix for the log-likelihood of the cost parameters.

Parameters
statesnumpy.array

All mileage state observations.

num_statespython:int

The size of the state space.

Returns
state_matnumpy.array

see State matrix