The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [stratification]

A sampling technique in which the population of interest is partitioned into subsets ("strata") based on characteristics known at all units before sampling.

175 questions
Filter by
Sorted by
Tagged with
97 views

How to combine two sets of samples from an unnormalised distribution?

Imagine that I have an unnormalised distribution $P$ with density function $p(x)$ for $x \in \mathbb{R}^d$. $P$ has two well-separated modes and there are two sets of i.i.d. samples with the size $n$ ...
4k views

Target versus sampled population

I'm having a difficult time understanding the difference between target population and sampled population using stratified sampling. For example, say I want to run some statistics on university ...
197 views

How to construct confidence limits based on small stratified samples of finite populations?

Imagine a business wishes to audit its transactions. It has a database summarizing the transactions, which constitute a sampling frame for the population. It would be time-consuming and expensive to ...
17 views

Checking for regional effects in survey that is stratified according to region

I have access to two surveys of the population in a specific country - one where the country is divided into 10 regions that are used as sampling strata, and another one where the country is divided ...
55 views

Proof that the one-step estimator from logistic regression is the Mantel Haenszel estimator?

I was rereading some sections from the Breslow and Day IARC publication and noted the following: Clayton (1982) has shown that [the Mantel Haenszel] estimate arises at the first stage of ...
154 views

How to adjust for confounding variables across different study periods?

I have a continuous & categorical outcome variables in three groups of patients, where the groups are defined by time periods 2010-2011, 2012-2014, 2015-2016. I found out that age and gender are ...
522 views

Stratified random sampling when strata overlap

I am sure the title might be confusing, but here is what I am dealing with: I am running a survey at a health care center. The health center has around 15k active visitors. There are 5 departments ...
92 views

Sample stratified according to region - how representative is this sample on the regional level?

I am doing a survey analysis of a specific country, and I am interested in comparing different regions of that country. Generally speaking (if possible), when a sample is stratified according to ...
79 views

an alternative allocation method for small RCTs?

stratification and minimization are two randomization options to achieve balance in terms of covariates or baselines in small RCTs. in recent years, researchers seem to have favoured minimization, ...
453 views

Confidence intervals for stratified sampling

Let's suppose that I divided my population $N$ into 3 groups: $N_1$, $N_2$ and $N_3$ I used stratified sampling to get samples which are representativie for each group, let's call them $n_1$,$n_2$ ...
154 views

What is the right-way to perform permutation-test using known outcomes?

I have been reading permutation test in Wikipedia. There is no mention about stratified permutation. Is there something like stratified permutation test? ...
59 views

Is a regression model with various strata as parameters more accurate than strata sampling?

I am trying to understand the linked paper at ICSE 2008 (Namin et al. 2008). To provide an overview: A mutant is a variant program generated from a software program that has two distinct results -- ...
75 views

“Stratified” sampling of a population, where the subpopulations are based on a “count” instead of a category

I have a set of data that is essentially bowls with marbles in them. Each bowl can contain anywhere from 3 to hundreds of thousands of marbles. Many more bowls contain small numbers of marbles than ...
639 views

Stratified sampling when there are too many strata

I am working on a sampling exercise which involves both random and stratified sampling. The sampling is for a series of experiments run on multiple populations. Some experiments may run on the same ...
66 views

Stratified sampling without sampling

At school we talked about stratified sampling regarding scientific studies. I thought of a similar case: Let's assume you have 4 questions for a certain number of people. Each of those people should ...
512 views

How to do a stratified nonparametric test?

I'm trying to use the "coin" (conditional inference) package to perform a stratified nonparametric test for difference in distribution (for count data). I tried a stratified Mann-Whitney-Wilcoxon ...
210 views

Cluster Analysis on a Stratified Random Sample

I have a set $A$ that consists of 5 million objects. Each object has a color, size and cost. I'd like to do a cluster analysis, e.g. K-means, on cost. However, it is computationally not feasible to ...
43 views

Random sampling with different stages

I'd appreciate some help solving this sampling issue: I have select a random sample of people for a survey in a certain country. The country is divided in 6 regions. In total, there are 981 ...
2k views

Techniques to sample skewed distributions

I am trying to understand and study the techniques that are available for sampling data in skewed distribution. For the purpose of the question, lets assume we have data collected from a city where we ...
217 views

How to partition data with multiple categorical features?

I have a data set with size of 30k+, and it has several categorical features and also several numerical features. When I try to split the data into training/testing data set, I need to answer a ...
129 views

Difference in estimating treatment effect in experiment using regression with covariates and assuming the data come from stratified experiment?

Assume I only did a completely randomized experiment (CRE), i.e., $N$ subjects, I randomly assign $N_t$ (say $N_t=N/2$) of them to the treatment group and the rest to the control group. Now, after I ...
49 views

