mc_estadistico_1d
Runs replicated Monte Carlo integration to estimate definite integrals and compute confidence intervals from the distribution of estimates.
Instructions
Replicated Monte Carlo experiment (M repetitions of N samples) with statistical analysis.
Args: func_str: Math expression in x. a, b: Integration limits (b > a). N: Samples per replication. M: Number of replications. nivel_confianza: Confidence level in (0, 1). seed: Optional RNG seed. precision: Rounding digits.
Returns: Dict with the distribution of estimates and confidence intervals.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| M | No | ||
| N | No | ||
| a | Yes | ||
| b | Yes | ||
| seed | No | ||
| func_str | Yes | ||
| precision | No | ||
| nivel_confianza | No |