Module 8 · Sampling, Estimation, and Statistical Inference Lesson 80 of 120

Effect Size, Practical Significance, and Multiple Comparisons

Separating a detectable effect from a worthwhile change.

2:56 clip4:13:17–4:16:13 in the full courseWatch on YouTube

Transcript

21 sentences · select one to jump there

Check your understanding

Does a multiple-testing correction make the effect economically useful?

Choose one answer

Code lab

Run it yourself

The lesson source in 7 languages. Edit it, run TypeScript and Python right here, and compare with the expected output.

080-effect-size-practical-significance-and-multiple-comparisons.ts
Start from GitHub
/**
 * Fintech Math Bootcamp · Lesson 080 of 120
 * Effect Size, Practical Significance, and Multiple Comparisons
 * Module 08: Sampling, Estimation, and Statistical Inference
 *
 * Scenario: Separating a detectable effect from a worthwhile change
 * Rule:     standardized effect=(estimate−baseline)/s; Bonferroni α/m
 *
 * Try it:   Does a multiple-testing correction make the effect economically useful?
 *
 * Lesson article: https://thefintechbuilder.com/financial-mathematics-statistics-and-data-foundations/sampling-estimation-and-statistical-inference/effect-size-practical-significance-and-multiple-comparisons/
 * Free course:    https://courses.thefintechbuilder.com
 * Synthetic teaching example, not financial advice or a production library.
 */

export function lesson080() {
  const estimate=3.2,baseline=3,sd=Math.sqrt(.7);
  const tests=20,alpha=.05,minUsefulChange=.5;
  const result={standardizedEffect:(estimate-baseline)/sd,
    bonferroni:alpha/tests,practicallyLarge:Math.abs(estimate-baseline)>=minUsefulChange};
  return result;
}

export const checkedResult = {"standardizedEffect":0.23904572186687895,"bonferroni":0.0025,"practicallyLarge":false};

// Run this file directly: npx tsx lessons/08-sampling-estimation-and-statistical-inference/080-effect-size-practical-significance-and-multiple-comparisons.ts
if (process.argv[1] && import.meta.url.endsWith(process.argv[1].replace(/\\/g, "/").split("/").pop()!)) {
  console.log(JSON.stringify(lesson080(), null, 2));
}

Your output

Press Run to execute the code in your browser.

Expected output

{
  "standardizedEffect": 0.23904572186687895,
  "bonferroni": 0.0025,
  "practicallyLarge": false
}

Prefer your own machine? Every file is in the course repository · open it in Codespaces.

Lesson notes

The rule

standardized effect=(estimate−baseline)/s; Bonferroni α/m