ruspy.estimation.nfxp.derivative_loglike_cost_params_individual
- ruspy.estimation.nfxp.derivative_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 Jacobian of the individual log likelihood function of the cost parameter estimation with respect to all cost parameters needed for the BHHH.
- Parameters
- params
numpy.ndarray
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.ndarray
- state_mat
numpy.ndarray
see State matrix
- decision_mat
numpy.ndarray
see Decision Matrix
- params
- Returns
- dev
numpy.ndarray
A num_buses + num_periods x dim(params) matrix in form of numpy array containing the derivative of the individual log-likelihood function for every cost parameter.
- dev