Note
Go to the end to download the full example code
Delta-Based Covariance Formulas For Approximate Control Variates
The following lists the formula needed to use ACV to compute vector-valued statistics comprised of means, variances or both. The formulas use the expressions for \(\mat{V}, \mat{W}, \mat{B}\) in Monte Carlo Quadrature: Beyond Mean Estimation.
These covariancesdepend on how samples are allocated to the sets \(\rvset_\alpha,\rvset_\alpha^*\), which we call the sample allocation \(\mathcal{A}\). Specifically, \(\mathcal{A}\) specifies: the number of samples in the sets \(\rvset_\alpha,\rvset_\alpha^*, \forall \alpha\), denoted by \(N_\alpha\) and \(N_{\alpha^*}\), respectively; the number of samples in the intersections of pairs of sets, that is \(N_{\alpha\cap\beta} =|\rvset_\alpha \cap \rvset_\beta|\), \(N_{\alpha^*\cap\beta} =|\rvset_\alpha^* \cap \rvset_\beta|\), \(N_{\alpha^*\cap\beta^*} =|\rvset_\alpha^* \cap \rvset_\beta^*|\); and the number of samples in the union of pairs of sets \(N_{\alpha\cup\beta} = |\rvset_\alpha\cup \rvset_\beta|\) and similarly \(N_{\alpha^*\cup\beta}\), \(N_{\alpha^*\cup\beta^*}\).
Mean
Variance
Mean and Variance
Total running time of the script: ( 0 minutes 0.000 seconds)