Skip to content

Commit

Permalink
DOC: add a note about micro observations and sample covariances
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffgortmaker committed May 16, 2022
1 parent 5db0f1e commit 3477f5d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions pyblp/economies/problem.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,9 +437,13 @@ def solve(
Sample covariance matrix for the :math:`M_M` micro moments. By default, element :math:`(m, m')` of their
asymptotic covariance matrix is computed according to :eq:`micro_moment_covariances`. This override could be
used, for example, if instead of estimating covariances at some estimated :math:`\hat{\theta}`, one wants to
use a boostrap procedure to compute their covariances directly from the micro data. Any sample covariances
specified here will be multiplied by dataset observation counts to replace the asymptotic covariances
defined in :eq:`micro_moment_covariances`.
use a boostrap procedure to compute their covariances directly from the micro data.
Any sample covariances specified here will be multiplied by :class:`MicroDataset` ``observations`` to
replace the asymptotic covariances defined in :eq:`micro_moment_covariances`. Since asymptotic covariances
are ultimately divided by these same ``observations``, the number of ``observations`` will not matter for
the purposes of standard error and weighting matrix estimation when ``micro_sample_covariances`` is
specified.
Returns
-------
Expand Down

0 comments on commit 3477f5d

Please sign in to comment.