
| Category | Value (units) |
|---|---|
| Leaf records | 36 |
| Independent hedge clusters | 6 |
Illustrative only, not taken from a source dataset. Six hedges with six leaves each; not an uncertainty estimate.
Thirty-six leaf measurements can make a spreadsheet look like thirty-six independent chances to learn something. Imagine taking six leaves from each of six hedges, however, and the work looks different from the path. Two of the hedges are in shade. Another has recently been trimmed. Leaves from any one hedge share the weather and care that affected that hedge. On a clipboard they occupy separate rows; in the field they came in groups. A bootstrap that samples the rows as if they came from separate randomly chosen hedges can ask a more confident version of the wrong question.
The point is not that thirty of the measurements are expendable. Several leaves reveal variability within a hedge and can estimate that hedge's mean better than one leaf can. The error is to ask the within-hedge measurements to stand in for independent coverage of new hedges. Those are different sources of information. A design-aware bootstrap begins with the study's route from population to observation: which things could have been selected instead, which arrived together, and what a repeat of the study would replace.
Observational units under two imagined designs
This is an illustrative contrast between a flat reading of the sheet and a design in which six independent hedges were sampled, with six leaves recorded in each hedge. The chart and table use the same constructed numbers; the unit is units. The two counts name different levels of one example rather than two outcome estimates, and the bar heights are not a measure of uncertainty. Nothing in the chart was drawn from a source dataset.
| Unit being counted | Units |
|---|---|
| Leaf records | 36 |
| Independent hedge clusters | 6 |
All 36 rows contain leaf information. Only six distinct hedge identities were sampled. Describing them as independent is part of the imagined design, not a conclusion inferred from a field of hedge names. In a real study, confirm what makes a hedge a plausible independent selection unit. Six named sections along the same continuous planting may share a property, water supply or treatment assignment. They are not six independent hedges for every purpose. Six hedges all assigned the same treatment at one property and six at another do not give twelve independent treatment assignments. The level at which a process was selected or an intervention was assigned matters more than how neatly labels can be created in a file.
The other imagined design would produce 36 separately sampled leaf records, for example one observation from each of 36 independently selected hedges where the sampling question and weighting support that setup. The flat spreadsheet might have the same number of rows, but the field visit would cover far more hedge identities and would show less about the within-hedge spread. Whether one design is more useful depends on what it must estimate. Lots of leaves from a single hedge can answer a carefully defined question about that hedge. They cannot automatically describe variability among hedges one has not measured.
Find the unit by tracing a replacement study
Write down the study in the order it took place. The team defined eligible hedges, chose some, and drew leaves within each chosen hedge. Or perhaps it did something quite different: selected six parks and inspected several hedges inside each park. Ask what a fresh repeat of the fieldwork would select anew. If it begins by choosing parks, it is not a repeat to draw the same recorded parks into six independently sampled hedges just because each hedge has an ID. The smallest accessible file row is an implementation detail, not evidence about the selection mechanism.
The U.S. Census Bureau's Statistical Quality Standard A3 addresses sample frames, populations and records needed to support estimation. Its published statistical quality standards PDF supplies the same standard in a document collection. The standard is for Census Bureau work, not this fictional garden, but the design documentation translates well: preserve the frame, unit definitions, selection process, stratification and any probabilities or weights. You cannot reconstruct the original sampling plan reliably from 36 lengths and six labels alone.
Clarify the target too. The average leaf length within these six named hedges this week is different from the average leaf length in every hedge across town. It is also different from the average of one typical local hedge's mean, depending on how hedge sizes and sampling probabilities enter the definition. A broader target requires a credible connection between the observed hedges and the wider population. A bootstrap reuses the evidence supplied by the sample; it does not repair a missing frame or give convenient hedges the statistical properties of a random sample. Describe the claim as local if the design was local.
A census is another case. If the six hedges are every hedge of interest and the only uncertainty comes from choosing leaves within each one, replacing hedges in a bootstrap would introduce a source of variation excluded by the target. The hedge can be a fixed stratum for a question restricted to these sites. A repeat would choose new leaves under the same within-hedge plan while keeping all six hedge identities. The rule in the title applies when hedges are the independent units to be repeated, not to every question ever asked of a clustered file.
Rebuild each imagined sample at the level that was selected
For the simple example, suppose the six hedges were independently selected from an appropriate population under conditions in which the ordinary cluster bootstrap is a reasonable approximation. A replicate then draws six hedge identities with replacement. If the selected identities are A, C, C, D, E and F, copy every recorded leaf belonging to each selected hedge. Hedge C appears twice as two draws from the empirical distribution; hedge B is absent from this replicate. Recompute the actual statistic of interest on those data. For the next replicate draw six identities again, not just replacements for the records that did not appear the first time.
With replacement is the bit that lets the replicate differ from the original sample. Selecting all six distinct hedge identities without replacement would reproduce exactly the same roster, just in a different order. For an order-independent statistic, that would produce no variability at all. Selecting individual leaf rows with replacement would produce variation, but from an artificial sampling mechanism in which the number of leaves from each hedge rises and falls individually. Copying the entire cluster preserves its particular mix and keeps each sample's between-hedge composition visible.
Treat duplicate clusters as duplicate draws in the computation, not as second measurements at the original location. If a fit or summary groups by the hedge ID, assign a separate replicate-level draw ID so the software does not collapse the duplicates into one unit. The original hedge ID can be kept for tracking. Check that each draw contributed exactly the row set required by the method. Some spreadsheet joins quietly deduplicate IDs; some joins instead duplicate rows beyond the number of times the unit was selected. Either error changes the resampling distribution without creating an obviously impossible roster.
The toy table's six leaves per hedge make the simplest example easy to follow; each whole-hedge replicate contains 36 rows. In a design with unequal cluster sizes, a replicate that selects large clusters more often contains more rows than one that selects several small clusters. That is not a bug to fix by truncating rows or drawing more leaves after the fact. If the design and chosen estimator call for a ratio of totals, recompute the numerator and denominator inside each replicate. If the estimator gives one equal-weight summary per hedge, compute that same summary with the same weight convention in each replicate.
Field and Welsh's methodological paper on bootstrapping clustered data studies cluster and other bootstrap procedures under stated models. It is evidence that the details of a resampling method and model matter, not a blanket promise that any percentile interval based on a handful of clusters is accurate. This article uses the ordinary whole-cluster method to explain one simple design. More complicated sampling plans can need resampling or replication methods constructed for those plans.
A quick way to check the logic is to imagine that every leaf within each hedge has exactly the same value and that only hedge means differ. A bootstrap that treats the 36 identical-within-hedge observations as independent repeats gives itself many opportunities to average away the differences. In the field, recording six copies of the same hedge-level value would not be six opportunities to see a new hedge. Resampling six whole hedges recognizes this. The example exposes the assumption without requiring a judgment about how closely related real leaf observations have to be before dependence matters.
Choose a statistic before choosing what looks stable
A useful positive result often starts with a clear paired question or a clear mean. In the hedge example, the team might want to estimate the mean of hedge means in an eligible population. Under an appropriate equal-weight sample, average the six hedge means. If the team instead wants the average leaf in the wider population, a larger hedge can represent more leaves. The estimate may need information about each hedge's eligible leaf count, how hedges and leaves were selected, and how expansion weights were constructed. Merely pooling the records lets a hedge's contribution depend on the number of leaves measured, which is not always the number of leaves it represents.
A small made-up comparison shows why. Hedge A has two sampled leaves averaging three centimeters, and hedge B has six sampled leaves averaging five. The unweighted mean of the two hedge means is four. The mean of the eight sampled leaves is 4.5, because six values belong to the hedge with the higher mean. Those two summaries could both be sensible descriptions of their samples. Neither automatically represents all local foliage. The reason for measuring two and six matters: proportional sampling, access limitations and deliberate effort allocation have different implications for inference.
If repeated measurements before and after a trim are available on each hedge, the independent piece may be the matched hedge contrast. Use both visits for a selected hedge in each replicate. Resampling the old and new rows separately destroys the pairing and can hide the degree to which measures on the same hedge move together. If hedges were paired across treatment arms before assignment, preserving the field pair can be necessary as well. A comparison may have clusters, blocks and repeats at the same time. Do not choose among them by counting which variable has the most distinct names.
Work one replicate closely enough to see what changed
Imagine hedge means of 8, 10, 11, 12, 13 and 18 from six equal-effort clusters, in order from A to F. These are invented values separate from the unit counts in the chart. Their original mean is 12. A draw of A, C, C, D, E and F gives a sum of 73 and a mean of about 12.17. In this draw the 11 from hedge C is counted twice in the mean because that hedge was selected twice; the 10 from hedge B is not counted. A draw of A, A, B, C, D and E gives a sum of 62 and a mean of about 10.33. It omits the unusually large F cluster and includes the low A value twice.
Nothing in those two calculations resamples the leaves inside a selected hedge. Equal-sized hedges and an equal-weight sample mean make the same calculation possible with hedge means instead of copied rows. That simplification does not always extend to more complicated statistics. If the statistic is a pooled median, the median of the hedge medians need not equal it; with selected cluster copies you generally need to compute the original statistic on the replicated data. If the statistic is derived from a regression with repeated measures, refit using the full data for each draw and keep the distinct draw identifier available to model the grouping correctly.
Inspect which outcomes actually occur in repeated draws. In the toy example the mean cannot be below 8 or above 18 because each replicate averages observed cluster summaries. This bounded range is a feature of resampling the empirical sample, not evidence that a newly selected hedge must have a mean in that range. Imagine a population containing a common kind of irrigated site absent from the six selected clusters. No number of repeated draws from the roster can create its outcomes; the bootstrap only reweights what appeared. The gap could be a matter of chance or a fundamental coverage problem, but neither is resolved by making the analysis longer.
A bootstrap distribution of a statistic is not a plot of the original measurements. It is a plot of the statistic computed in many versions of the resampled dataset. A useful report keeps original cluster summaries next to a description of the bootstrap spread so readers can see what drives both. If the team shows only the resampled values it may imply that a dense plot represents many independent locations; it does not. One graphic might contain thousands of replicate means and still describe evidence from just six hedge settings.
A few clusters set a limit that computing cannot lift
An ordinary whole-cluster bootstrap repeatedly samples the observed six clusters. Any one particular hedge is omitted when none of the six draws selects it, with probability equal to five sixths raised to the sixth power, about 33.5 percent. The expected number of distinct hedge identities in one replicate is just under four. This does not make resampling erroneous; duplicates and omission are how the ordinary procedure generates samples. It does show what kind of evidence supports the result. Different replicates will keep and omit much the same small set of possible situations. Little is learned about a rare condition that was absent from all six.
If an analyst increases the number of replicates from one thousand to ten thousand, estimates of some bootstrap distribution features may become more stable numerically. The number of independently selected hedges has not changed. This distinction is useful when explaining why a reproducible interval might still have poor long-run performance. A code setting can reduce simulation noise; it cannot make an approximation accurate if the sample represents the target poorly or the relevant small-sample behavior is unfavorable. A nominal 95 percent label describes the method's intended confidence level under suitable conditions, not an empirical certification for this garden.
The difficulty can be especially conspicuous when an estimator is unstable. If a regression uses one hedge-level exposure that varies only among the six, some resamples may contain too little variation to fit a slope. If a category occurs in only one hedge, many replicates omit it and may yield an undefined contrast. A bootstrap procedure that quietly discards such replicates changes what distribution is being summarized. Keep a count of failures and explain why they occurred. A high failure rate may indicate that the statistic or comparison asks more from these units than they can supply. It is not a reason merely to rerun with a larger simulation count until enough fits succeed.
With few clusters, emphasize the raw cluster results, the plausible design limitations and sensitivity to individual clusters. A careful result can still motivate a better study or guide a very local decision. There is no universal cluster count below which every method is invalid or above which every method works. The outcome distribution, sampling design, statistic, weights, and strength of the intended inference all matter. If a formal interval determines a consequential decision, use an approach justified for that specific design, and avoid suppressing the uncertainties that a sensitivity exercise reveals.
See the clustering before running the analysis
Plot the raw leaf values by hedge. Six dots under each hedge label can show whether the ranges overlap, whether an apparent overall increase belongs mostly to one cluster, and whether any one hedge has a much wider spread. Overlay one symbol per hedge mean and present the symbols at equal visual weight if that matches the statistic. If leaves were sampled from several sides, keep side or height available as context. The plot respects both levels of information: the six sets of leaves reveal local variability, and the six hedge means show the available between-hedge coverage.
The NIST/SEMATECH handbook's graphical techniques index gives exploratory options such as histograms, box plots and sequence views. It is a methods reference, not the source of the invented unit counts. A sequence view can be helpful if hedges were measured in order during a warming morning or after an adjustment to a gauge. An apparent hedge effect could coincide with the measurement sequence. Graphics can identify a pattern to investigate but cannot reconstruct a randomization or undo the location choices. Preserve design and time information rather than asking a plot to identify what caused the differences.
Even a dot plot with clean separation is not a reliable reason to switch to a leaf-level bootstrap after the fact. Similar within-hedge spread does not prove the leaves are independent. A small sample also makes even fairly strong dependence hard to estimate with precision. Start with how records were generated. Then use graphics to check whether the design assumptions are credible, to diagnose measurement problems, and to note where a model is visibly strained. If two apparently independent hedges actually share a continuous root zone or were measured as one coordinated visit, that is substantive context; do not make it disappear by calling the correlation small.
Run a simple leave-one-hedge-out comparison if useful to communicate leverage. In the invented mean example, removing F leaves a mean of 10.8; removing A leaves a mean of 12.8. This gives an immediate sense of which samples drive the estimate. It is a sensitivity view, not a substitute bootstrap interval or proof that either hedge is an outlier to exclude. Dropping F merely because its removal narrows an interval would change the analysis based on the result. If F differed due to an actual eligibility violation or malfunction, document that separately and show how the choice changes the conclusion.
Know when whole-hedge resampling is not the full method
The simple scheme assumes the selected hedges are meaningfully exchangeable for the purpose at hand. A design that deliberately selects from two regions at fixed allocations may instead need to preserve separate strata in the replicate. Drawing all six together could replace an entire region with another and simulate a study the analyst did not conduct. Within-stratum resampling has its own limits if only one independent cluster was sampled in a stratum. Duplicating the sole cluster produces no estimated within-stratum between-cluster variation. Borrowing information across strata would require assumptions not supplied by the file.
Unequal inclusion probabilities present a different problem. A hedge deliberately oversampled because its property had unusually good access is not equivalent to a hedge selected with a known higher probability as part of a stated design. Both produce unbalanced records, but they do not support identical weights. For a probability survey, carry the sampling weights and use replication rules suited to the design and estimator. The Census Bureau's Statistical Quality Standard E1 ties analysis to clustering, stratification, and unequal selection probabilities. It does not imply that simply drawing recorded hedge identities uniformly always gives design-valid uncertainty.
A two-stage design can require care in accounting for both hedge selection and leaf selection. A cases bootstrap might resample only clusters or combine that with within-cluster resampling under a justified procedure. The correct choice depends on whether the study conditions on the measured leaves, treats them as a sample of eligible leaves, and how the sampling and estimator handle each stage. Replacing both stages by habit can double-count some variation in certain methods or ignore unequal probabilities in others. The original plan, not the availability of a nested resampling option in a library, decides what a replicate should represent.
If time series matter, keep order intact where the method requires it. Sampling leaves as independent rows does not just discard the hedge; it may erase seasonal or repeated-measure structure. Drawing whole hedges can preserve each recorded trajectory but cannot create new winters if all observations occurred in one winter. If the intended inference is across periods as well as hedges, the study needs coverage or a defensible model across time. Label uncertainty conditional on the surveyed period when that is the only honest target. Claims about habitat or management under other seasons require evidence beyond repeated selection from one snapshot.
A randomized experiment raises another distinction. A bootstrap estimates variability using a model or empirical approximation to repeated sampling; a randomization test uses the possible assignments allowed by an actual assignment rule, under a stated null. If the treatment was assigned to hedges, its assignment structure should be respected in either analysis. Shuffling leaf treatment labels creates assignments that never could have happened. If treatment was never randomized and was determined by existing garden practice, a method that rearranges labels like an experiment cannot supply the missing design. The number of leaves does not resolve that difference.
Plan new fieldwork around what the old work could not resolve
After seeing six hedges, decide where another hour will buy evidence. If the main uncertainty is the mean within a chosen hedge because its leaves differ markedly from side to side, more leaves under a clear local sampling plan can help. If the main uncertainty is whether the same pattern occurs across independent gardens, visiting more sides of the same hedge has limited reach. Sampling new hedges under a wider frame addresses that gap more directly. These are planning choices about collection, not settings in the resampling code. A strong analysis helps locate the uncertainty before work is repeated.
Think about the higher units as well. Six hedges measured by one visit team on a single property could be useful if the property is the target; new independent properties may be essential for a regional claim. If a comparison is meant to stretch across maintenance regimes, plan coverage where regimes differ rather than hope the observed roster captures them indirectly. If exposures are associated with plant species, decide whether the question asks about whole hedge types as found or a contrast restricted to the same species. A larger sample can still be unhelpful when its composition does not match the intended population.
Record exclusions in the field rather than only as filters in the analysis. A hedge inaccessible because of recent flooding may differ from the reachable hedges in ways relevant to leaf growth. Disease could remove some leaves from measurement exactly when variability matters to the question. Keep counts of planned, visited and measured units at both levels. More complete leaf records from accessible hedges do not compensate for the exclusion of all flooded hedges. If the missing cases narrow the claim, say so explicitly and use the design records to plan a way of observing them next time.
Separate design information from software assurances
An implementation should make it easy to print one actual replicate and verify it against the original data. In the simple example, each draw has six selected hedge instances, with repetitions permitted. Every leaf in a selected instance should match the parent hedge, and no leaf from an omitted hedge should appear. If two drawn copies are merged by a distinct operation, one replicate might silently contain the wrong number of leaves. If a weight join is repeated for each leaf and then sums over hedges without accounting for row multiplicity, a hedge could receive more influence than the specified estimator allows. Trace those steps with a tiny example before relying on output from thousands of repeats.
In the two-stage design, preserve the distinction between an original observation identifier and a replicate identifier. The former ties a value to its provenance; the latter says where that value went in the imaginary sample. Both can be checked without treating repeated cluster draws as new field evidence.
Keep reproducibility details such as the statistic, resampling unit, handling of duplicates, number of simulations and random seed with the analysis. Retain enough design description that someone can tell whether the seed recreates the right procedure rather than merely the old numbers. If a package uses a different method by default from the method named in a report, record which options were set. Package defaults can be sensible for one design and unsuitable for another. An interval without its method description is hard to audit even when the command itself is reproducible.
If the goal includes a prediction for a new hedge rather than uncertainty in a mean, plan that separately. The average from six clusters might be estimated with one type of interval, while a future hedge could vary much more than that interval suggests. A distribution of resampled means represents variation of means under the resampling scheme, not the variability of individual hedges in the same form. An honest report can show the spread of observed hedge means and state that prediction for a new hedge was not estimated. Do not turn a narrow interval for a mean into a claim that almost any future hedge will lie inside it.
A similar issue appears when an interval has a convenient sign. A comparison between measured hedge types could yield an interval not crossing zero. If the hedges were selected without a credible design for causal inference, that interval does not establish that a care practice caused the difference. It describes variation around an estimate with whatever assumptions and scope the analysis has. Clear uncertainty quantification does not elevate an observational comparison into an experiment, and a small interval can still sit around a biased estimate. Designing the resample and limiting the claim are separate tasks.
Before formal analysis, ask whether observations were correlated for reasons not captured by hedge identity. Measurement sessions can span several hedges and share an instrument offset; two workers can measure leaves from multiple clusters in different ways. The resulting structure crosses hedge labels rather than nesting neatly inside them. A whole-hedge bootstrap preserves recorded leaf patterns within each hedge, but it will not necessarily capture dependence across hedges created by shared sessions or observers. Keep collection metadata that would allow this possibility to be investigated. If the design cannot separate those influences, report the limitation rather than forcing the data into the simplest hierarchical shape.
A table can do a surprising amount of that communication. Start with each hedge's measured leaf count, its summary, and any design notes that affect interpretation. Separate the point estimate from the uncertainty procedure and show which clusters or strata entered it. If the estimate used an approximation intended to represent exchangeable clusters, state that assumption. If the fieldwork only supports description, give the observed spread and leave the population interval off the page. The audience can then see what was gained by measuring multiple leaves without mistaking them for fresh draws from the wider landscape.
Ask whether the field budget can be reallocated
Suppose the project can take another 24 readings, but doing so at new hedges also requires travel and permission. There are at least two reasonable redesigns: make four more measurements at each of the current six hedges, or plan visits to new eligible hedges and take fewer readings per unit. To choose, use the observed within- and between-hedge spreads as rough planning evidence, not as fixed quantities that the next project must reproduce. If within-hedge estimates are already stable and the first sample missed an important setting, more visits across the frame may be worth the setup cost. If many leaves within a hedge were torn or inaccessible and many local means are uncertain, a wider search protocol or more informative within-hedge selection may be needed too.
A simple measurement thought experiment clarifies why. If there were independent measurement error around each hedge's otherwise fixed mean, averaging additional leaves would generally reduce that local component of sampling noise. It still would not reduce the fact that only six hedge environments were encountered in the original selection. Conversely, measuring a single leaf at many new hedges gives wide coverage but can make it difficult to separate the hedge-to-hedge component from variation within plants. Both extremes can make sense under distinct aims. For a balanced project, distribute effort at the levels required by the estimand and keep enough local replication to understand what a hedge summary means.
Equal effort at each hedge is convenient, especially when the goal is an equal-hedge comparison. It is not an excuse to impose a fixed number by switching to whichever leaves are closest when a hedge is sparse. Define reachable positions first, record where the plan failed, and avoid changing the eligible leaf population just to balance the table. If a large hedge has branches in more environments than a short hedge, a fixed six leaves may cover the two very differently. The estimator and the allowed field shortcuts ought to be designed together. Otherwise a method that properly resamples hedges still inherits inconsistent measurements within them.
Explain apparent precision to the people using the result
Imagine that a supervisor sees many dots and asks why the interval cannot be narrower. Show one view of the leaf values colored by hedge and another of the six hedge summaries. Then identify whose behavior the interval is supposed to represent. If the concern is deciding whether a named hedge should be recut, the first view may already suffice, and a population interval might not belong in the report. If the concern is whether a trim method works across the district, the second view exposes the limited roster contributing to that broader question. This explanation is more useful than citing a generic rule that files with dependence should receive larger standard errors.
An inappropriate resampling unit need not always produce a smaller interval. The magnitude and direction of error depend on the statistic and the relationships among the observations. The central objection is not that one answer is too attractive. It is that the imagined replacement study does not match the real one. Compare a flat and a clustered calculation as a diagnostic if it helps readers see the impact of assumptions, but do not choose whichever interval looks most conservative or most persuasive. Pick the method justified by the design or state why neither computation supports the desired interval.
Put both counts in the result
A short write-up might say: six hedges contributed six measured leaves each. The target was the mean of hedge means for the stated sampling frame, so each hedge contributed one equal-weight mean and the resampling operated on hedge identities and kept associated leaves together. The cluster count was small, and the results are sensitive to particular hedges. That is a more useful summary than “n equals 36” or the equally misleading “n equals six” with no explanation of what each number counts. Both quantities matter, but at different levels.
The principle transfers beyond hedges. Samples from the same tray, classroom, field day or installed sensor can all arrive together for a reason. Independence is a statement about the design and the target, not a property conferred by separate spreadsheet rows. Start by naming what a repeat of the study would choose, preserve that unit in the resample, and report what the observed units cannot tell you. Measuring several leaves was good fieldwork. The analysis should keep the information it supplied without selling it as something it did not.