Pregunta de entrevista de Swiss Re

How is R squared calculate