Question: 10. For printing on a black and white printer, which is cheaper, the chart will print better if you explicitly use a black and white


10. For printing on a black and white printer, which is cheaper, the chart will print better if you explicitly use a black and white scheme. Give the Stata command set scheme s2mono . 1. Cross-section Data Example A sample of 20 people aged 30 had the following number of annual doctor visits: 0, 0, 3, 4, 2, 5, 5, 2, 11, 2, 2, 2, 3, 0, 8, 0, 8, 1, 2, 4, (a) Read the data into Stata. (b) Obtain summary statistics. (c) Give the inter-quartile range. (d) List the rst 've observations, using Stata command list in 1/5 (e) Obtain a table of frequencies for these data, using Stata command tabulate (f) Give a histogram, with a bin width of one for these discrete data. Do the data appear to be normally distributed? (g) Provide a pie chart - what is the most common number of doctor visits? 2. Time Series Data Example The Stata dataset AED PRICEEARNINGS.DTA at has annual data on the price-earnings ratio (variable pe) for S&P500 rms (in real terms) from 1881 to 2012. Downlad from http://cameron.econ.ucdavis.edu/ECN102SPRING/AED DATA.html (a) Read the data into Stata: give command use AED PRICEEARNINGS.DTA (b) Obtain the summary statistics for pe. Do the data appear to be skewed? Do the data appear to have greater kurtosis than the normal distribution? Explain. (c) Plot the histogram. Do the data appear to be skewed
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
