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,493 questions
Filter by
Sorted by
Tagged with
43 views

Difference between Sampling a population Vs Bootstrapping

I am finding it difficult to understand the concept of Bootstrapping in statistics . I know what sampling is , that is , taking a 'sample_size' number of observations from a population to estimate ...
45 views

What is the Sampling Design and how to take sampling weights?

I wan to know what is is the sampling design here (situation is also depicted in the figure below) City is divided into urban and rural domains Each domain is divided into blocks Each block contains ...
37 views

Cross Validation in an Imbalanced data set [duplicate]

What is the point of oversampling an imbalanced data set if the ratio of the classes needs to be preserved in Cross validation ? If I have 1000 rows in a data set where 800 rows belong to one class ...
43 views

Why check for normality of data in a sample?

from what I understand the assumption of normality (that must be assumed if one wants to use parametric tests) refers to the sampling distribution of the mean. It does not imply that the distriubtion ...
37 views

Are random sampling with replacement methods (like bootstrapping) really representative of the population?

In many statistics courses, bootstrapping (and other random sampling with replacement methods) are suggested as ways to improve the confidence level in a statistic and improve our inference. Some even ...
18 views

what is the best sampling procedure to use? (stratified)

all, i am a little confused on what sampling method to use. i am doing a classification problem where i am trying to classify a person as having cancer or not. there is apparently huge variance in ...
145 views

Metropolis-Hastings: target distribution with two modes; deterministic transformation

I'm trying to construct a Metropolis-Hastings algorithm to sample a target distribution $p(x)$ with two different and isolated modes. The example I'm working with is p(x) = \frac{\...
23 views

Interpretation of sampling distribution as the main distinction between Bayesian and classical statistics (Leamer)

In Hendry et al. (1990) p. 187-188, Edward Leamer says: To me the essential difference between the Bayesian and a classical point of view is not that the parameters are treated as random variables, ...
54 views

Uniformly distributed VAE samples

I am currently working on a VAE to generate images (for simplicity MNIST). If I understand the theory correctly, the latent variables follow a gaussian normal distribution in the dimensions of the ...
9 views

Finding a representative sample with the same mean/distribution of a numeric variable

I'm trying to find a representative sample from a population of about 3100. I checked out sample-size calculators and a sample of about 1,000 seems to be the size I want for confidence/margin of error....
443 views

Central Limit Theorem - Rule of thumb for repeated sampling

My question was inspired by this post which concerns some of the myths and misunderstandings surrounding the Central Limit Theorem. I was asked a question by a colleague once and I couldn't offer an ...
16 views

Math support for implementation of weighted random sampling

I read a paper introducing an implementation of WRS(weighted random sampling) https://utopia.duth.gr/~pefraimi/research/data/2007EncOfAlg.pdf However I was struggling to understand if algorithm A is ...
14 views

How to simulate random sample over large set by randomly sampling non-overlapping subsets

I've got a large corpus of video, and I want to randomly sample frames over the whole corpus. A naive way to do this is convert all videos to a giant set of images with ...
28 views

Terminology: Data sample vs statistical sample

I am writing an eye tracking paper that involve both "samples" as used in signal theory (e.g "the sampling rate was of 50 samples per second) and statistical samples. A reviewer is ...
8 views

Multi-categorical set balancing

I have a particular mathematical problem that I would name as multi-categorical set balancing. I don't think this is a new problem but I do not know the correct term for it, therefore I am also ...
27 views

Sampling with python statsmodels ARIMA package [closed]

Assume I have a model following ARIMA(p,q,d) with statsmodels package of python. Given a time series given by a numpy array "serie", the code looks like: ...