1
vote
1answer
24 views

Random points inside a convex polytope

Given a convex polytope, defined by set of vertices $P = \{\mathbf{x}^{(i)}\}_{i = 1}^n, x^{(i)} = (x^{(i)}_1, x^{(i)}_2, \dots, x^{(i)}_d): \operatorname{conv}(P) = P$. How to generate uniformely ...
0
votes
0answers
14 views

Spherical Sampling of Projected Disk

Given a 2D solid disk centered at some 3D point $\vec{x}$ with radius $r$ and normal $\vec{N}$, I need to compute a random unit vector from the origin that hits the disk. The vector needs to be ...
0
votes
1answer
71 views

Sample uniform direction within cone

My question is pretty much the same as this question below, however I came up with a potential solution to this problem that I didn't see an answer to in the other question and I was wondering if it ...
0
votes
0answers
226 views

Simulate random sampling with replacement

Any ideas on how to approach this problem? (Due to Karp) Consider a bin containing d balls chosen at random (without replacement) from a collection of n distinct balls. Without being able to see or ...
3
votes
2answers
234 views

Simple random sampling without replacement of huge dataset

For an application I'm working on, I need to sample a small set of values from a very large data set, on the order of few hundred taken from about 60 million(and growing). Usually I use the technique ...
2
votes
0answers
92 views

Approximability of continuous sampling by discrete sampling - definitions?

Are there standard definitions that express the notion that sampling from a given continuous random variable can be approximated "to any desired degree of accuracy" by sampling from an appropriately ...
2
votes
1answer
89 views

$\chi^2$ test and sampling variance

Let $f(x)$ denote the pdf of a $\chi^2$-distribution with $n\in\mathbb{N}$ degrees of freedom given by $$f(x) = \frac{2^{-n/2}}{\Gamma(n/2)}\cdot x^{n/2-1}\cdot\mathrm ...
3
votes
0answers
417 views

Notation for sampling random variate

Is there standard notation for sampling a value from a probability distribution? Like, if I had a random variable $X$, setting $x$ to whatever value I happened to sample from $X$ on this occasion? I ...
5
votes
1answer
302 views

How is a Halton sequence related to a Latin hypercube?

I currently use a Halton sequence to choose parameter sets for a prognostic model (e.g. using metabolic rate and protein content parameters to predict growth rate). From my understanding, both a ...