STATA homework

 

1.     Load file diamonds_small in STATA.

2.     Summarize categorical variables. How many observations have the color H and clarity SI2?

3.     Drop all observations for diamonds with price smaller than 3000. How many observations were deleted?

4.     Re-load the original file.

5.     Create a boxplot representing the prices of diamonds for each color.

6.     Group the boxplots above by the values of table, considering two categories: those with table <=55 and table >55.

7.     Create a slide presentation (PowerPoint or an editor of your choice) with the results (numeric and graphs) obtained in each exercise.