Velvet Star Monitor

Standout celebrity highlights with iconic style.

updates

How to iterate the geometric mean

Writer Matthew Martinez
$\begingroup$

I've been looking for the formula of the rolling geometric mean, which could be calculated iteratively, i.e $G(x)=f(G(x-1))$. This is needed for the computationally efficient spreadsheets.

$\endgroup$

1 Answer

$\begingroup$

$$G_{n} = \bigg(\prod_{i=1}^n x_i\bigg)^{1/n} = \bigg(x_n\prod_{i=1}^{n-1} x_i\bigg)^{1/n} = x_n^{1/n}\bigg(\prod_{i=1}^{n-1} x_i\bigg)^{1/n} = \left(x_n\left(G_{n-1}\right)^{n-1}\right)^{\frac 1n}$$

$\endgroup$ 1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy