Question: II . Stata ( 6 9 points ) Please use the dataset World Values Survey _ 6 . dta to complete this assignment. If you

II. Stata (69 points)
Please use the dataset "World Values Survey_6.dta" to complete this assignment. If you have any
questions about the variables, you can refer to the codebook, "Codebook_United States." The
World Values Survey (WVS) is designed to help scientists and policy makers understand changes
in the beliefs, values and motivations of people around the world. The WVS consists of nationally
representative surveys conducted in almost 100 countries which contain almost 90 percent of the
world's population, using a common questionnaire. In this assignment, we just focus on the United
States and respondents from the US. Remember, all the code you will need we've used before so it
is a good idea to have past do files on hand.
Generate a new variable called satisfaction for life satisfaction from V23. Exclude missing
values or "nonsensical"/"extreme" values. The new variable should range from 1 to 10, with 1
being "Completely dissatisfied" and 10 being "Completely satisfied." Show this new variable
using the command "tabulate". Copy and paste the Stata output of tab. (3 points)
Create a histogram to show the distribution of satisfaction. Specify the "discrete" option
in Stata because life satisfaction is a discrete variable. In addition, please specify "frequency" and
"addlabels" options in Stata to show the frequencies and add height labels to bars. Finally, please
specify the values of the x axis to range from 1 to 10 and set the interval as 1. Copy and paste the
graph. (3 points)
II . Stata ( 6 9 points ) Please use the dataset

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Economics Questions!