Hi experts!
If for the sub sample(total number=n), black is 50% and whites is 50%; and for the full sample(total number=N), black is 75% and white is 25%. So in the full sample, the probability(p) for black is 0.75 and the p for white is 0.25. How can I calculate the weights(wt) that I want to include as [pweight=wt] when I run the regression model for the subsample?
Let's say Pi is the probability for each participant in the sub sample (0.75 or 0.25 in this case), is the weight= (Pi / sum of Pi) *N? N is the total number of the full sample. Thanks everyone!
If for the sub sample(total number=n), black is 50% and whites is 50%; and for the full sample(total number=N), black is 75% and white is 25%. So in the full sample, the probability(p) for black is 0.75 and the p for white is 0.25. How can I calculate the weights(wt) that I want to include as [pweight=wt] when I run the regression model for the subsample?
Let's say Pi is the probability for each participant in the sub sample (0.75 or 0.25 in this case), is the weight= (Pi / sum of Pi) *N? N is the total number of the full sample. Thanks everyone!
Comment