Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Update terms for ESS, TSS, and SSR to specify uncentered vs centered?

Open
#238 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
52/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Stale
Tech stack
tex
Domain
documentation

Research direction

Locate the lecture text containing the displayed TSS, SSR, and ESS definitions, using the wording from this issue and the original discussion in pull request #217. Update the terminology as proposed, including the centered-case note, then verify that the rendered equations and note are correct.

Written by the indexing model from the issue text.

Description

I think a more commonly seen definitions of (centered) TSS, ESS and SSR are given here where the decomposition only holds when $X$ includes intercept term.

So, I think it might be clearer if we replace

Here are some more standard definitions:

* The **total sum of squares** is $:=  \| y \|^2$.
* The **sum of squared residuals** is $:= \| \hat u \|^2$.
* The **explained sum of squares** is $:= \| \hat y \|^2$.

> TSS = ESS + SSR

with

Define:

* The (uncentered) **total sum of squares** (TSS) is $:=  \| y \|^2$.
* The (uncentered) **sum of squared residuals** (SSR) is $:= \| \hat u \|^2$.
* The **explained sum of squares** (ESS) is $:= \| \hat y \|^2$.

 We have the relationship:

$$
\text{TSS} = \text{ESS} + \text{SSR}
$$

```{note}
For the centered case, see [here](https://en.wikipedia.org/wiki/Explained_sum_of_squares).
```

Please let me know your thoughts on this!

Originally posted by @HumphreyYang in https://github.com/QuantEcon/lecture-python-advanced.myst/pull/217#discussion_r2250749514

Dominant language
TeX
Stars
37
Forks
26
Avg merge
2d 17h
Merged PRs (30d)
2

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from QuantEcon/lecture-python-advanced.myst

All issues in QuantEcon/lecture-python-advanced.myst

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.