# Questions tagged [sampling]

Creating samples from a well-specified population using a probabilistic method and/or producing random numbers from a specified distribution. As this tag is ambiguous, please consider [survey-sampling] for the former and [monte-carlo] or [simulation] for the latter. For questions regarding creating random samples from known distributions, please consider using the [random-generation] tag.

2,266 questions
Filter by
Sorted by
Tagged with
8 views

### how to choose a sample?

I need to review 600 exams with burbles by hand (I have a software to read them all). How many exams do I need to review in order to have 95% of chance of my software is working properly? I think ...
32 views

### Problem of unbalanced data

unbalanced data is an issue that can effect the performnce of classification model ,several remides can be done to balance the data two of them are upsampling and downsampling , my questions is : how ...
22 views

### probability sampling calculating probabilities

Consider a population with 10 elements , N:{0,1,2,3,4,5,6,7,8,9}. The probability of drawing ...
6 views

### Seasonality affects samples on a heterogeneous system?

In a time window of a year, suppose that a social networks has a bimodal normal distribution that peaks at April and October approximately. Being a heterogenous social network, it has different types ...
21 views

### Standard deviation in Direct-Sampling

In a computational physics course, I was asked to do direct-sampling for the numerical value of $\pi$ and then I estimated the standard deviation of $\pi$ , ...
17 views

### statistic significance of proportions

Let's assume someone buys a bag of smarties, and finds that it includes 22 brown candies 19 red candies 16 yellow candies 15 blue candies 8 green candies How can we use a test of significance to ...
23 views

### How is random sampling done in practical terms with a large population (e.g,. people suffering from arthritis in the US)?

my first post here. I'm studying statistics and we are learning about random sampling but I don't understand how what I am learning is applicable to the real world. Are there stat books or articles ...
7 views

### Multi-arm RCT Sample Size External and Internal valid

I am trying to figure out the sample size for a multi-arm Randomized Control Trial (non-clinical) that will have internal validity and representative of the population, say; population X Any ...
24 views

### Is that possible that I use an arbitrary prior distribution that is not conjugate to the likelihood and do mcmc sampling?

In Bayesian Statistics, we can use conjugate priors to the likelihood functions, then we can get the posterior distributions which are the same distributions as the prior distributions. I wonder ...
12 views

### Gains on test data set higher than that on training data set post balancing

I have an imbalanced data set (96-4 split between No and Yes cases). I am trying to build a decision tree model for classification after balancing my data set(tried different thresholds for ...
9 views

### Correctly Specifying C=0 Sampling Plan

I looking for a little help with how to go about specifying/requiring the use of a C=0 sampling plan on an engineering drawing. In the past, we have typically been able to refer to a standard, for ...
46 views

### Random Walk Metropolis Hastings implementation in R using log scale

Context I looked literally everywhere but I couldn't find a complete implementation of the Random Walk Metropolis-Hastings algorithm using the log scale. By log scale I mean that we are working with ...
18 views

### 2-dimensional inverse transform sampling [closed]

Let $M\subseteq\mathbb R^3$ be a disjoint union of orientable surfaces. In Monte Carlo ray tracing, we sample a surface point $p'\in M$ by drawing a random direction $\omega_{\rm i}\in S^2$ on the ...
13 views

### sample size advice for matching nominal variables

I have two databases of patients and medications. Each database has the same patients. Both have millions of records. My job is to select a sample from each and confirm that the medications match. ...
30 views

### Sampling from unknown probability distribution [duplicate]

I'm reading about Monte Carlo methods. Suppose that $X_1,...,X_n$ are i.i.d $p(x_i|\theta)$, where $\theta$ is an unknown parameter of interest. My textbook states: Suppose we could sample some number ...
33 views

24 views

40 views

### validation of survival analysis model

I am currently looking for evaluating/validating a survival analysis model on quite highly right censored data set. The thing is that i have many individuals in the data set. I wanted to use c-index ...
23 views

### type of sampling required

I have to write a commentary on an article about R-E-A-D dogs and their effect on reading ability in children. The article says that for this study 19 children entering the second grade were ...
20 views

### Why the nodes in a Boltzmann machine need to be sampled one at a time?

Typically, we use Gibbs sampling to update (or generate samples from) energy based models. This means we update each node while keeping its markov blanket constant. Why can't we update/sample all ...
26 views

### How to conceptually think about repeated sampling with instrumental variables?

Say I am using rainfall during a protest as an instrument for political participation on some outcome y. When thinking conceptually about the sampling distribution, what does this mean here? Is it ...
24 views

### How to Test Sampling Methods

Suppose I have a population, $P$, of 100 individuals and I am devising 3 algorithmic methods to sample 20 people from said population: $A$, $B$, and $C$. We know that $C$ is a random, unbiased ...
35 views

### I have two sampling techniques $\varphi_1,\varphi_2$. Given $x=\varphi_1(u)$ can I compute a $v$ with $x=\varphi_2(v)$?

I have two sampling surjective techniques $\varphi_1,\varphi_2:[0,1)\to E$ mapping a random number $u\in[0,1)$ to a sample in a measurable space $(E,\mathcal E)$. Say $u\in[0,1)$ and $x:=\varphi_1(u)$...
19 views

### kl divergence of two different distributions of subsets

Suppose there is a set $S=\{1, 2, 3, ..., n\}$, then I need a distribution of its subsets with fixed size k, which can be denoted as $A=\{x_1, x_2, ..., x_k\}$ where $x_1$ to $x_k$ are from 1 to n. ...
25 views

### Sample size for the evaluation of Deep Learning Models

I'm evaluating the performance and accuracy in detecting objects for my data set using three deep learning algorithms. In total there are 24,085 images. I measure the performance in terms of time ...
33 views

### Why is it difficult to sample from Energy Based Models?

I am trying to understand the following claim which is made in the Deep learning book by Goodfellow et. al about a toy energy-based model (with the apparent motivation of introducing Markov Chain ...
26 views

### More efficient estimator in this situation?

I am thinking about the following situation (it is an example): There are N families in a city and we have a simple random sample of size n. In that sample we know that there are $x_{0}$ families with ...
37 views

### What does MCMC do during burn-in period?

I am studying mcmc and I am wondering what mcmc does during burn-in period. And also what is the difference during burning period and after the burn-in period?
31 views

### What is the role of simulated annealing in Gibbs sampling?

While I was reading about Gibbs sampling, I happened to see "simulated annealing" but what is it doing in Gibbs sampling? Although I don't understand the full context of simulated annealing, I am ...
25 views

### Does MCMC Gibbs sampling algorithm first build a steady Markov Chain, then does the sampling to build the posterior distribution?

I am currently studying MCMC Gibbs sampling and while reading this part, a question has come into my head if MCMC Gibbs sampling first build a steady Markov Chain and does the sampling or does ...
43 views

### Complex survey design

I am currently analyzing a dataset resulting from a complex survey design. Individuals have been selected from a three-stage cluster sampling design with two strates (that have been combined to result ...
12 views

### Count distinct from a bootstrapped sample

I have a dataset of N items, with attribute V which can be repetitive, for example: ...