Combine four quarterly expenses files in Stata and create a stacked bar chart to see which categories drove changes in parliamentary office expenditure.
graphics, stata
Calculate Pearson’s correlation coefficient and plot vehicle weight against fuel economy to examine the strength and direction of their relationship.
analysis, graphics, stata
Fit a normal curve to car lengths and compare the observed percentages within one and two standard deviations with the 68–95 rule.
graphics, stata
Calculate the standard deviation for two groups of cars with the same average fuel economy and graph the individual values to see which group varies more.
graphics, stata
Compare the mean and median of five car prices and use a bar chart to see why the median better represents a typical car when one model costs much more than the others.
graphics, stata
Calculate the mean price of four cars and add a reference line to a bar chart to see which cars cost more or less than the average.
graphics, stata