## Definition

The coefficient of determination is, in statistics, an indicator which measures the quality of a prediction. The closer this indicator is to 1, the closer the model is to reality.

## Calculation

coefficient of determination = 1 - Sum of the deviations of the measurement with the squared prediction / Sum of the deviations of the measurement with the squared mean where R² is the coefficient of determination, y "i" the observed measurement, y "hat i" the predicted value and y "bars" the mean

## Example

For the following time series: So the R² is worth: 1- ((50² + 30² + 200²) / ((1500-1510) ² + (1230-1500) ² + (1800-1500) ²)) = 0.73
The predictive model is correct.

## Terminology

The coefficient of determination is often called R² and its English translation is "Coefficient of determination".
{"ft_lang_label":"__label__en","ft_lang_prob":0.8632005,"math_prob":0.97053957,"size":854,"snap":"2022-27-2022-33","text_gpt3_token_len":209,"char_repetition_ratio":0.15294118,"word_repetition_ratio":0.0882353,"special_character_ratio":0.2704918,"punctuation_ratio":0.08219178,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9978681,"pos_list":[0,1,2,3,4],"im_url_duplicate_count":[null,1,null,1,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-07-01T13:03:26Z\",\"WARC-Record-ID\":\"<urn:uuid:4865fedd-632f-461e-bbd0-e74079cd9c8b>\",\"Content-Length\":\"18082\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:5770a8ff-bd7f-4a7d-9963-22c47c444703>\",\"WARC-Concurrent-To\":\"<urn:uuid:09fd5455-fc38-40da-8c66-ed5845187c32>\",\"WARC-IP-Address\":\"13.107.213.40\",\"WARC-Target-URI\":\"https://success.openhealth.fr/en/articles/3654093-coefficient-of-determination\",\"WARC-Payload-Digest\":\"sha1:E3LBC43JZR7BKMVZRTU4MDNURUZPUYNS\",\"WARC-Block-Digest\":\"sha1:XUMM6CUZJ3URLS4BBFLWHSWZM5NEM367\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-27/CC-MAIN-2022-27_segments_1656103941562.52_warc_CC-MAIN-20220701125452-20220701155452-00748.warc.gz\"}"}