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

see MPEC

maint_func: func

see Maintenance cost function

num_statespython:int

The size of the state space.

state_matnumpy.ndarray

see State matrix

decision_matnumpy.ndarray

see Decision Matrix

disc_facnumpy.float

see Discount factor

scalenumpy.float

see Scale

Returns
log_like: python:float

Contains the negative partial log likelihood for the given parameters.