Knowing that a population sample (non-random) is biased in terms of its demographics, what are the best practices to correct for this issue?
That is, let's say that I can attach an array of demographics to the sample, and that I wish to transform this sample so that they resemble that of the population these results where picked. Later on, this adjusted sample will be used for mathematical modeling.
As I see it, it is quite straightforward to correct for one certain aspect. If males are under represented by
50 %, all males are assigned a weight of
2. But what if one wants to take into account several variables at the same time? Is building a
n-dimensional array the way to go? Are there better solutions?
Are there readily available methods for this? An