Skip to main content

Questions tagged [cluster-sample]

Cluster sampling is a sampling design in which the observation units have to be grouped together for logistical reasons (e.g., students clustered in schools or households clustered in a geographic area). Typically, cluster samples are multistage samples, so geographic areas are selected in the first stage and households in the subsequent stage.

Filter by
Sorted by
Tagged with
3 votes
1 answer
54 views

Lack of within-cluster variability

I am working on patients' data. I want to do multilevel logistic regression. The cluster is hospital, exposure variable is treatment (A, B, C), and independent variables include sex, age and others. I ...
W Ramadi's user avatar
0 votes
0 answers
11 views

Interpreting differences between confidence intervals with and without adjustment for clustering. Should those from adjustment be wider?

I am trying to interpret an article involving data from a cluster randomised trial, where the confidence intervals for effect sizes are said to have been adjusted 'using the standard errors of the ...
Roger Gomm's user avatar
2 votes
0 answers
29 views

Is this multicollinearity, and how can I specify my model better?

I'm analyzing data from the usual care period only of a stepped wedge cluster-randomized trial. The goal is to describe the usual care period as though it was a cohort study because much higher ...
telegraph's user avatar
1 vote
0 answers
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 ...
pvelayudhan's user avatar
0 votes
0 answers
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 ...
Vacoiide's user avatar
3 votes
1 answer
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 ...
wyatt400's user avatar
  • 105
0 votes
0 answers
47 views

Consequences of ignoring correlation on standard error

I want to know the mathematical reason why between-individual standard error is under-estimated, and conversely, why within-individual standard error is overestimated if we fail to take correlation ...
user1211188's user avatar
0 votes
0 answers
48 views

Sample size calculation for correlated eye data

What formula or software package can be used for sample size caculations for correlated eye data? An observational study is being conducted in which participants that have two normal eyes and ...
s.stats's user avatar
  • 477
0 votes
0 answers
30 views

Poisson Distribution from Samples of Varying Sizes [duplicate]

Can I apply a Poisson distribution if I have different sample sizes for each cluster? My experiment is about diversity in International Baccalaureate vs non-IB classes, and I used single-stage cluster ...
Ben's user avatar
  • 21
1 vote
1 answer
55 views

Clustered data and multiclass classification with GPBoost

