Average Family Income Difference: Even vs. Odd Borrower IDs
An analyst at Sravni.ru is checking how balanced a borrower data extract is between even and odd IDs. This split is often used as a quick A/B sanity check. Calculate the average family income (profit_family) for borrowers whose id is even minus the average for borrowers whose id is odd. Return a single number in the fam_diff column, rounded to two decimal places. If the odd-ID group has a higher average, the result must be negative; do not use the absolute value.