# What statistics to use and How for "difference in differences"

There may be similar questions posted earlier but I am a novice for statistics and cannot discern them from mine, so I am posting my question as it is.

What statistics can I use and how to use it (need some guidance, if possible) to calculate the following hypothetical scenario -

4 12y/o males, average height 164cm, se = 2cm
5 12y/o females, average height 163cm, se = 3cm
6 18y/o males, average height 175cm, se = 2cm
7 18y/o females, average height 165cm, se = 3cm


Question to answer: If the difference in height ( 1 v 10 cm) between males and females differs statistically (p <0.05) between 12 y/o and 18 y/o group.

Any help will be appreciated.

• Seems to me that in that scenario there is no sensible hypothesis that would say that the difference between male and female heights should be unaffected by age, so why do a test? Just characterise the heights or the differences and you are done. (I suggest confidence intervals.) Mar 29, 2018 at 20:43
• Thanks but the example was stated as hypothetical, so clearly it did not represent the real-world scenario. Mar 29, 2018 at 21:22