Wednesday, November 18, 2026
Data from SEC filings, checked daily
My DeskFree
Public filings, plainly told
Parametric and non-parametric tests of ind
Summarize with AIChatGPTClaudePerplexityGoogle AIGrokCopilot
CFA® Level I · Quantitative Methods · Lesson 9 of 11

Parametric and non-parametric tests of independence

Correlation tests and chi-square tests of independence.

Written by Sepehr Parsa7 min read

Parametric versus non-parametric

Parametric tests (like the t-test) assume something about the population’s distribution, usually normality, and test a parameter such as a mean.

Non-parametric tests make fewer assumptions. Use them when:

  • the data are ranks or categories rather than measurements,
  • the sample is small and the distribution is unknown or clearly not normal,
  • outliers would distort a parametric test,
  • the question is not about a parameter at all (for example, whether a series is random).

Testing a correlation coefficient

To test whether a population correlation is zero (H0: ρ = 0), use:

t = r × √(n − 2) / √(1 − r²)       with n − 2 degrees of freedom

Example. r = 0.30 from 30 observations.

  • t = 0.30 × √28 / √0.91 = 0.30 × 5.292 / 0.954 = 1.66.
  • Two-tailed 5% critical value with 28 df ≈ 2.05.
  • 1.66 < 2.05, so fail to reject H0: no significant correlation.

Notice how sample size matters. The same r = 0.30 with 100 observations gives t ≈ 3.11, which is significant. Small correlations need large samples to be detected.

Spearman rank correlation

The Spearman rank correlation measures how closely two rankings agree. Rank each variable, then compute:

rs = 1 − 6 Σd² / [n(n² − 1)]

where d is the difference between each pair of ranks. It is less affected by outliers and does not require normality. For large samples (n > 30), test its significance with the same t-formula as above.

Example use: do funds ranked best on past returns also rank best on future returns?

Chi-square test of independence

When both variables are categorical, put the counts in a contingency table. Example: credit rating category (rows) against sector (columns).

  1. For each cell, the expected count if the variables were independent = (row total × column total) / grand total.
  2. Calculate:
χ² = Σ (observed − expected)² / expected
  1. Degrees of freedom = (rows − 1) × (columns − 1).
  2. Reject independence if χ² exceeds the critical value. The test is one-tailed (right tail).

A large χ² means the observed counts differ from what independence would predict, so the variables are likely related.

Exam focus

Expect the correlation t-test (watch the n − 2 degrees of freedom), a question on when to use a non-parametric test, and the setup of a chi-square contingency test, including expected counts and degrees of freedom.

Check yourself

Tap an answer. You get the explanation straight away.

  1. A sample of 30 observations shows a correlation of 0.30 between two variables. The t-statistic for testing whether the correlation is zero is closest to:

  2. Which test is most appropriate to check whether a company's sector and its credit rating category are related?

  3. A non-parametric test is most appropriate when:

Questions people ask

When should I use a non-parametric test?

When the data are ranks, when the distribution is clearly not normal and the sample is small, or when outliers would dominate a parametric test.

Why does the same correlation become significant with more data?

The test statistic grows with the square root of n − 2. A correlation of 0.3 is weak evidence with 20 observations but strong evidence with 200.

How many degrees of freedom does a chi-square test of independence use?

(rows − 1) × (columns − 1) for a contingency table.

Unlimited practiceGenerate more Quantitative Methods questionsFresh questions with worked solutions every time, in the Level I style.
Progress is saved in this browser.
Next lesson · 10 of 11Simple linear regressionFitting a line, interpreting the slope, goodness of fit and prediction intervals.

CFA Institute does not endorse, promote or warrant the accuracy or quality of WallStPal. CFA® and Chartered Financial Analyst® are registered trademarks owned by CFA Institute.

Exam format, timing and topic weights are from CFA Institute's Level I, II and III exam pages, checked November 15, 2026. Check CFA Institute for the year you sit. Lessons and practice questions are WallStPal's own and are not CFA Institute material.

Report an error

Tell us what looks wrong on this page. We check every report against the original filing and fix mistakes on our corrections page.

Share this trade
XTelegram
My Desk · free

Sign in to follow

Follow stocks, members of Congress, famous investors and funds, and see what's new each time you come back.