pyblp.BootstrappedResults.to_dict¶
-
BootstrappedResults.
to_dict
(attributes=('bootstrapped_sigma', 'bootstrapped_pi', 'bootstrapped_rho', 'bootstrapped_beta', 'bootstrapped_gamma', 'bootstrapped_prices', 'bootstrapped_shares', 'bootstrapped_delta', 'computation_time', 'draws', 'fp_converged', 'fp_iterations', 'contraction_evaluations'))¶ Convert these results into a dictionary that maps attribute names to values.
- Parameters
attributes (sequence of str, optional) – Name of attributes that will be added to the dictionary. By default, all
BootstrappedResults
attributes are added except forBootstrappedResults.problem_results
.- Returns
Mapping from attribute names to values.
- Return type
dict