It's estimated via a model. We don't actually know the value of all economic activities happening in the country. We just have statisticians survey some fraction of businesses on how they're doing, and plug those result into a model to estimate how the entire country's doing.