Skip to content
Quantoros

Map a unit-cube coordinate u=0.25 into the interval [10,18].

MathematicsLevel: FoundationSimulation design

Map a unit-cube coordinate u=0.25 into the interval [10,18].

Hints
  • Multiply by interval width.
  • Then add the lower bound.

Answer

10+(18−10)×0.25=12. Use an affine map per coordinate; nonuniform target distributions instead need an appropriate distribution transform.

Source and licence: SciPy — quasi-Monte Carlo designs · BSD-3-Clause · answer: Quantoros editorial

Related questions