Skip to content

Main content

Sample Pseudo Replicate Group Flag

Flag distinct sample identifiers sharing an explicit sampling-unit identifier without deciding statistical independence.

Loading tool…

Description

Compare sample IDs and their supplied sampling-unit IDs.

Ecological records need explicit sampling units, detection states, effort denominators, interval geometry and trait/abundance bases. Nondetection differs from absence, and shared sampling-unit labels do not alone diagnose pseudoreplication. A one-axis overlap or single weighted contribution is only a limited component of a broader ecological analysis.

Compare sample IDs and their supplied sampling-unit IDs.

When to use this tool

Use Sample Pseudo Replicate Group Flag when you already have firstSampleId, secondSampleId, firstUnitId, secondUnitId and need to compare sample IDs and their supplied sampling-unit IDs.

How to use the tool and how it works

  1. Enter firstSampleId, secondSampleId, firstUnitId, secondUnitId. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read sameSample, sharesSamplingUnit, distinctSamplesShareUnit. Inspect sameSample, sharesSamplingUnit, distinctSamplesShareUnit before interpreting the associated values.

Require all IDs nonempty; return sample-ID equality, unit-ID equality and distinct samples sharing a unit.1

Input fieldMeaning and unitsAccepted input
firstSampleIdFirst Sample IdRequired. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192.
secondSampleIdSecond Sample IdRequired. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192.
firstUnitIdFirst Unit IdRequired. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192.
secondUnitIdSecond Unit IdRequired. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192.
Output fieldInterpretationReturned shape
sameSampleSame SampleRequired. Boolean.
sharesSamplingUnitShares Sampling UnitRequired. Boolean.
distinctSamplesShareUnitDistinct Samples Share UnitRequired. Boolean.
json
{
  "input": {
    "firstSampleId": "S1",
    "secondSampleId": "S2",
    "firstUnitId": "P1",
    "secondUnitId": "P1"
  },
  "output": {
    "sameSample": false,
    "sharesSamplingUnit": true,
    "distinctSamplesShareUnit": true
  }
}

Limitations and assumptions

  • Literal matches do not establish pseudoreplication, statistical independence, identity or an appropriate experimental unit.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.

Alternative or Complementary methods

Review original survey records, sampling design, specimens and calibration definitions for an ecological conclusion. Use complete detection, population, community or process models as appropriate; local count rates and source labels do not infer unobserved states or ecological mechanisms.

References

  1. Calculation and input contract: ecology/sample-pseudo-replicate-group-flag — tool.io

Similar or alternative tools