# Questions tagged [sampling]

Questions about the statistical process of sampling from a population, in order to obtain information for use in statistical learning, estimation, hypothesis testing about some population or process.

964 questions
Filter by
Sorted by
Tagged with
24 views

### survey data- is there a general formula for the probability that two people are at the same place at the same time?

I have survey data of interviews with people at certain outdoor recreation sites. The survey records the amount of time each interviewer spends at a site, and each person surveyed at the given site is ...
38 views

### What sample size is needed to ensure a majority?

The results of a sample of voters showed that $55\%$ voted for a given candidate. It was determined that at a confidence level of $0.95$ that candidate would be the winner (i.e. would receive the ...
21 views

### How to correctly sample lines from large file when order and lines count are unknown?

Input: potentially large file with text lines lines count is unknown, naive assumption gives range maybe more than 100K lines, but less than 400K it's unknown if lines are sorted or not it's fine to ...
19 views

30 views

### Probabilistic heat diffusion on spherical shell

I'd like to sample random paths to approximate the solution to the heat equation on the unit sphere shell. Specifically, I'd like to solve $u_t = \alpha\Delta u$ with some initial condition $u_0$. ...
How can I generate random samples with distribution density function $f(x) = min\{ 1, 1/x^4\}$ ? I know I may use the composition method as the website described, but I have no idea how to use it. ...
So I need to create a discrete low pass filter. For continuous-time $x(t) \leftrightarrow X(jw)$ and discrete-time $x[n] \leftrightarrow X(e^{j\omega})$, the problem is not too difficult. But for ...