Hello everyone

I am new to Stata and statistics in general. I am looking to replicate the following table:

Array

Right now I am having trouble trying to create just the first section of the table i.e. the All children part.

I understand that the code must involve some sort of ttest - however, if I use the ttest function, the grouping of treatment and control is in the rows, rather than column.

Any help or even just guidance nudging me towards what commands I should search/study will be greatly appreciated.

Thank you in advance!