def margeff_cov_with_se(model, params, exog, cov_params, at, derivative, dummy_ind, count_ind, method, J):
 cov_me = margeff_cov_params(model, params, exog, cov_params, at, derivative, dummy_ind, count_ind, method, J)
 return (cov_me, np.sqrt(np.diag(cov_me)))

def margeff_cov_with_se ( model , params , exog , cov_params , at , derivative , dummy_ind , count_ind , method , J ) : cov_me = margeff_cov_params ( model , params , exog , cov_params , at , derivative , dummy_ind , count_ind , method , J ) return ( cov_me , np . sqrt ( np . diag ( cov_me ) ) )
see margeff_cov_params .