ruspy.simulation.simulation.simulate
- ruspy.simulation.simulation.simulate(init_dict, ev_known, costs, trans_mat, reduced_data=None)[source]
Simulating the decision process of Harold Zurcher.
The main function to simulate a decision process in the theoretical framework of John Rust’s 1987 paper. It reads the inputs from the initiation dictionary and then calls the main subfunction with all the relevant parameters.
- Parameters
- init_dict
dictionary - ev_known
numpy.ndarray - costs
numpy.ndarray See ref:costs
- trans_mat
numpy.ndarray See ref:trans_mat
- reduced_data
python:str Keyword for simulation with reduced data usage.
- init_dict
- Returns
- df
pandas.DataFrame See The simulation
- df