You need to upload a log-file and do-file for your Stata session.
1. Using the NLSW88 data set (sysuse nlsw88), create a new variable that identifies all married, non-white women aged 40 or above.
2. Keep all observations that meet the above criteria, drop all other observations from the data. Comment on the changes that happened in total number of observations in data set.
3. Generate a new variable that groups all remaining women into four equal wage quartiles.
4. Recode race variable, creating two categories, white and non-white, instead of three. Using some cross-tabulation tables (flexible table or tabstat), analyze mean wages for whites and non-whites and comment on the results.
5. Generate a variable of mean wages by each occupation, show summary statistics of this new variable.