A data set contains two clusters corresponding to petrol and electric cars. Within each group, mass and energy use have a positive linear association, but the combined data have a negative correlation.
Explain how the grouping variable can produce this reversal.
Explain why one regression line fitted to all cars may be misleading.
State a more appropriate analysis.