Input:
agent_set determining which
agents will be used for the estimation. If it is not given (default), all agents are
considered.
estimate_config as an entry 'estimation'. The default value is None.
dataset_pool argument of the constructor.
Algorithm:
In addition to agents_index, the number of agents entering the
estimation can be controlled by an entry 'estimation_size_agents' in
estimate_config which should have a value between 0
and
. It gives
the portion of agents_index (or agent_set if agents_index
is not given) that will be used in the estimation. The indices are then
randomly sampled. The agent_set should contain an attribute of the same
name as the unique identifier of the class attribute choice_set. Its
values determine the current choices of the agents.
As in the run() method, an interaction set is created and the
variables given in the specification are computed. Then for each submodel the
corresponding data matrix is built and the run() method of the class
given by the argument procedure (or alternatively by an entry
``estimation'' in estimate_config) is called, passing the data array,
the class attribute upc_sequence and estimate_config (after
adding entries needed for the estimation) as arguments (see
Section 24.5.6 for more details). From the returned
dictionary, items ``estimators'', ``standard_errors'', ``other_measures'' and
``other_info'' are extracted. After results from all submodels are collected,
a Coefficient object is created using those extracted values (see Section 24.6.1).
Output:
The method returns a tuple of the created Coefficient object and a
dictionary with one entry for each submodel.
Each entry is a dictionary returned by estimation procedure for that submodel.