Predicted value (ŷ)
ŷ, said “y hat”, is the predicted value of y: the value a regression line or model gives for y at a particular x, as opposed to the y actually observed.
Easily confused with
- Sample proportion (p̂)p̂, said “p hat”, is the sample proportion: the share of a sample that has some characteristic, the number of “successes” divided by the sample size. The proportion in the whole population is written p.
- Vector arrow and hat (v⃗, x̂)An arrow over a letter, v⃗, marks a vector: a quantity with a direction as well as a size. A hat, x̂, marks a unit vector, which has length one and gives only a direction; î, ĵ and k̂ point along the x, y and z axes.
How to read it
OpenStax’s Introductory Statistics: “The ŷ is read “y hat” and is the estimated value of y. It is the value of y obtained using the regression line. It is not generally equal to y from data.” A fitted line is therefore written with ŷ on the left, as in OpenStax’s ŷ = −173.51 + 4.83x for final exam scores predicted from a third exam. Penn State’s STAT 501 course notes call ŷᵢ the predicted response, or fitted value, for experimental unit i, and write the line ŷᵢ = b₀ + b₁xᵢ. As on p̂, the hat says the value is an estimate.
How to type it
| Character | ŷ︎ |
|---|---|
| Unicode | U+0177 |
| HTML | ŷ or ŷ |
Windows, in Word: Microsoft’s support page says to type the character code, press Alt, and then press X. For this character, type 0177, then Alt, then X.
Mac: Apple’s support page says to press Fn/Globe-E, or choose Edit > Emoji & Symbols, to open the Character Viewer, where you can browse and enter symbols.
Sources: Microsoft Support, Insert ASCII or Unicode Latin-based symbols and characters; Apple Support, Use emoji and symbols on Mac.
The residual, y − ŷ
The gap between an observed value and the predicted one, y − ŷ, is the residual. OpenStax writes it y₀ − ŷ₀ = ε₀ and explains that it is called the “error” though it is not an error in the sense of a mistake. A point above the line has a positive residual. The least-squares line is the one that makes the sum of the squared residuals as small as possible.
Hats on parameters
NIST’s Engineering Statistics Handbook puts the hat on the estimated parameters of a model as well: its residual is the observed response minus the fitted function evaluated with β̂, the estimate of β.
Typing ŷ
Unlike x̄ and p̂, ŷ has a character of its own: U+0177, LATIN SMALL LETTER Y WITH CIRCUMFLEX, which Unicode marks as Welsh and defines as y followed by the combining circumflex accent (U+0302), the mark Unicode also names “hat”.
Read next
More statistics symbols
Browse symbols drawn with letters and numbers.
Sources
- Introductory Statistics 2e, 12.3 The Regression Equation, OpenStax (Rice University), Section 12.3; The Correlation Coefficient r; The Coefficient of Determination
- STAT 501 Regression Methods, 1.2 What is the “Best Fitting Line”?, Penn State online course notes (archived copy), Penn State Eberly College of Science, Department of Statistics, Notation
- 4.4.4. How can I tell if a model fits my data?, NIST/SEMATECH e-Handbook of Statistical Methods, National Institute of Standards and Technology (NIST), R² Is Not Enough!; Definition of residual
- Earliest Uses of Symbols in Probability and Statistics, Jeff Miller, Earliest Uses of Various Mathematical Symbols, MacTutor History of Mathematics, University of St Andrews, Symbols in Statistics; Symbols associated with the normal distribution; Symbols associated with testing hypotheses
- Latin Extended-A: Range 0100–017F (code chart), The Unicode Standard, Version 18.0, Unicode Consortium, 0177
- Combining Diacritical Marks: Range 0300–036F (code chart), The Unicode Standard, Version 18.0, Unicode Consortium, 0302, 0304, 0305
Researched, edited and approved by Rory Hansen before publishing. Last reviewed October 8, 2026. How we research
Added .