Conditional Means (Discrete) (Data Analysis)

Using the eth_allrounds_final data, look at mean outcomes by group for a discrete variable.

  1. Compute mean harvest quantity (harvest_kg) by plot ownership (plot_owned) using tabstat. Which group has the higher mean yield?

  2. Make a graph bar of the mean harvest value (harvest_value_USD) by crop tpye (main_crop). Which crop has the highest average value and what is that value?