tests/sensitivity/test_msm_sensitivity.py
def simulate_aggregated_moments(params, x, y):
    """Calculate aggregated moments for example from Honore, DePaula, Jorgensen."""

    mom_value = simulate_moment_contributions(params, x, y)
    moments = mom_value.mean(axis=1)

    return moments
Calculate aggregated moments for example from Honore, DePaula, Jorgensen.
Calculate aggregated moments for example from Honore, DePaula, Jorgensen.
Calculate aggregated moments for example from Honore DePaula Jorgensen .
def simulate_aggregated_moments(params, x, y):
    mom_value = simulate_moment_contributions(params, x, y)
    moments = mom_value.mean(axis=1)
    return moments
def simulate_aggregated_moments ( params , x , y ) : mom_value = simulate_moment_contributions ( params , x , y ) moments = mom_value . mean ( axis = 1 ) return moments
Calculate aggregated moments for example from Honore, DePaula, Jorgensen.
Calculate aggregated moments for example from Honore DePaula Jorgensen .
"""Calculate aggregated moments for example from Honore, DePaula, Jorgensen."""
params
x
y