ruspy.estimation.est_cost_params.get_ev¶
-
ruspy.estimation.est_cost_params.
get_ev
(params, trans_mat, obs_costs, disc_fac, alg_details)[source]¶ A auxiliary function, which allows the log-likelihood function as well as its derivative to share the same fixed point and to avoid the need to execute the computation double.
- Parameters
- params
numpy.array
see Cost parameters
- trans_mat
numpy.array
- obs_costs
numpy.array
see Observed costs
- disc_fac
numpy.float
see Discount factor
- params
- Returns
- ev
numpy.array
- ev