ruspy.estimation.estimation_transitions.loglike_trans

ruspy.estimation.estimation_transitions.loglike_trans(trans_dist, transition_count)[source]

Sum the individual negative log-likelihood.

Parameters
trans_distnp.ndarray

parameters of the transition probabilities.

transition_countnumpy.ndarray

The pooled count of state increases per period in the data.

Returns
log_likepython:float

the negative log likelihood given some transition probability guess.