Is it possible to do multiclass classification using GPBoost? For example when we have 3 or more classes (e.g. specie A/ specie B/ specie C) from a clustered data set (e.g. several measurements over ...
Oscar's user avatar
  • 11
0 votes
0 answers
46 views

I want to fit a linear regression model, but I know that if I treat each instance as unique there will be many pseudo replicates

I want to fit a linear regression model, but I know that if I treat each instance as unique there will be many pseudo replicates. I want to explore the relationship between 2 binary variables and one ...
taz's user avatar
  • 1
1 vote
0 answers
54 views

Sample size for desired margin of error with clusters of unequal size

I need to design a survey such that the margin of error for a binary, categorical variable is bounded at a certain level. The survey needs to be a one or two-stage cluster sample where clusters are of ...
num_39's user avatar
  • 1,736
2 votes
1 answer
40 views

Cluster sampling result in larger sample-to-sample variability

I'm reading STATA's Survey Data Reference Manual. There is written that: Cluster sampling typically results in larger sample-to-sample variability than sampling individuals directly. Do you have an ...
robertspierre's user avatar
0 votes
0 answers
54 views

Using Generalized Estimating Equations (GEE) to handle uneven clusters where some subjects have more outcomes than others

If possible, I would like to use GEE to control for clusters in my data where some subjects have more measurement and outcome pairs than others. In this particular case, the outcome is binary and the ...
TikiMunky's user avatar
0 votes
0 answers
91 views

How to perform two-way fixed effect Difference in Difference test?

I am doing a research on the effect of Covid on fundraising success. I already implemented logisitc regression models with Covid as interaction variable but my supervisor wants me to use DiD. I asked ...
Zeinab Elashidy's user avatar
1 vote
1 answer
85 views

Multilevel model for nested data with obs could be in multiple groups

I understand that you would consider multilevel or hierarchical linear mixed effects model with your data are nested with multiple level and be grouped. However, I assume that the observation will ...
drexel star's user avatar
0 votes
0 answers
203 views

Pairs (Cluster) Bootstrap R

When using a regressor ("generated regressor") that is generated in a first-stage equation and used in a second-stage equation, then standard errors will be understated (here is a readable ...
minimouse's user avatar
0 votes
0 answers
70 views

Alternatives to the Kruskal-Wallis test?

I have determined malaria prevalence in 8 villages with household-level clustering. As an initial test (basic descriptive statistics), what test (as the independence assumption of K-W is violated) is ...
Trypanosoma's user avatar
1 vote
0 answers
112 views

What value of ICC to use when calculating effective sample size?

What value of ICC should I use when calculating the effective sample size of clustered data? A previous publication conducting a similar study reported ICCs of 0.04 for the full mixed model (random ...
Trypanosoma's user avatar
1 vote
0 answers
219 views

Adjusted Chi-square test or standard Chi-square test for clustered data?

I am performing a risk factor analysis of the individual and household-level factors associated with Plasmodium infection in individuals located in 8 villages in Cambodia. I want to perform an initial ...
Trypanosoma's user avatar
1 vote
0 answers
56 views

Clustered data and the Friedman test

Good morning, I am performing a risk factor analysis of the individual and household-level factors associated with Plasmodium infection in individuals located in 8 villages in Cambodia. I have ...
Trypanosoma's user avatar
1 vote
1 answer
177 views

What should be the degree of freedom in ANOVA table

Consider the area under wheat for a sample of 44 clusters selected from 11 different villages. Four clusters were selected from each of the 11 villages and each cluster consists of 8 survey numbers(...
simran's user avatar
  • 377
1 vote
1 answer
47 views

Comparing median of groups within many clusters

I have the gender composition for thousands of boards (there is no sampling involved. The data set contains all boards). Boards are consisted of different number of male and female directors. So, to ...
Nima Darbari's user avatar
1 vote
0 answers
69 views

What are appropriate ways to use matching with clustered data (with hierarchical structure)?

In my setting, I have post-intervention observational data in which individuals are nested into villages. The treatment consists of an information campaign that targeted villages in a non-random ...
edo's user avatar
  • 23
1 vote
0 answers
51 views

multiple questions about setting up survey weights with the application of a combination of different types of weights - ESS

Checking out this file published by the european social survey website https://www.europeansocialsurvey.org/docs/methodology/ESS_weighting_data_1.pdf it states that : • when analysing data for one ...
An116's user avatar
  • 367
1 vote
1 answer
146 views

dealing with zero inflation in the regression model

I have a longitudinal data, with different follow-up number for individuals. I have considered measurements for each individual as a curve which I already smoothed them, then calculated the area under ...
user358238's user avatar
0 votes
0 answers
41 views

will it take the form of cluster? is regression analysis possible here?

i am working with some data regarding my PhD, where i am interested to see the ability of the institution of different villages of four districts in enhancing people's living condition. here, through ...
Mrinal saikia's user avatar
0 votes
1 answer
33 views

How to justify anonymous clusters?

Is there a reasonable situation where the clusters are anonymous? What I mean is that one can ensure the subjects sampled are from the same cluster, but she does not know exactly which cluster they ...
Ypbor's user avatar
  • 171
6 votes
1 answer
71 views

What happens statistically, if you create more observations by measuring more aspects of the same observational unit

Let's say that I want to measure the effect of a treatment on the performance of a firm. However my sample is very small. Let's say 10 firms. It is not possible to observe more firms. All these firms ...
Tom's user avatar
  • 528
1 vote
1 answer
75 views

Logistic regression on correlated data (without clusters)

I would like to create logistic model using the OCA STAT Act data in R, however, since this data is a compilation of court appearances since 2020, some defendants may have appeared before court more ...
Elijah Appelson's user avatar
1 vote
1 answer
44 views

Can Machine Learning Models Recover "Experimental, Design and Hierarchical Structures" Within the Data?

Can Machine Learning Models Recover "Experimental, Design and Hierarchical Structures" Within the Data? At times, real world data can contain "embedded structures" - these ...
stats_noob's user avatar
0 votes
1 answer
2k views

Fixed effects in a cross-sectional data

I'm working with research that has cross-sectional data. I have collected information about publicly-listed banks in many countries. For example, for each bank I collected the following information: ...
Asas24's user avatar
  • 1
1 vote
1 answer
334 views

GEE vs Hierarchical linear regression

I am trying to choose between GEE and hierarchical linear regression for analysis of experimental vignette (2x2 factorial (0/1) design) data. Each respondent (N=160) filled in 2 vignettes, thus the ...
GabrieleC's user avatar
2 votes
2 answers
355 views

Data with Hierarchical Structure and Multicollinearity (E.g. ZIP Postal Codes)

I always had the following question: Can data having "naturally occurring hierarchical structure" be transformed to better make use of this hierarchical structure at different levels? To ...
stats_noob's user avatar
0 votes
0 answers
458 views

Clustering standard errors for difference in difference

I am running a difference in difference to examine the effect of a merger on petrol prices. I am looking to see whether the prices of company A have increased due to a merger with company B. Local ...
Consequence's user avatar
1 vote
2 answers
514 views

Is it always better to analyze at the most granular level possible? What is the best unit of analysis in the context of hierarchically clustered data?

Let's say that I have experimental data where the level of treatment is at a higher level of aggregation than the level of observation. For example, imagine some subset of schools adopted a new ...
StatStudent19's user avatar
3 votes
1 answer
323 views

Asking about clustering condition following Abadie, Wooldridge 2017

Abadie, 2017 have a paper about when we should cluster. And this paper has been summarized by McKenzie here. I used the paper of Dasgupta,2019 to link to the summarized work of McKenzie. So, in ...
Phil Nguyen's user avatar
1 vote
0 answers
20 views

What do "random sample" and "particular population" mean in clustering?

Yesterday, from a suggestion of @Dimitriy V. Masterov here, I saw from the given link about one of the reason we can avoid clustering is You want to say something about the association between ...
Phil Nguyen's user avatar
0 votes
0 answers
50 views

Cluster regression

I have a dataset and divided the sample into 6 groups based on 4 binary criteria (e.g. "1" for has a Chief Digital Officer and "0" otherwise). Now I want to conduct a regression of ...
kra's user avatar
  • 1
1 vote
0 answers
159 views

How to cluster a finite number of random variables based on their distributions?

Suppose that we have $n$ mutually independent (not i.i.d.) random variables $X_1,\dots,X_n$. We assume that these random variables can be divided into $k$ distinct groups ($k<n$), where in each ...
Amir's user avatar
  • 21
0 votes
2 answers
42 views

Why do you only need to identify the first cluster level in svydesign(), even if you have multi level clustering?

Going through the a course on Survey Weights and it says that even though a dataset may sample using 3 clusters (like Counties, City Blocks, and households), you only need to specify the first level ...
Kevin's user avatar
  • 1
1 vote
0 answers
30 views

Statistical analysis of clustered data- but clusters in one comparison group only

I'm curious if it's still valid to use analysis techniques for clustered data when only one of the two comparison groups consists of multiple clusters. For example, the control group consists of 10 ...
Janice's user avatar
  • 11
0 votes
0 answers
252 views

How can i calculate density of every centroid in python

i have kmeans clustered data, and cluster centroids of the kmeans. I want to calculate density of each cluster centroid and remove the cluster of the highest cluster centroid density. I did my ...
Serkan Gün's user avatar
2 votes
2 answers
503 views

Determine sample size for each cluster

Suppose I have a large population and I want to test if installing a new special light bulb can reduce energy consumption. Since I have a large population, I'll have people that usually consume high ...
Numbermind's user avatar
1 vote
1 answer
480 views

If fixed effects and robust standard errors both necessary, do they have to be at the same level, and why?

I am working on an empirical paper using repeated cross-sectional data, and a reviewer has asked that we cluster our standard errors at the same level as our geographic fixed effects. Given the ...
Letti234's user avatar
1 vote
1 answer
973 views

How to use lstm for clustered data?

I have a timeseries dataset of users with different profiles. I want to use lstm for predicting 1 day ahead of each user. My approach to the problem is first clustering users of same behaviour. And ...
D.small's user avatar
  • 11
1 vote
1 answer
2k views

Single Observation with Some Groups. Multilevel model or other analysis?

I am having trouble determining which method to use to analyze my data. Here is the info: -575 observations nested within 292 groups -some groups only have one observation, the max number is 23 in a ...
Brad's user avatar
  • 11
9 votes
5 answers
991 views

Are the differences between sampling clusters and sampling strata, conceptual, methodological, neither or both?

I am fuzzy on the distinctions between sampling strata and sampling clusters. Both seem to aim at designs aiming at creating useful estimates of between/within group (strata, cluster) variation, and ...
Alexis's user avatar
  • 30.3k
1 vote
1 answer
72 views

Stratified Sampling - Confim usage and sample size

I want to conduct a survey on a population of college students to run models on. My hope is that it will accurately represent the population. I am concerned about the sample not giving a close ...
PeteB's user avatar
  • 11
2 votes
2 answers
297 views

If you match within clusters,do you still need to use a multilevel model?

I am reviewing an article. I can't share details because the article has not been published but, briefly, the authors studied people with and without a condition and looked at long term sequealae of ...
Peter Flom's user avatar
  • 125k