Hi all,
I was wondering if anyone can help with egger's and begg's test for subgroups. I used this code for egger's test: by treatment: metabias loghr seloghr, egger
, it works properly. I used this code for begg's test: by treatment: metabias loghr seloghr, begg
,
but it works only in one subgroup and for the rest of them I get this error: invalid syntax r(198).
here is the do-file below


[ATTACH=CONFIG]temp_15317_1564751820255_51[/ATTACH]