# How to Calculate Total Sum of Squares (TSS or SST)?

Short tutorial on how to calculate total sum of squares (TSS or SST).

## Total Sum of Squares (TSS or SST)

Total Sum of Squares (TSS or SST) is defined as the sum of over all observations, of the squared differences of each observation from the overall mean.
This short tutorial will help you explain how to calculate the total sum of squares (TSS or SST) with a neat and simple example. Formula:
Total Sum of Squares TSS or SST = Σ (Xi - X̄)
where,
X = Statistical Data
X̄ = Statistical Mean Example:
Consider a statistical data 1,2,3,4,5. Calculate Total Sum of Squares (TSS or SST).
Step 1:
Statistical Data = 1,2,3,4,5
Total Data = 5 To Find:
Total Sum of Square TSS or SST
Step 2:
Applying the values in the formula,
Total Sum of Squares TSS or SST = Σ (Xi - X̄)
Total Sum of Squares (TSS or SST) = (1-3)2 + (2-3)2 + (3-3)2 + (4-3)2 + (5-3)2
= (-2)2 + (-1)2 + (0)2 + (1)2 + (2)2
= 4 + 1 + 0 + 1 + 4
= 10
{"ft_lang_label":"__label__en","ft_lang_prob":0.75516015,"math_prob":0.999889,"size":871,"snap":"2019-51-2020-05","text_gpt3_token_len":301,"char_repetition_ratio":0.19492503,"word_repetition_ratio":0.16091955,"special_character_ratio":0.35361654,"punctuation_ratio":0.10606061,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99998605,"pos_list":[0,1,2,3,4,5,6,7,8],"im_url_duplicate_count":[null,4,null,4,null,4,null,4,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-01-20T00:34:59Z\",\"WARC-Record-ID\":\"<urn:uuid:79fc25b5-143c-4a5f-96c5-80c17b8760dc>\",\"Content-Length\":\"29673\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:139bcac9-6acd-4ad5-b405-ce027578363a>\",\"WARC-Concurrent-To\":\"<urn:uuid:773412d6-a3e7-4af2-9a7f-0769465addb3>\",\"WARC-IP-Address\":\"50.116.14.108\",\"WARC-Target-URI\":\"https://www.shorttutorials.com/how-to-calculate-total-sum-of-squares/index.html\",\"WARC-Payload-Digest\":\"sha1:GZSUOQNNUJNAK7EQQLV6BBDF6GFNZVGV\",\"WARC-Block-Digest\":\"sha1:QOGLY7SRYMYYIS42CGAKYZDA2DRIUJO7\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-05/CC-MAIN-2020-05_segments_1579250595787.7_warc_CC-MAIN-20200119234426-20200120022426-00171.warc.gz\"}"}