Calculate a canopy-height percentile with an explicit quantile method — Independent audit sample
Calculate a canopy-height percentile with an explicit quantile method — a worked case for independent audit sample, with explicit data, a sensitivity comparison and an independent.

The measurement question
A canopy-height percentile depends on both the selected points and the quantile convention. For five hypothetical sorted heights above ground of 2, 5, 7, 10, and 14 m, the common linear method places the 95th percentile at index (5−1)×0.95=3.8 using zero-based indexing. Interpolating between 10 and 14 m gives 13.2 m. A nearest-rank method would return 14 m, so different software can disagree without an arithmetic mistake. Document ground normalisation, return selection, minimum height, and quantile method before comparing plots or dates. The statistic describes sampled returns and is not automatically the mean tree height or a verified forest-inventory measurement.
This is an educational case with constructed input data. It is not a report of a completed NiVO project, a flight authorization, a product performance guarantee, or evidence that the photographed location was surveyed for this example.
Case conditions and evidence
A reviewer receives only a documented subset of the observations. The subset is selected before looking for favourable results and remains separate from any adjustment or tuning process. The example shows why an auditable selection rule matters as much as the arithmetic reported for it.
Apply the stated selection rule again and check whether it yields the same sample. Include difficult records and exceptions so that the audit is not limited to easy observations.

Reproduce the numerical check
Illustrative input data: First sorted height (h1) = 2 m; Second sorted height (h2) = 5 m; Third sorted height (h3) = 7 m; Fourth sorted height (h4) = 10 m; Fifth sorted height (h5) = 20 m.
Calculation: h4+0.8*(h5-h4).
Linear-method95th percentile of five sorted canopy heights = 18 m.
The calculation below checks one part of the evidence chain. Keep the stated units and assumptions. The output does not replace field observations, the equipment manual, or an independent assessment of the complete deliverable.
Change one assumption
Increase only fifth sorted height (h5) from 20 to 22 m. Re-evaluating the same equation gives linear-method95th percentile of five sorted canopy heights = 19.6 m. The arithmetic difference from the baseline is 1.6 m.
For the comparison, only the explicitly listed input changes. All other quantities stay fixed. This isolates the mathematical response; weather, image texture, viewing geometry and equipment behaviour can change together in a real mission, so do not interpret the comparison as a flight test.
Interpret the result
Standardise percentile method and point-selection rules before comparing canopy metrics between plots or acquisition dates. Retain ground-model information and sample counts so users can distinguish a metric change from altered normalisation or a different quantile convention.
A percentile of laser returns is sensitive to sampling, occlusion, footprint, classification, and ground error. Small samples make upper quantiles unstable, and differing return selection or interpolation conventions can create changes unrelated to actual canopy structure.
Separate an arithmetic result from a verified measurement. A precise number can still be based on an uncertain input. Test the assumption with an independent observation before applying the result to an acceptance decision; retain the original value when the independent check disagrees.
Independent checks and delivery
Sort a small exported sample and reproduce the percentile by hand using the recorded method. Compare alternative quantile conventions, inspect height-above-ground profiles, and verify ground support and return-selection consistency before interpreting differences between datasets.
Deliver the sample rule, the complete inventory and the audit findings. Identify which conclusions refer to the sample and which require further evidence from the full population.
Deliver the original observations, the calculation inputs, their units, the processing settings and an exception log alongside the interpreted output. A reviewer should be able to repeat the arithmetic and identify which observations support the conclusion. Preserve rejected observations with reasons instead of silently removing them.



