# 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.

3,280 questions
Filter by
Sorted by
Tagged with
10 views

### 5 vs 3 measurments of one parameter

Hellow, smart people of the internet, I have a question: We are doing a study of 170 people- where 20 parameters will be measured 3 times over 2years and the median of every parameter will be compared ...
42 views

### Should I normalise a sample drawn from a skewed population?

I am interested in the effect of the number of inhabitants of political entities on certain political behaviours within these entities. It happens that the number of inhabitants is not evenly ...
• 23
1 vote
13 views

• 277
1 vote
31 views

### simple random sampling and in-group comparison

We are conducting an A/B test on our hosting site where we sell four different plans (A, B, C, and D). Visitors to our site are randomly assigned to either a base UI (control) or a modified UI (...
• 201
25 views

### Confidence intervals when using stratified proportionate random sampling

I have hypergeometric distribution with population size N. I need to estimate population proportion p. I would like to use confidence interval. I have also three non-overlapped groups in my population....
• 1
20 views

### Calculate model with two sets of survey weights for the same population

I am working with a double set of survey weights for the same population X. The survey is probabilistic, stratified, multi-staged. Respondents have to answer two sets of questions: questionnaire A and ...
63 views

### Quantile regression with sampling weights in R

I am trying to implement quantile regression with sampling weights in R for my analysis. I know in lm() and glm() in R, standard ...
• 51
12 views

### How to estimate the expected bin size "N" from "q" unique values among "p" draws, with replacement?

I have a set/bin/bucket containing an unknown N number of balls. Each elements ("balls") are assumed to have the same probability of being picked up. I ...
• 346
27 views

### Sampling without replacement - dependent or independent?

I sampled without replacement. I sampled individual animals across several time points. I want to know whether there is statistical difference over time in the abundance of viral infections in the ...
19 views

### Transformer model conditional probability distribution of sub-sentences

I have a simple transformer model (decoder only) which is trained on some dataset containing sentences to do next-word prediction. The model captures a probability distribution $P_{\theta}(\mathbf{a})$...
1 vote
11 views

### Need of complex sample analysis for a stratified random sample with clusters

I presented the baseline findings of our cluster-randomised RCT in a cross-sectional paper. The cross-sectional study used stratified random sampling design with clusters as sampling unit. There were ...
• 11
22 views

• 65
109 views

### Why is a frame needed for a simple random sample?

In an introductory Statistics textbook I read that a simple random sample (SRS) was unique amongst sampling techniques in that a frame was required. The textbook defines a frame as "a list which ...
1 vote
35 views

• 1
1 vote
33 views

### Stratified sampling across several variables individually

I am interested stratified sampling for the purposes of cluster validation. The purpose is to perform cluster analysis in a subset of the data and check to see if the precise distribution of variables ...
1 vote
31 views

### Should pseudoabsences ever be sampled with replacement?

I have a question about the validity of building models using sampling of data with replacement. My spatial models predict the suitability of habitat for an animal, based on binary presence or absence ...
• 11
18 views

### What is the distribution of sampled variance from a finite population?

Suppose there are certain sample mean x and sampled standard deviation sigma given N, then n number of data is sampled from this finite sample without replacement . The variance of the resampled ...
• 1
6 views

### Studying more than one sampling unit in a single randomization

So we have a list of organizations that dedicate themselves to a certain social service. Our goal is to ask both laborers and customers an overlapping(but not fully) set of questions for each one of ...
• 11
26 views

### Cluster sample or stratified random sample?

I've recently come across this problem in my textbook: To gather information about the validity of a new standardized test for high school juniors across the United States, a random sample of 20 high ...
• 105
21 views

### Sample Variance of the regression coefficient - why does it reduce for more dispersed data?

Thinking on this and I can't see an intuitive reason for this. Given $$Var(\hat{\beta}) = \frac{\sigma^2}{S_{xx}}$$ where $$S_{xx} = \sum_{i=1}^{n} (x_i - \bar{x})^2$$ Intuitively, if we have data ...
150 views

• 305
1 vote
38 views

### Is it possible to estimate the number of positives from precision and recall values?

Let's say, I have a binary predictor, and its performance in precision and recall is known from the previous study. Now, we apply the predictor on the new (unknown) dataset with 1000 samples, and got ...
• 113
71 views

### Sample a random subgraph from an undirected, unweighted graph, what's the probability of "every two nodes's distance is at least 3 in the subgraph"?

This may be a problem in sampling theory or graph theory. I have done many research but I still didn't find valid solutions. I know a simple random sample is representative of the population. Now I ...
• 305
42 views

### ABC (Approximate Bayesian Computation) Sampling, Simulating data from Complex models

In ABC sampling methods, Rejection, MCMC and SMC, when we sample potential parameter values from the prior/proposal, we then use those parameters on our model and simulate data values. This can be ...
• 63