Hi all,
I am not so sure if my logic for the code is right or wrong. I have to check if the age and sex distribution of the participants in the sample is similar to those not in the sample.
What I did is as follows:
use xxx_data, clear
sample 100, count
count
Sample
su age, detail
su sex, detail
Population
use xxx_data, clear
su age, detail
su sex, detail
Is this the right way to approach or did I make a mistake along the way?
Related Posts with Comparing population and sample age and sex distribution
Interacting variablesHello, I need some help. I'm doing my master thesis about renewable energies and politics I have a …
Date Help: (DM) Dates without Years and Unequal IntervalsSorry this is a very basic problem. I have a time series covering 1.5 years. The datevar is a string…
Factor analysis - Using factors in regression as covariatesDear all, I would like to know your opinion about the following issue: I have a set of variables the…
expanding datasetDear all I have a dataset as follows: Code: clear input byte loan_id int lender_id byte key_lend…
Keep time within a range from DateTimeHi Everyone! I am writing my dissertation which is on "The Impact of Macroeconomic Announcements on…
Subscribe to:
Post Comments (Atom)
0 Response to Comparing population and sample age and sex distribution
Post a Comment