Weighted analysis of principal components: Two approximations to statistical weights