Hi!

I use Stata 15 on a Windows PC (Word 2013), and I am trying to make a descriptive table with the user-written –summtab- (John Gallis). After running the code:

Code:
summtab, by(PCT_5mC_cat) cont_vars(PCT_5mC As_ug_L Cd_ug_L Hg_ug_L Mn_ug_L Pb_ug_L Se_ug_L Maternal_age) cat_vars(Maternal_edu Sex Parity) mean pmiss incmiss total landscape replace wordname(summary_table) title(Table 1)
I get the error message:
Code:
too few quotes
r(132);
I also tried to use summtab with the auto dataset. This happened:
Code:
summtab, by(foreign) cont_vars(price mpg weight length) cat_vars(rep78) mean median landscape replace

invalid specification; row misspecified
r(198);
Does anoyone have any idea what is going on here?



Best regards,

Kjell Vegard Weyde