Hello,
I want to complete summary statistics for my multilevel data - countries (level 2) households (level 1). I want to provide averages at the country-level. I am currently using the two commands in Stata 15.1.

Code:
estpost tabstat genderlaws genderviews foodinsecure, statistics (mean)by(countryyr)
Code:
estout . using file.rtf, cells("mean(fmt(a3))")label replace
estpost provides what I want but when I try to put it into an rtf file it disappears and only provides the n of the whole dataset - no summary statistics. Any suggestions would be appreciated.