Petrol and electric cars form two distinct clusters on a plot of mass against energy use. Within each cluster the association is positive, but the combined correlation is negative.
Explain how the grouping variable can produce this reversal.
Describe a more appropriate analysis.