Computational researcher: Monte Carlo and Uncertainty
Original research interview cases on sampling error, variance reduction, importance sampling, dependent draws, uncertainty interpretation, and simulation study design. Estimator assumptions and numerical conventions are explicit.
These are original research interview scenarios, independent of employers, live interviews, and published question banks.
1.Independent simulation outputs have variance 9. For the mean of 100 outputs, what is its variance?
Show answer and explanation
- 9
- 900
- 0.09
- 0.3
Answer: 0.09
For independent identically distributed draws, variance of the mean is σ²/n=9/100=0.09. Its standard error is 0.3.
2.A sample mean has estimated standard error 0.08 under an independent-draw model. Approximately how many times as many draws are needed to reduce it to 0.02 at unchanged variance?
Show answer and explanation
- 16
- 2
- 4
- 64
Answer: 16
Standard error scales as n⁻¹ᐟ². Reducing it by four requires sixteen times the draws.
3.A simulation returns ten million outputs by repeating the same random draw ten million times. What does the output count fail to provide?
Show answer and explanation
- Ten million independent observations
- A defined vector length
- A record of how many values were stored
- Repeated copies of that realized value
Answer: Ten million independent observations
Duplicating one realization does not add independent information about the distribution. An independence-based standard error would be invalid.
4.A Monte Carlo mean uses independent identically distributed outputs with finite variance. What controls its usual root-n standard-error scaling?
Show answer and explanation
- The output variance and draw count
- Only the random seed's decimal length
- Only the input dimension
- Only the size of the returned array's data type
Answer: The output variance and draw count
For a mean, standard error is σ/√n under these assumptions. Dimension can affect σ or computational cost but does not replace that relationship.
5.An estimator samples U uniformly on [0,1] and averages U². What population quantity is it estimating?
Show answer and explanation
- 1/4
- 1/2
- 1/3
- 2/3
Answer: 1/3
The target is the integral of u² from zero to one, which equals 1/3. The estimator is random, even though the integral is fixed.
6.A probability estimate observes 75 events in 300 independent Bernoulli trials. What is the sample proportion?
Show answer and explanation
- 0.025
- 4
- 0.25
- 0.75
Answer: 0.25
The empirical event frequency is 75/300=0.25. Its uncertainty is separate from the point estimate.
7.A Bernoulli event has true probability 0.2. For 400 independent trials, what is the standard deviation of the sample proportion?
Show answer and explanation
- 0.02
- 0.2
- 0.0004
- 0.04
Answer: 0.02
The variance is p(1−p)/n=0.2×0.8/400=0.0004. Taking its square root gives 0.02.
8.A finite-variance Monte Carlo estimate is unbiased. What does that mean across repeated studies?
Show answer and explanation
- Its variance is zero.
- Every realization equals the target.
- Its confidence interval always contains the target.
- Its expectation equals the target.
Answer: Its expectation equals the target.
Unbiasedness concerns expectation, not the accuracy of every realization. Variance and interval coverage are separate properties.
9.Two estimators target the same scalar. A has bias 0.1 and variance 0.01; B has zero bias and variance 0.03. Using MSE=bias²+variance, which has lower MSE?
Show answer and explanation
- A, with MSE 0.02
- B, with MSE 0.01
- A, with MSE 0.11
- B, because unbiasedness always minimizes MSE
Answer: A, with MSE 0.02
A has 0.1²+0.01=0.02, while B has 0.03. The supplied loss criterion can favor a biased estimator.
10.A probability is estimated as zero after no rare events are observed. Which conclusion is justified?
Show answer and explanation
- The simulation proves the event is impossible.
- The true probability is exactly zero.
- The relative error is known to be zero.
- The sample contains no observed events.
Answer: The sample contains no observed events.
Absence in a finite sample does not establish impossibility. Appropriate bounds and the model assumptions are needed to quantify uncertainty.
11.A supplied rough one-sided 95% bound after zero events in n independent Bernoulli trials is 3/n. For n=1,500, what bound follows?
Show answer and explanation
- 0.002
- 0.02
- 0
- 0.2
Answer: 0.002
Applying the supplied approximation gives 3/1500=0.002. It is a bound under specified assumptions, not a measured event frequency.
12.Independent outputs come from a distribution without finite variance. What needs caution in a mean-error report?
Show answer and explanation
- Whether any samples can be generated
- The possibility of computing a finite sample average
- The usual finite-variance standard-error argument
- The fact that a sample size can be counted
Answer: The usual finite-variance standard-error argument
A finite numerical sample variance does not establish a finite population variance. Standard root-n normal approximations may not apply.
13.Two simulation studies use different input distributions but report their mean difference as pure numerical error. What is confounded?
Show answer and explanation
- Only the names of the output variables
- Changed target distribution and estimator error
- The ability to calculate two averages
- Only the number of processor cores
Answer: Changed target distribution and estimator error
Changing the input distribution can change the quantity being estimated. A numerical-method comparison should specify a common target.
14.A confidence interval is reported for an expectation, but a reader treats it as a range covering 95% of individual simulated outcomes. What is confused?
Show answer and explanation
- Mean uncertainty with outcome variability
- A sample count with an iteration count
- Variance with physical units only
- Only the choice of random seed
Answer: Mean uncertainty with outcome variability
An interval for a mean is not a prediction interval for individual outcomes. The target and interpretation must be explicit.
15.A Monte Carlo estimate is 5 with standard error 0.2. Using the supplied normal rule estimate ±1.96 SE, what interval follows?
Show answer and explanation
- [4.8, 5.2]
- [4.608, 5.392]
- [3.04, 6.96]
- [4.96, 5.04]
Answer: [4.608, 5.392]
The margin is 1.96×0.2=0.392. The stated normal approximation and error estimate must be justified for the estimator.
16.A standard error is reported in meters squared, while the estimated mean is in meters. What should be checked?
Show answer and explanation
- A guarantee variance and standard error share units
- The uncertainty calculation's units
- Only whether samples are sorted
- Only the number of random seeds
Answer: The uncertainty calculation's units
Variance has squared units, but standard deviation and standard error have the same units as the estimated quantity.
17.A simulator uses uncertain physical inputs. Repeating it many times makes the estimated mean precise. What uncertainty can remain broad?
Show answer and explanation
- No uncertainty of any kind
- Only Monte Carlo error of that mean
- Only the stored seed value
- Variation in physical outcomes
Answer: Variation in physical outcomes
Computational precision about a distributional quantity does not remove the variability represented by the input model or uncertainty about that model.
18.A deterministic approximation inside each Monte Carlo draw has a systematic positive bias. What does increasing draw count alone remove?
Show answer and explanation
- The deterministic bias automatically
- Every numerical error in the simulator
- The need to assess discretization accuracy
- Neither that bias nor model discrepancy
Answer: Neither that bias nor model discrepancy
More draws reduce sampling error under suitable assumptions. They do not by themselves correct a biased inner approximation.
19.A simulation budget is fixed. Which design comparison is useful for estimating a mean?
Show answer and explanation
- Only variance without runtime
- Only total wall time without uncertainty
- Variance times cost per independent draw
- Only the count of reported decimal digits
Answer: Variance times cost per independent draw
At comparable assumptions, uncertainty per computational budget depends on both draw variance and cost. Setup and dependence can also matter.
20.One method has variance 4 per independent draw and cost 1; another has variance 1 and cost 3. Ignoring setup, which has lower variance at equal large budget?
Show answer and explanation
- The first method
- The cheaper draw must always win.
- The second method
- They are equal.
Answer: The second method
Variance of the mean at budget B scales as variance×cost/B. The products are four and three, favoring the second method.
21.Antithetic estimates X and Y have equal variance σ² and correlation ρ. What is variance of their average?
Show answer and explanation
- σ²(1+ρ)/2
- 2σ²(1+ρ)
- σ²/ρ
- σ²(1−ρ)
Answer: σ²(1+ρ)/2
Var((X+Y)/2)=(2σ²+2ρσ²)/4. Negative correlation can reduce variance relative to an independent pair.
22.An antithetic construction yields positive correlation for the actual output being estimated. What should be checked?
Show answer and explanation
- A guarantee all antithetic labels imply improvement
- Only the number of paired records
- Whether the pairing really reduces estimator variance
- Only whether the inputs look complementary
Answer: Whether the pairing really reduces estimator variance
Variance reduction depends on covariance of the outputs, not the name or appearance of the input construction.
23.Two policies are compared on matched random scenarios. Their outputs have positive covariance. What can common random numbers reduce?
Show answer and explanation
- Variance of their difference
- The difference in their expected values necessarily
- All bias in the policies' models
- The cost of each simulation necessarily
Answer: Variance of their difference
Var(A−B)=Var(A)+Var(B)−2Cov(A,B). Positive covariance can improve precision of the comparison.
24.Policy outputs each have variance 9 and covariance 7 under a pairing. What is variance of their paired difference?
Show answer and explanation
- 32
- 4
- 18
- 16
Answer: 4
The difference variance is 9+9−2×7=4. This is not the variance of either individual output.
25.An analysis pairs outputs from unrelated scenario IDs and still uses a matched-pair standard error. What is missing?
Show answer and explanation
- Only a larger output array
- A guarantee equal sample counts imply matched inputs
- Only a shared random-generator library
- The intended pairing structure
Answer: The intended pairing structure
Pairing must reflect the actual experimental construction. Matching rows by position without consistent scenario identity can invalidate a covariance-based analysis.
26.A control-variate estimator is f(X)−c(g(X)−μg), with μg the known expectation of g. Why does this preserve the target expectation for fixed c?
Show answer and explanation
- The control is necessarily independent of f.
- The subtracted adjustment has expectation zero.
- Every realized adjustment is exactly zero.
- The control's variance is always zero.
Answer: The subtracted adjustment has expectation zero.
E[g−μg]=0. Variance reduction depends on covariance and coefficient choice, not on every adjustment vanishing.
27.For the estimator f−c(g−μg), the supplied optimal coefficient is
Cov(f,g)/Var(g). With covariance 6 and control variance 3, what is c?Show answer and explanation
- 2
- 0.5
- 3
- 18
Answer: 2
The coefficient is 6/3=2 for the stated sign convention. A different estimator sign would change the convention.
28.A control variate uses an incorrectly assumed μg. What can result even with many draws?
Show answer and explanation
- Bias from the wrong centering value
- Only a change in computation time
- Zero variance by definition
- Guaranteed unbiasedness from large sample size
Answer: Bias from the wrong centering value
The adjustment no longer has expectation zero. Additional samples do not repair an incorrect known-mean premise.
29.A stratified estimator uses strata with population weights 0.8 and 0.2, with estimated means 3 and 8. What is the weighted estimate?
Show answer and explanation
- 4
- 5.5
- 11
- 2.4
Answer: 4
The population-weighted mean is 0.8×3+0.2×8=4. Equal sample counts do not imply equal population weights.
30.A stratified study oversamples a small rare-event stratum, then averages all samples without weights. What risk arises?
Show answer and explanation
- Only a larger confidence interval automatically
- Estimating the sampling mixture instead of the target mixture
- A guarantee the population mean is preserved
- Only fewer rare observations
Answer: Estimating the sampling mixture instead of the target mixture
Allocation can deliberately differ from population frequencies. The estimator must account for those differences to target the intended population.
31.Neyman allocation with equal per-draw costs is supplied as
n_hproportional to W_h σ_h. Strata have W=(0.5,0.5) and σ=(1,3). What allocation ratio n₁:n₂ follows?Show answer and explanation
- 1:3
- 3:1
- 1:9
- 1:1
Answer: 1:3
The weighted standard deviations are 0.5 and 1.5, giving ratio 1:3. This rule uses standard deviations, not variances.
32.An importance sampler draws from q and targets an integral under p. What weight belongs with each draw where q>0?
Show answer and explanation
- p(x)/q(x)
- q(x) alone
- q(x)/p(x)
- p(x)+q(x)
Answer: p(x)/q(x)
Changing the sampling distribution requires a density-ratio correction. Support and finite-variance conditions still matter.
33.A target assigns positive probability to a region where the proposal assigns zero. What limitation affects importance sampling?
Show answer and explanation
- The target's contribution there must be zero.
- More draws necessarily fix the support gap.
- Normalization always recovers the missing region.
- The proposal cannot represent that target region.
Answer: The proposal cannot represent that target region.
A proposal cannot generate points outside its support. Increasing the sample count does not repair absent coverage of target mass.
34.A draw has target density 0.12 and proposal density 0.04. What is its ordinary importance weight?
Show answer and explanation
- 3
- 0.08
- 1/3
- 0.0048
Answer: 3
The ratio is p/q=0.12/0.04=3. Densities need not themselves be probabilities of individual continuous points.
35.A self-normalized importance estimate divides a weighted sum by the sum of estimated weights. What is generally true at finite sample size?
Show answer and explanation
- It has zero variance after normalization.
- Its denominator removes every support requirement.
- It can be biased despite consistency under suitable conditions.
- It is always exactly unbiased.
Answer: It can be biased despite consistency under suitable conditions.
The ratio of random sums need not have expectation equal to the target ratio. Appropriate large-sample properties do not imply finite-sample unbiasedness.
36.Importance weights are (1,1,8). Using the diagnostic ESS=(sum w)²/
sum(w²), what is ESS to two decimals?Show answer and explanation
- 3.00
- 6.60
- 10.00
- 1.52
Answer: 1.52
The ratio is 10²/(1+1+64)=100/66≈1.52. Weight concentration leaves much less effective information than three equal weights would.
37.An importance estimate is dominated by one extremely large weight. What evidence is needed before trusting a tiny reported standard error?
Show answer and explanation
- Only the nominal sample count
- Only the sum of normalized weights equaling one
- A guarantee normalization removes rare-weight instability
- Tail behavior and stability of the weight-based estimate
Answer: Tail behavior and stability of the weight-based estimate
Concentrated or heavy-tailed weights can make estimated uncertainty unstable. Normalization and a large nominal count do not by themselves establish reliability.
38.Log weights near −10,000 underflow when exponentiated directly. Which normalization preserves their relative scale more safely?
Show answer and explanation
- Replace every weight by its absolute log value.
- Exponentiate and discard all underflows without checking.
- Subtract the largest log weight before exponentiation.
- Round every log weight to zero.
Answer: Subtract the largest log weight before exponentiation.
A common additive shift in log space cancels during normalization. It avoids needlessly exponentiating extremely negative common offsets.
39.A proposal is tuned repeatedly on the same realized weighted estimate until that estimate is largest. What should the evaluation account for?
Show answer and explanation
- Only the number of saved proposals
- Adaptive selection effects
- A guarantee importance weights remove all selection effects
- Only the final proposal's name
Answer: Adaptive selection effects
Weight correctness for a specified sampling design does not automatically justify post hoc selection of the largest reported result. Evaluate the actual adaptive procedure.
40.A deterministic low-discrepancy integration rule is run once. Why is an iid sample-variance standard error not automatic?
Show answer and explanation
- Every low-discrepancy result is exact.
- The points are not an iid random sample.
- The integral is no longer defined.
- Point count alone determines a valid confidence interval.
Answer: The points are not an iid random sample.
Quasi-Monte Carlo rules have different error theory. Suitable randomization and independent scrambles can support an appropriate replication-based assessment.
41.A Markov chain is intended to target π. What must its transition mechanism be checked for beyond producing plausible-looking draws?
Show answer and explanation
- Only a long sequence of distinct stored values
- The intended invariant distribution and exploration conditions
- Only a high acceptance percentage
- Only equal spacing of output records
Answer: The intended invariant distribution and exploration conditions
A visually plausible trace need not target π or explore its support adequately. Mathematical transition properties and empirical diagnostics serve different roles.
42.A chain has a stationary distribution π. Does starting from an arbitrary fixed state make every finite-time draw already distributed as π?
Show answer and explanation
- Yes; stationarity of π guarantees that for all starts.
- No; initialization can matter.
- Yes; one accepted move removes initialization.
- No; chains can never have distribution π.
Answer: No; initialization can matter.
An invariant distribution stays invariant if used initially. It does not mean every other initial distribution becomes π after one finite step.
43.Four chains started far apart remain in different modes, yet each has a stable-looking within-chain mean. What remains a concern?
Show answer and explanation
- Only the count of accepted proposals
- A guarantee each chain's mean equals the global mean
- Only a different storage order
- Poor between-mode exploration
Answer: Poor between-mode exploration
Within-chain stability can coexist with failure to explore the full target. Compare chains and investigate multimodality rather than trust one stable trace.
44.An MCMC standard error uses raw draw count despite strong positive serial correlation. What is a likely problem?
Show answer and explanation
- An exactly zero sample variance
- Guaranteed conservative uncertainty
- Elimination of estimator bias
- Overstated precision
Answer: Overstated precision
Positive correlation can reduce the information in a mean relative to independent draws. Use a dependence-aware variance estimate or appropriate ESS.
45.A supplied approximation uses ESS=N/τ, with τ=1+2Σρₖ. If N=2,000 and τ=5, what is ESS?
Show answer and explanation
- 10,000
- 400
- 5
- 1,995
Answer: 400
The supplied ratio is 2000/5=400. The autocorrelation quantity must be estimated suitably for the target functional.
46.For a stationary AR(1)-like sequence, the supplied τ is (1+ρ)/(1−ρ). With ρ=0.6 and N=1,000, what approximate ESS follows?
Show answer and explanation
- 4,000
- 250
- 400
- 600
Answer: 250
τ=1.6/0.4=4, then ESS=1000/4=250. This calculation relies on the supplied autocorrelation model.
47.An estimator has negatively correlated draws. Can an appropriate effective sample size exceed the number of draws?
Show answer and explanation
- No; negative correlation makes variance undefined.
- Yes; that proves independence.
- No; ESS is always a count of stored records.
- Yes, for the particular estimated functional.
Answer: Yes, for the particular estimated functional.
Anticorrelation can reduce variance below an independent-draw comparison. ESS is an efficiency diagnostic, not literally a count of distinct records.
48.A chain has high ESS for the mean but poor tail exploration. What should a tail-probability report use?
Show answer and explanation
- Only the total number of iterations
- A guarantee all functionals share one ESS
- Only mean ESS
- Diagnostics for the tail quantity
Answer: Diagnostics for the tail quantity
Dependence and exploration can affect functionals differently. Mean efficiency does not automatically establish accurate tail estimates.
49.An MCMC run reports R-hat near one. Which conclusion is too strong from that diagnostic alone?
Show answer and explanation
- Convergence to the correct target is proved.
- Implementation correctness still requires evidence.
- Additional diagnostics may still be useful.
- No large discrepancy was detected by that diagnostic.
Answer: Convergence to the correct target is proved.
A favorable diagnostic is evidence within its sensitivity and setup. It does not prove global exploration or correct implementation of the target.
50.Adaptation changes a sampler during warmup. Why is warmup usually distinguished from the final stationary analysis phase?
Show answer and explanation
- Warmup observations have no numerical values.
- Every warmup draw is independent by definition.
- Keeping warmup always halves variance without consequences.
- The sampling mechanism and initialization are evolving.
Answer: The sampling mechanism and initialization are evolving.
Adaptation and initialization can make warmup draws unsuitable for the intended stationary summary. The actual algorithm and analysis convention matter.
51.A sampler rejects a proposal. In a standard Metropolis chain, what happens to the stored state for that iteration?
Show answer and explanation
- The proposed state is stored anyway.
- The rejection is removed from time without accounting.
- A uniform random state replaces the chain.
- The current state is repeated.
Answer: The current state is repeated.
A rejection is a self-transition. Dropping repeated states and treating accepted values as the original chain changes the sampling distribution of recorded visits.
52.A symmetric Metropolis proposal moves from target density 0.2 to 0.5. What is the acceptance probability under
min(1,π_new/π_old)?Show answer and explanation
- 1
- 2.5
- 0.4
- 0.3
Answer: 1
The ratio is 2.5, capped at one. This formula uses the supplied symmetry premise.
53.A proposal is asymmetric, but acceptance uses only the target-density ratio. What factor may be missing?
Show answer and explanation
- The final chain mean
- The reverse-to-forward proposal ratio
- The random seed's numerical size
- The total number of saved draws
Answer: The reverse-to-forward proposal ratio
Metropolis–Hastings acceptance accounts for q(old given new)/q(new given old). Omitting it can change the invariant distribution.
54.A random-walk sampler accepts nearly every proposal but moves by extremely tiny distances. What should be evaluated?
Show answer and explanation
- Only the acceptance percentage as an objective
- A proof of independence after every step
- Exploration efficiency
- A guarantee the step size is optimal
Answer: Exploration efficiency
High acceptance can coexist with highly correlated, slowly exploring draws. Assess effective information and exploration rather than maximize acceptance alone.
55.A chain is thinned by retaining every tenth draw. What does thinning alone generally not guarantee?
Show answer and explanation
- Changed spacing between retained states
- Fewer retained draws
- More information per unit computation
- Reduced storage
Answer: More information per unit computation
Discarding observations can reduce correlation between retained draws but does not create information. Assess the actual efficiency and storage tradeoff.
56.A researcher discards the first half of a chain, then declares bias impossible. What should be reconsidered?
Show answer and explanation
- Whether the remaining chain has explored the target adequately
- Only the output array's new length
- Only whether half the records were deleted
- A guarantee fixed burn-in fractions prove convergence
Answer: Whether the remaining chain has explored the target adequately
A fixed discard rule is not a convergence proof. Initialization effects, mixing, and target correctness still need assessment.
57.Four chains share the same seed and identical initial state, producing identical trajectories. What is weakened in between-chain diagnostics?
Show answer and explanation
- Independent evidence about exploration
- The ability to compute each chain's mean
- The definition of a stationary distribution
- The number of columns in the trace table
Answer: Independent evidence about exploration
Identical trajectories do not provide distinct exploration evidence. Multiple-chain diagnostics need a suitable initialization and random-stream design.
58.A sampler's target log density omits a parameter-dependent normalization term. What can happen?
Show answer and explanation
- It samples the wrong target.
- The omitted term always cancels in acceptance ratios.
- Only every log density shifts by one common constant.
- Longer chains necessarily repair the omission.
Answer: It samples the wrong target.
Only constants independent of the sampled parameters cancel harmlessly. A parameter-dependent omission changes relative target probabilities.
59.A parameter is transformed from x>0 to z=log x. A density is evaluated on z without the required transformation adjustment. What is at risk?
Show answer and explanation
- Only the order of printed samples
- A guarantee all modes remain unchanged
- Only the chain's storage capacity
- The intended target distribution
Answer: The intended target distribution
A density under change of variables includes the appropriate Jacobian factor. Merely relabeling the variable can target a different distribution.
60.A posterior mean estimate changes materially when chains are lengthened, beyond its earlier reported Monte Carlo error. What should be investigated?
Show answer and explanation
- Only the ordering of trace columns
- Only the number of printed significant digits
- Mixing and uncertainty estimation
- A guarantee the earlier interval was exact
Answer: Mixing and uncertainty estimation
Unexpected instability can reveal inadequate exploration or an unreliable error estimate. More draws are evidence to assess, not a reason to conceal the earlier discrepancy.
61.A bootstrap resamples individual rows from time-series data with strong serial dependence. What assumption is questionable?
Show answer and explanation
- The number of original observations
- The use of any random resampling whatsoever
- The ability to compute a sample average
- Treating rows as exchangeable independent units
Answer: Treating rows as exchangeable independent units
Resampling should represent the dependence relevant to the inference. Block or model-based approaches may be more suitable than iid row resampling.
62.Measurements are nested within 30 independently sampled sites. To assess site-to-site sampling uncertainty, what is a relevant resampling unit?
Show answer and explanation
- Only the largest site
- An arbitrary single measurement across all sites
- Each numeric digit of an observation
- The site
Answer: The site
Cluster resampling preserves within-site dependence under suitable design assumptions. Treating all measurements as independent can exaggerate information.
63.A Bayesian credible interval and a frequentist confidence interval have the same endpoints. What still differs?
Show answer and explanation
- Their inferential interpretation
- The ordering of lower and upper values
- The units of the parameter necessarily
- The printed numeric endpoints
Answer: Their inferential interpretation
A credible interval describes posterior probability under a model and prior. Confidence coverage concerns a repeated-sampling procedure under its assumptions.
64.A narrow uncertainty interval is computed under an input distribution that excludes plausible extreme conditions. Which next check targets the missing scientific premise?
Show answer and explanation
- Only increase draws to shrink Monte Carlo error.
- Assess whether the input model covers relevant conditions.
- Only report more digits from the existing interval.
- Treat the narrow interval as proof of input-model coverage.
Answer: Assess whether the input model covers relevant conditions.
A precise calculation conditional on an incomplete input distribution does not establish adequate scientific coverage. Review the input model and relevant conditions; more draws alone address sampling error.
65.A surrogate model is treated as exact in uncertainty propagation, despite substantial approximation error. What is omitted?
Show answer and explanation
- The mean of the chosen input distribution necessarily
- Only the number of sampled inputs
- Surrogate uncertainty or discrepancy
- The definition of the output variable
Answer: Surrogate uncertainty or discrepancy
Propagating input variation through a surrogate does not automatically account for the surrogate's own errors. Those need separate assessment or representation.
66.A ratio estimator estimates E[A]/E[B], but its error calculation ignores uncertainty in B. What can be understated?
Show answer and explanation
- The physical units of A necessarily
- The observed count of paired draws
- The exact number of numerator values
- Uncertainty in the ratio
Answer: Uncertainty in the ratio
The denominator and its covariance with the numerator affect ratio uncertainty. Treating an estimated denominator as fixed can be misleading.
67.A nonlinear output g(X) is approximated by g(E[X]). What equality cannot be assumed in general?
Show answer and explanation
- E[2X]=2E[X]
- E[g(X)]=g(E[X])
- E[X−X]=0
- E[X+1]=E[X]+1
Answer: E[g(X)]=g(E[X])
Expectation commutes with affine transformations, but not arbitrary nonlinear ones. For example, variance makes E[X²] differ from E[X]².
68.A simulated output has mean 3 and variance 2. What is its second moment E[X²]?
Show answer and explanation
- 9
- 11
- 5
- 1
Answer: 11
Var(X)=E[X²]−E[X]², so E[X²]=2+3²=11.
69.Two uncertain inputs are strongly correlated, but propagation samples them independently from correct marginals. What is changed?
Show answer and explanation
- The numerical precision of each input automatically
- Only the marginal means
- Only the number of simulated trajectories
- The joint input model
Answer: The joint input model
Matching marginal distributions does not preserve dependence. Output variability and tail behavior can depend strongly on the joint structure.
70.A sensitivity study varies one factor at a time and never examines combinations. What may it miss?
Show answer and explanation
- The ability to assign units
- Every main effect necessarily
- Interactions between factors
- The number of factors in the model
Answer: Interactions between factors
An output can depend on joint changes even when isolated changes appear small. The design must support the interaction claims being made.
71.A model has f(x₁,x₂)=x₁x₂ near (0,0). Varying either factor alone while holding the other at zero gives no change. What does varying both reveal?
Show answer and explanation
- A guarantee the output is additive
- A proof both factors are globally irrelevant
- An interaction missed by that local one-factor study
- A numerical rounding defect necessarily
Answer: An interaction missed by that local one-factor study
Along either coordinate axis the product is zero, but joint nonzero changes alter it. Isolated local effects do not describe this interaction.
72.An uncertainty study reports only a mean for a highly skewed cost distribution. What additional summaries can clarify risk?
Show answer and explanation
- Only more digits in the mean
- Quantiles and relevant tail measures
- A guarantee the mean equals the most likely outcome
- Only the random seed value
Answer: Quantiles and relevant tail measures
A mean can hide skewness and rare large values. Summaries should match the decision and include suitable uncertainty in tail estimates.
73.A simulated distribution has a wide prediction range, while its mean is estimated very precisely. Are those statements compatible?
Show answer and explanation
- No; every uncertainty measure must equal the standard error.
- Yes; that proves the input model is correct.
- Yes; they describe different quantities.
- No; a precise mean forces every outcome close to it.
Answer: Yes; they describe different quantities.
Outcome spread and uncertainty about a mean are distinct. Many independent draws can precisely estimate the mean of a broad distribution.
74.A posterior interval narrows greatly when a strong prior is added to weak data. What should reporting distinguish?
Show answer and explanation
- Only the posterior sample's storage format
- Only the number of MCMC iterations
- Prior influence from information in the data
- A guarantee the prior supplied new observations
Answer: Prior influence from information in the data
A posterior can be concentrated because of its prior. This should not be described as precision established by observations alone.
75.A parameter sweep draws uniformly over a chosen box and reports the fraction satisfying a condition. What population does that fraction directly refer to?
Show answer and explanation
- The posterior distribution automatically
- The specified uniform input distribution
- Every physically possible input with equal scientific plausibility
- Only the single best-fitting parameter vector
Answer: The specified uniform input distribution
The sampling design defines the estimated probability. A convenient uniform box is not automatically a realistic uncertainty model.
76.A simulation-based study tunes parameters until a desired result appears, then reports only that run. What evidence is missing?
Show answer and explanation
- Only the final run's wall time
- Only a second rendering of the chosen output
- The selection process and broader results
- A guarantee the selected result represents typical behavior
Answer: The selection process and broader results
Outcome-driven selection can distort the apparent evidence. Report the design, selection rule, and relevant outcomes rather than present a selected run as unselected.
77.A simulation's test statistic is compared with a null distribution generated using parameters fitted to the same data. What must the calibration reproduce when relevant?
Show answer and explanation
- An assumption fitted parameters were known in advance
- Only the number of histogram bins
- The fitting step in the null procedure
- Only the final statistic's numeric type
Answer: The fitting step in the null procedure
A valid simulation calibration should match the actual procedure, including estimation when it affects the statistic's null distribution.
78.A Monte Carlo study generates 2,000 synthetic datasets to assess a 95% interval procedure. Coverage is estimated at 0.94. What is the approximate standard error using sqrt(p(1−p)/N)?
Show answer and explanation
- 0.0053
- 0.000028
- 0.06
- 0.047
Answer: 0.0053
Using the estimated coverage gives sqrt(0.94×0.06/2000)≈0.00531. Simulation error matters when comparing nominal and estimated coverage.
79.A coverage study uses datasets generated from the exact fitted model only. What remains untested?
Show answer and explanation
- The empirical coverage on those generated datasets
- Performance for the simulated model and settings
- Whether the code returned intervals in those runs
- Performance under model misspecification
Answer: Performance under model misspecification
Simulation findings are conditional on their data-generating design. Robustness claims need relevant departures, not only the assumed model.
80.A study simulates only sample sizes where a method is known to work well. What limits a broad performance claim?
Show answer and explanation
- Only the number of random seeds
- Restricted design coverage
- A guarantee all untested sizes behave similarly
- Only the displayed confidence level
Answer: Restricted design coverage
Scenario selection determines the scope of the evidence. Include scientifically relevant challenging regimes and disclose untested settings.
81.An estimate is recomputed after every draw, and collection stops the first time an ordinary fixed-n interval excludes zero. What should be reviewed?
Show answer and explanation
- Only the number of stored intervals
- Validity under sequential stopping
- Only the final estimate's sign
- A guarantee every fixed-n coverage statement survives optional stopping
Answer: Validity under sequential stopping
Repeated looks and outcome-dependent stopping can alter coverage or error rates. Use a procedure justified for the actual stopping rule.
82.A sequential Monte Carlo precision rule is planned before sampling. What should its error assessment account for?
Show answer and explanation
- Only the final draw count as if fixed in advance
- A presumption planning alone proves exact coverage
- The complete stopping procedure
- Only the initial pilot estimate
Answer: The complete stopping procedure
Preplanning is valuable but does not itself validate a procedure. The uncertainty method must match how sampling and stopping occur.
83.A rare event has probability 10⁻⁴. Under 50,000 independent trials, what is the expected event count?
Show answer and explanation
- 5
- 500
- 50
- 0.5
Answer: 5
The expectation is np=50000×10⁻⁴=5. A realized count can differ, and five expected events may give substantial relative uncertainty.
84.For a rare Bernoulli event, a supplied approximation is relative SE≈1/
sqrt(np). With np=25, what relative SE follows?Show answer and explanation
- 20%
- 4%
- 25%
- 5%
Answer: 20%
The approximation gives 1/√25=0.2. Accurate relative rare-event estimates can require many trials or suitable specialized methods.
85.A rare-event method reports a large speedup but never checks its likelihood-ratio correction on a known-probability case. What is unresolved?
Show answer and explanation
- Only whether more events were observed
- Correctness of the adjusted estimator
- A guarantee rare-event oversampling preserves the target automatically
- Only the count of proposal draws
Answer: Correctness of the adjusted estimator
Bias or an incorrect weight can mimic efficiency. Check the adjusted estimator on controlled cases as well as realistic scenarios.
86.A pilot estimates a variance used to allocate the final simulation budget. What should a reproducible analysis record?
Show answer and explanation
- A guarantee adaptation has no effect on analysis
- Only the largest pilot outcome
- Pilot design, allocation rule, and final sampling design
- Only the final total sample count
Answer: Pilot design, allocation rule, and final sampling design
Adaptive allocation can be sound, but its construction and actual design must be documented and analyzed appropriately.
87.A study compares 100 methods and reports only the largest apparently significant improvement. What should evaluation address?
Show answer and explanation
- Only the smallest reported p-value
- A guarantee one selected comparison retains its nominal error rate
- Multiplicity and selection
- Only the winning method's standard error
Answer: Multiplicity and selection
Searching many comparisons increases opportunities for favorable noise. Suitable confirmation or multiplicity-aware analysis is needed.
88.Paired differences have sample standard deviation 2 across 400 independent scenario pairs. What is the standard error of the paired mean difference?
Show answer and explanation
- 2
- 0.1
- 0.01
- 0.2
Answer: 0.1
The standard error is 2/√400=2/20=0.1. The pairs, not the individual values within a pair, are the independent units here.
89.Two separately estimated policy means have overlapping 95% intervals. Does that alone determine the interval for their difference?
Show answer and explanation
- Yes; overlap proves no difference.
- Yes; overlap proves the means are equal.
- No; differences can never have confidence intervals.
- No; dependence and the difference's variance matter.
Answer: No; dependence and the difference's variance matter.
The uncertainty of a difference depends on covariance and the estimation design. Separate interval overlap is not a general test of the paired contrast.
90.A method reduces variance per draw but increases setup cost substantially. What matters for a small one-off study?
Show answer and explanation
- Total error-cost tradeoff including setup
- A guarantee lower variance is always worth any setup
- Only asymptotic variance per draw
- Only the fastest post-setup iteration
Answer: Total error-cost tradeoff including setup
Setup may dominate at small budgets. An efficiency advantage at large scale need not hold for one short study.
91.A simulation uses one seed across a parameter sweep so responses can be compared on matched randomness. What must still be controlled?
Show answer and explanation
- Only equal output-vector lengths
- A guarantee every branching simulator consumes randomness identically
- Only the seed integer
- How random variates map to corresponding scenarios
Answer: How random variates map to corresponding scenarios
Different control flow can consume streams differently. A common seed does not alone ensure scientifically meaningful pairing across conditions.
92.Parallel workers are all initialized from an identical generator state and simulate equal tasks. What may be wrong with treating outputs as independent?
Show answer and explanation
- Their nominal task count is undefined.
- Every worker must use a different scientific model.
- Parallel scheduling automatically creates independence.
- They can repeat the same random sequence.
Answer: They can repeat the same random sequence.
Identical streams can duplicate realizations across workers. Use a documented stream-splitting or task-based generation scheme appropriate to the study.
93.A task-based RNG assigns randomness by stable simulation ID rather than whichever worker runs first. What reproducibility benefit is intended?
Show answer and explanation
- Proof of a correct scientific model
- Results less dependent on scheduling order
- Zero probability of every possible stream collision
- An automatic reduction of estimator variance
Answer: Results less dependent on scheduling order
Stable task identities can preserve random assignments when scheduling changes. Stream construction and generator assumptions still need qualification.
94.Two runs use the same seed but different random-generator algorithms. What should be expected without a compatibility guarantee?
Show answer and explanation
- The sequences must match bitwise.
- Equal seeds force equal sample means.
- The algorithms must estimate different mathematical targets.
- The draw sequences may differ.
Answer: The draw sequences may differ.
A seed is interpreted by a generator algorithm and state scheme. It is not a universal sequence identifier across implementations.
95.A simulator is rerun with the same seed and returns the same estimate. What does this directly support?
Show answer and explanation
- Small Monte Carlo error
- Lack of model discrepancy
- Repeatability under that setup
- Independent replication with fresh randomness
Answer: Repeatability under that setup
A repeated random stream can reproduce a realization. It does not provide new random evidence or certify accuracy of that realization.
96.A distributed study saves only successful tasks, omitting failed task IDs. Why can this hinder inference?
Show answer and explanation
- The analyzed sampling design cannot be reconstructed reliably.
- Every failure must represent a rare event.
- Only the runtime summary becomes less precise.
- The observed mean is automatically unbiased.
Answer: The analyzed sampling design cannot be reconstructed reliably.
Failure handling, retries, and missing tasks can affect the retained distribution. Stable IDs and status records help audit the actual sample.
97.A Monte Carlo output is rounded to integers before variance estimation, even though the target is continuous. What should be checked?
Show answer and explanation
- Only the number of parallel workers
- A guarantee rounding preserves all moments
- Error introduced by quantization
- Only the seed's entropy
Answer: Error introduced by quantization
Rounding can alter means, variances, and tail probabilities. It is an additional approximation, not merely a presentation choice when done before analysis.
98.A confidence interval is much narrower than the estimated discretization bias of the simulator. What should the scientific uncertainty statement include?
Show answer and explanation
- Only the confidence interval's sampling width
- A claim that the narrow interval proves physical accuracy
- Both sampling error and numerical-bias assessment
- Only the largest random draw
Answer: Both sampling error and numerical-bias assessment
A precise estimator of a biased numerical model can be misleading. Distinguish sampling uncertainty from discretization and model errors.
99.A nested simulation estimates a nonlinear function of an inner expectation using only a few inner draws. What can remain even with many outer draws?
Show answer and explanation
- A guarantee the nested estimate is unbiased
- Bias from the noisy inner approximation
- Only a shortage of outer records
- Only an uncertainty in the task count
Answer: Bias from the noisy inner approximation
A nonlinear function of an estimated expectation need not have the desired expectation. Outer replication does not automatically remove fixed inner-sample bias.
100.Two policies are simulated on 100 independent matched scenarios. Their paired differences have mean 0.4 and sample standard deviation 1.5. Using mean ±1.96 SD/√n, what interval follows?
Show answer and explanation
- [0.204, 0.596]
- [0.106, 0.694]
- [−2.54, 3.34]
- [0.385, 0.415]
Answer: [0.106, 0.694]
SE=1.5/10=0.15; the margin is 1.96×0.15=0.294. The paired construction is the relevant analysis unit.
101.A two-state Metropolis chain targets P(A)=0.8 and P(B)=0.2. Its symmetric proposal always switches states. Acceptance is 0.25 from A to B and 1 from B to A. A logger records only accepted transitions, so recorded states alternate. What does their unweighted long-run frequency estimate?
Show answer and explanation
- The 80/20 target, because acceptance was correct.
- A 20/80 distribution, obtained by reversing the target.
- A point mass at B, because proposals to B can be accepted.
- A 50/50 accepted-state distribution, not the 80/20 target.
Answer: A 50/50 accepted-state distribution, not the 80/20 target.
Accepted transitions necessarily alternate A and B, yielding equal counts apart from an endpoint. The full chain includes repeated states after rejection; omitting those holding times changes the empirical occupancy distribution.