ruspy.estimation.est_cost_params.loglike_cost_params_individual¶
-
ruspy.estimation.est_cost_params.
loglike_cost_params_individual
(params, maint_func, maint_func_dev, num_states, trans_mat, state_mat, decision_mat, disc_fac, scale, alg_details)[source]¶ This is the individual logliklihood function for the estimation of the cost parameters needed for the BHHH optimizer.
- Parameters
- params
pandas.DataFrame
see Cost parameters
- maint_func: func
- num_states
python:int
The size of the state space.
- disc_fac
numpy.float
see Discount factor
- trans_mat
numpy.array
- state_mat
numpy.array
see State matrix
- decision_mat
numpy.array
see Decision Matrix
- params
- Returns
- log_like
numpy.array
A num_buses times num_periods dimensional array containing the negative log-likelihood contributions of the individuals.
- log_like