“Advanced” stratification of data in R [closed]

I have a data.frame with a column Material that has 7 different codes for 7 different materials: ...
191 views

Stratified Sampling Allocation

You believe that the mean electricity usage is about twice as much for houses as for apartments or condominiums, and that the standard deviation is proportional to the mean so that S1 = 2S2 = 2S3. How ...
287 views

Stratified or unstratified binary data

What is the difference between unstratified and stratidied binary data? How does the logistic model look like for each of them?
345 views

Stratified Analysis + Multiple Testing

I found this article, describing a systematic approach to stratified analysis: https://www.linkedin.com/pulse/conducting-stratified-analysis-test-confounding-navneet-dhand Test crude association ...
675 views

Minimum sample size in each strata of stratified random sampling

I am performing stratified random sampling on a population (country) containing ~20 strata (states). I need to calculate mean of the population. I also know the proportion of the strata. My question ...
61 views

498 views

Stratified sampling with replacement of participants in R

I am wondering whether in R, there is a possibility to draw a stratified sample with replacement of participants. Often, in surveys, we need each group to have certain size. Hence if one respondent in ...
17k views

Benefits of stratified vs random sampling for generating training data in classification

I would like to know if there are advantages of using stratified sampling instead of random sampling, when splitting the original dataset into training and testing set for classification. Also, does ...
76 views

Stratification based on propensity score and a second variable

The basis of my question is whether it makes sense, given you have a set of propensity scores, to stratify the data based on the propensity scores and on a second variable which was included in the ...
957 views

How does the boot package in R handle collecting bootstrap samples if strata are not specified but the function separates the dataset by strata?

My current understanding is 1) if strata are not specified, then boot randomly selects rows with replacement from the entire dataset. If dataset is actually stratified then boot would often return ...
135 views

How can i Age adjust the proportions of my covariates in a multiple stratified data set?

I am doing a cross sectional analysis in a huge data set. The initial descriptive analysis is stratified by gender, 4 calendar periods and smoking status which gives me the proportions within the ...
117 views

How calculate Gini coefficient (unbiased) and Lorenz Curve with stratified sample?

I'm working with a stratified sample by minimum variance method with 3 levels that becomes at 1176 stratum. The sample comes from finite population of income taxes data. I'm looking for how calculate ...
64 views

stratified randomization in clinical trial design

we have 5 treatment groups (blank control, placebo, 3 doses drugs) and want to divide the 160 patients into 20, 20, 40, 40, 40 (1:1:2:2:2) for the 5 treatment groups. So this is like 8 blocks ...
8k views

How to stratify a dataset to keep groups of data together in Python?

I have a dataset I want to use for machine learning that looks something like this: ...
403 views

Horvitz-Thompson variance estimation when estimating across strata

I have a sample of Business units, which has been stratified according to two stratification variables (Revenue class and field of Business acitivity). Within the strata, Units were sampled according ...
101 views

Combined analysis?

We have performed analyses by dividing the participants into 6 groups. The attribution of the groups was based on two variables: the Body Mass Index (BMI) and Metabolic syndrome (MetS): if BMI<25 ...
441 views

Election fraud detection: the statistics of Quick Count

I’m reading the book Quick Count and Election Observation (chapter 5). I’m interested in understanding the statistics used in Quick Counts. Quick Counts is a methodology for verifying official ...
125 views

calculate properly statistical moments with stratified sample data

I have problems of how to calculate properly the third and fourth order moments: my data is a stratified sampling with three strata. The goal for me is to make a descriptive analysis: mean, variance, ...
86 views

How to calculate a sample size in the case of a stratified 3 degrees sample design ?

I am trying to calculate the sample size (and the repartition between PSUs and SSUs) needed to obtain an estimation of a proportion (that I assume to de around 50%) with a 0.05 standard error in the ...
229 views

Confidence intervals on weighted proportions

I am conducting a survey that will identify and quantify the extent to which businesses in a certain industry reuse, recycle and dispose of their waste. I am trying to figure out how I would be able ...
383 views

Stratified sampling when creating a test/training set

I am creating a dataset that I am going to use as the training/test sets for a supervised classification problem. The problem is to identify quotations in a large corpus. I have randomly sampled the ...
49 views

Is there a method of stratum selection based on minimising variance within strata?

I have a population of about 7200 businesses from which to sample 2100 for a survey. The sample is to be stratified, but I have no information whatsoever on the usual way to stratify this population, ...
208 views

What is the procedure to choose which strata to use if you have multiple strata available?

I have multiple characteristics of a population available (gender, age, place), and I have the answer for each individual for a particular yes-no question available done previously. For example, here ...