ArticleslgStudy

mathematics

Yamartino method

Yamartino method is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Yamartino method rather than just read about it. In short: The Yamartino method is an algorithm for calculating an approximation of the circular variance of wind direction during a single pass through the incoming data. Background The simple method for calculating circular variance requires two passes through the list of values.

Key takeaways

  • Yamartino method belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Yamartino method to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Yamartino method from memory before moving on to harder problems.

Reference excerpt

The Yamartino method is an algorithm for calculating an approximation of the circular variance of wind direction during a single pass through the incoming data.

Background The simple method for calculating circular variance requires two passes through the list of values. The first pass determines the circular mean of those values, while the second pass determines the variance. This double-pass method requires access to all values. There is also a single-pass method for calculating the standard deviation, but this method is unsuitable for angular data such as wind direction. Trying to calculate angular moments by naively applying the standard formulas to angular expressions yields absurd results. For example, a dataset that measures wind speeds of 1° and 359° would average to 180°, but expressing the same data as 1° and -1° (equal to 359°) would give an average of 0°. Thus, we define circular moments by placing all measured angles on a unit circle, then calculating the moments of these points. The Yamartino method, introduced by Robert J. Yamartino in 1984, solves both problems A further discussion of the Yamartino method, along with other methods of estimating the standard deviation of wind direction can be found in Farrugia & Micallef. It is possible to calculate the exact standard deviation in one pass. However, that method needs slightly more calculation effort.

Algorithm Over the time interval to be averaged across, n measurements of wind direction (θ) will be made and two totals are accumulated without storage of the n individual values. At the end of the interval the calculations are as follows: with the average values of sin θ and cos θ defined as

s a = 1 n ∑ i = 1 n sin ⁡ θ i , {\displaystyle s_{a}={\frac {1}{n}}\sum _{i=1}^{n}\sin \theta _{i},}

c a = 1 n ∑ i = 1 n cos ⁡ θ i . {\displaystyle c_{a}={\frac {1}{n}}\sum _{i=1}^{n}\cos \theta _{i}.}

Then the average wind direction is given via the four-quadrant arctan(x,y) function as

θ a = arctan ⁡ ( c a , s a ) . {\displaystyle \theta _{a}=\arctan(c_{a},s_{a}).}

From twenty different functions for σθ using variables obtained in a single-pass of the wind direction data, Yamartino found the best function to be

σ θ = arcsin ⁡ ( ε ) [ 1 + ( 2 3 − 1 ) ε 3 ] , {\displaystyle \sigma _{\theta }=\arcsin(\varepsilon )\left[1+\left({\tfrac {2}{\sqrt {3}}}-1\right)\varepsilon ^{3}\right],}

where

ε = 1 − ( s a 2 + c a 2 ) . {\displaystyle \varepsilon ={\sqrt {1-(s_{a}^{2}+c_{a}^{2})}}.}

The key here is to remember that sin2θ + cos2θ = 1 so that for example, with a constant wind direction at any value of θ, the value of ε {\displaystyle \varepsilon } will be zero, leading to a zero value for the standard deviation. The use of ε {\displaystyle \varepsilon } alone produces a result close to that produced with a double-pass when the dispersion of angles is small (not crossing the discontinuity), but by construction it is always between 0 and 1. Taking the arcsine then produces the double-pass answer when there are just two equally common angles: in the extreme case of an oscillating wind blowing backwards and forwards, it produces a result of π 2 {\displaystyle {\tfrac {\pi }{2}}} radians, i.e. a right angle. The final factor adjusts this figure upwards so that it produces the double-pass result of π 3 {\displaystyle {\tfrac {\pi }{\sqrt {3}}}} radians for an almost uniform distribution of angles across all directions, while making minimal change to results for small dispersions. The theoretical maximum error against the correct double-pass σθ is therefore about 15% with an oscillating wind. Comparisons against Monte Carlo generated cases indicate that Yamartino's algorithm is within 2% for more realistic distributions. A variant might be to weight each wind direction observation by the wind speed at that time.

See also Algorithms for calculating variance Circular dispersion

References

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Yamartino method

Start with the simplest possible case. Write down what Yamartino method claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Yamartino method before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Yamartino method ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Yamartino method

In research
Yamartino method appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Yamartino method in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Yamartino method is common in secondary-school and first-year university syllabi. It links to neighbouring topics Atmospheric dispersion modeling, Boundary layer meteorology, Directional statistics, so understanding it makes those chapters shorter.
In everyday life
Look for Yamartino method outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Yamartino method” →

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Yamartino method in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Yamartino method means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Yamartino method out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Yamartino method in simple terms?

The Yamartino method is an algorithm for calculating an approximation of the circular variance of wind direction during a single pass through the incoming data. Background The simple method for calculating circular variance requires two passes through the list of values.

Why does Yamartino method matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Yamartino method?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Yamartino method.

Tags

  • Atmospheric dispersion modeling
  • Boundary layer meteorology
  • Directional statistics
  • Statistical algorithms

Keep exploring