This file is called “lab1.dta” and it is available for download on OnCourse in
the Resources section (
Lab> Lab 1
).
Part 1
Here, you’ll be looking at the number of delinquent acts committed by each respondent the
variable is called
delinq
.
1.
Using the
list
command, create a list of all the respondents and their respective number of
delinquent acts committed in the last year. Copy and paste the command and output from
Stata to the appropriate place on the output sheet.
2.
Using the
tabulate
command with the missing option (,m), construct the univariate
distribution of this variable. You should now have a frequency distribution produced by Stata.
(Quick note on terminology:
The “Percent” columns given by Stata are just like relative
frequencies multiplied by 100.
The “Cum.” column shows the cumulative relative
frequencies multiplied by 100. Also, notice that no observations are listed as missing, which
means that everyone provided an answer to this question.
If any observations were missing,
we would typically just exclude them from the analysis.
Stata does this automatically.) Copy
and paste the command and output from Stata to the appropriate place on the output sheet.
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document3.
Using the
summarize
command (with the
detail
option), find the mean and median of
the number of delinquent acts for all respondents in the dataset. (Hint: the median is one of
the percentiles.) Copy and paste the command and output from Stata to the appropriate place
on the output sheet.
Circle
all of the relevant pieces of the Stata output.
Write each of
these sample statistics below and provide a brief interpretation.
mean: 4.44
This is the end of the preview.
Sign up
to
access the rest of the document.
 Spring '13
 JoeDiGrazia
 Standard Deviation, Mean

Click to edit the document details