(5/5)

Load up the data set and open a do-file for you to write the commands in.

1. How many observations does the dataset contain? What are these observations? (5 points)

2. The dataset contains a variable called dpi_mdmh. What does this variable measure? Does the variable contain missing values? If yes, how many observations are missing? Which observations are missing? (5 points)

3. The dataset contains a variable called el_gunn2. What does the variable measure? Does the variable contains missing values? If yes, how many observations are missing? Which observations are missing? What are the maximum and minimum values this variable takes? What is median? And the mean? What is standard deviation? And the variance? (5 points)

4. Get summary statistics of the variable GDP (gdp_log) and GDP per capita (gdppc_log. How can we tell the level of dispersion of these two variables? Which of the two variables is less dispersed? (5 points)

5. Tabulate the variables ciri_wecon and fh_cl. How many observations take the value 1 in both scales? What are those observations? Which observation takes the value 1 in the scale of wome’s economic right and 2 in the civil liberties scale? (5 points)

6. Looking at the variable afghanistan, what does this variable measures? Does the variable contains missing values? What is the the maximum and minimum value this variable takes? What is the mode? What is median? What is the mean? What is standard deviation? Using the same variable, (afghanistan), produce a kernel density function. Copy the graph and paste it in the document. Is the variable normally distributed? If not, what are the reasons the distribution does not look like a normal? (5 points)

7. The variable fh_cl is a categorical variable measuring civil liberties on a scale that goes from 1 (high levels of civil liberties) to 3 (low levels of civil liberties). Generate a bar

chart of this variable. Copy the graph and paste it in the document. Which country or countries had low levels of civil liberties? (5 points)

8. Using the variable gle_rgdp, first describe what the variable measures then create a histogram with bins sized 2000 each and apply also a smoother (a kernel density). Copy the graph and paste it in the document. How is the variable distributed? Using the same variable (gle_rgdp), now create a box plot for EU and non EU member countries. Copy the box plot and paste it in the document. Which category contains outliers? What are these outliers? (5 points)

9. The variable al_ethnic is an index of ethnic fractionalization that in our sample ranges from .0467574 to .71242. Using this variable, generate a new variable called al_ethnic2 that takes the following values: 0 for any values of al_ethnic below or equal to the first quartile; 1 for values any of al_ethnic strictly above the first quatrile and below or equal to the median; 2 for any values of al_ethnic that is strictly above the median and below or equal to the third quartile; 3 for any values of al_ethnic that is strictly above the third quartile. Assign to the newly created variable the label Quartiles of ethnic fractionalization. Assign the labels also to the values of this variable such that: 0 stands for first quartile; 1 for second quartile; 2 third quartile; 3 fourth quartile. Tab the variable after adding the labels. Copy the table and paste it in the document.(5 points)

10. Produce a box plot of the variable gdppc over the newly generated al_ethnic2. Is there any category containing outliers? Which observation is the outlier? (5 points)

(5/5)

CS 340 Milestone One Guidelines and Rubric Overview: For this assignment, you will implement the fundamental operations of create, read, update,

Retail Transaction Programming Project Project Requirements: Develop a program to emulate a purchase transaction at a retail store. This

7COM1028 Secure Systems Programming Referral Coursework: Secure

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

CS 340 Final Project Guidelines and Rubric Overview The final project will encompass developing a web service using a software stack and impleme

Get Free Quote!

328 Experts Online