Hi Stata experts,
I have got a group of cases and a group of controls that is x times as large. I want to match the groups on variable A. Variable A is normally distributed in the case group, but follows a bimodel distribution in the control group because it is a combination of two groups that have a normal distribution of variable A, but of which the means are slightly apart. I could use frequency matching using a syntax I found in a previous statalist post: http://www.stata.com/statalist/archi.../msg00326.html
However, I believe I could potentially include more control subjects if I would be able to <<draw a sample from the total control group with predefined mean of variable A>>. Of course, the predefined mean would be the mean of the case group. I realize the standard deviation would likely be different for the control than for the case group (which would not be the case with frequency matching).
Is it possible to draw a sample of an existing data set with a predefined mean?
I have got a group of cases and a group of controls that is x times as large. I want to match the groups on variable A. Variable A is normally distributed in the case group, but follows a bimodel distribution in the control group because it is a combination of two groups that have a normal distribution of variable A, but of which the means are slightly apart. I could use frequency matching using a syntax I found in a previous statalist post: http://www.stata.com/statalist/archi.../msg00326.html
However, I believe I could potentially include more control subjects if I would be able to <<draw a sample from the total control group with predefined mean of variable A>>. Of course, the predefined mean would be the mean of the case group. I realize the standard deviation would likely be different for the control than for the case group (which would not be the case with frequency matching).
Is it possible to draw a sample of an existing data set with a predefined mean?
Comment