ruspy.estimation.mpec.mpec_loglike_cost_params
- ruspy.estimation.mpec.mpec_loglike_cost_params(mpec_params, maint_func, maint_func_dev, num_states, disc_fac, scale, decision_mat, state_mat)[source]
Calculate the negative partial log likelihood for MPEC depending on cost parameters as well as the discretized expected values.
- Parameters
- mpec_params
numpy.ndarray
see MPEC
- maint_func: func
- num_states
python:int
The size of the state space.
- state_mat
numpy.ndarray
see State matrix
- decision_mat
numpy.ndarray
see Decision Matrix
- disc_fac
numpy.float
see Discount factor
- scale
numpy.float
see Scale
- mpec_params
- Returns
- log_like:
python:float
Contains the negative partial log likelihood for the given parameters.
- log_like: