pyblp.SimulationResults.compute_micro_values

SimulationResults.compute_micro_values(micro_moments)

Compute simulated micro moment values \(v_m\).

Parameters

micro_moments (sequence of Moment) – Configurations for the micro moments. For a list of supported moments, refer to Micro Moment Classes. Since only simulated values \(v_m\) are computed, the value and observations specified when initializing the moments will be ignored.

Returns

Micro moment values \(v_m\), which are in the same order as micro_moments. If there are multiple markets \(t \in T_m\) in which a micro moment is relevant, this is an average of market-specific \(v_{mt}\) values.

Return type

ndarray

Examples