* NLS Work
*----------------------
* Setup: read the data into Stata with these commands.
* (You will need to "clear" any previously loaded data, first.)
use http://www.stata-press.com/data/r12/nlswork.dta
keep if year==68
* Problem 0
*----------
* Save your results in a log file.
* Problem 1
*----------
* Among the women interviewed in 1968, what proportion had less
* than an 8th grade education? What proportion had more than
* 4 years of college? What was the birth year of the person with
* only a 2nd grade education?
*
* (Hint: For the last question, sort the data.)
* Problem 2
*----------
* Draw a bar chart of education (grade). Make sure the bin (bar)
* widths are 1 grade wide. Label the y-axis with percents.
* Save the graph for later.
* Problem 3
*----------
* This data set has no "wage" variable, but it does have ln(wage).
* Create a wage variable. What is the average wage among these
* women? The minimum? How much education does the woman with
* the largest income have?
* (Hint: Use "generate." The opposite of ln() is exp(). )
* Problem 4
*----------
* Draw a scatterplot of education and wage. Save it.
* Problem 5
*----------
* Close Stata, saving your data set for later (save it in U:\).
* Combine your logged results and your two graphs in Word.
* Save them as a .pdf file.