👉 In statistics, a coefficient of determination (R-squared) is a measure that indicates how well a model fits the data. It's calculated by squaring the correlation between two variables and dividing it by the product of their squares. The R-squared value ranges from -1 to 1, with values closer to 1 indicating a better fit.