Description
Round positive unroundedSize upward for sampleSize and return achievedMargin=margin*sqrt(unroundedSize/sampleSize), requiring nonnegative margin.
A statistical term depends on its data summaries, weighting convention, centering, denominator, and boundary rules. A contribution, derivative, domain check, or converted summary answers a narrower question than a complete estimator. Those conventions must match before terms are combined or compared.
Round positive unroundedSize upward for sampleSize and return achievedMargin=margin*sqrt(unroundedSize/sampleSize), requiring nonnegative margin.
When to use this tool
Use Sample Size Rounding Achieved Margin when you need this specific summary conversion, contribution, domain rule, or sensitivity term with matching statistical conventions.
How to use the tool and how it works
- Enter unroundedSize, margin. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read sampleSize, achievedMargin. Use the output convention below.
Round positive unroundedSize upward for sampleSize and return achievedMargin=margin*sqrt(unroundedSize/sampleSize), requiring nonnegative margin.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| unroundedSize | Unrounded Size | Required. Finite number; strictly above 0. |
| margin | Margin | Required. Finite number; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| sampleSize | Sample Size | Required. Safe integer. |
| achievedMargin | Achieved Margin | Required. Finite number. |
{
"input": {
"unroundedSize": 90.25,
"margin": 0.1
},
"output": {
"sampleSize": 91,
"achievedMargin": 0.09958705948858225
}
} Limitations and assumptions
- This assumes the supplied margin scales with inverse square root of sample size. It does not calculate a study design, population correction, response rate, or guaranteed confidence coverage.
- The field tables state structural bounds; the mechanics also specify cross-field constraints. Malformed inputs and unsupported domains cause errors. A successful false flag, empty branch value, or zero placeholder has the meaning stated above and is distinct from an input error.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Signed zero is exported as zero.
Alternative or Complementary methods
Use a complete estimator or model when a contribution, sensitivity, or domain check is insufficient. Verify the weight semantics, centering, denominator, and sampling assumptions before combining summaries.
References
Similar or alternative tools
- Effective Sample Size Weight Split
Split oldWeight into firstPart and its remainder, replace its squared contribution in sumSquaredWeights, and compare effective sizes sumWeights²/squaredSum before and after.
- Sample Leverage Complement
Compute one simple-regression diagonal leverage and its complement from supplied centered predictor data with an intercept.