You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can compute MSE Ratios for different surveys and survey designs associated with different parameter values.
193
+
We can compute MSE Ratios for different survey designs associated with different parameter values.
194
194
195
-
The following Python code computes the objects we want to stare at in order to make comparisons
195
+
The following Python code computes objects we want to stare at in order to make comparisons
196
196
under different values of $\pi_A$ and $n$:
197
197
198
198
```{code-cell} ipython3
@@ -256,7 +256,7 @@ Let's put the code to work for parameter values
256
256
257
257
We can generate MSE Ratios theoretically using the above formulas.
258
258
259
-
We can also perform a Monte Carlo simulation of the MSE Ratio.
259
+
We can also perform Monte Carlo simulations of a MSE Ratio.
260
260
261
261
```{code-cell} ipython3
262
262
cp1 = Comparison(0.6, 1000)
@@ -269,7 +269,7 @@ df1_mc = cp1.MCsimulation()
269
269
df1_mc
270
270
```
271
271
272
-
The theoretical calculations do a good job of predicting the Monte Carlo results.
272
+
The theoretical calculations do a good job of predicting Monte Carlo results.
273
273
274
274
We see that in many situations, especially when the bias is not small, the MSE of the randomized-sampling methods is smaller than that of the non-randomized sampling method.
275
275
@@ -319,5 +319,5 @@ Evidently, as $n$ increases, the randomized response method does better perform
319
319
320
320
{doc}`This QuantEcon lecture <util_rand_resp>` describes some alternative randomized response surveys.
321
321
322
-
That lecture presents the utilitarian analysis of those alternatives conducted by Lars Ljungqvist
322
+
That lecture presents a utilitarian analysis of those alternatives conducted by Lars Ljungqvist
0 commit comments