Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Hoe to generate counts and get overall summary of sample size

    I am carrying out a metanalysis using Stata 15 Metan command.
    I adjusted SEs of some trials so I can only use, metan _logrr log_lci log_uci and NOT metan tdeath tnodeath cdeath cnodeath.
    The latter would generate counts automatically and sums up at the bottom of forest plot.
    I have generated my own counts as shown below. The new counts by treatment arm do not give overall sample size.

    gen Treatment= tdeath + "/" + N_treated

    gen Control = cdeath + "/" + N_con

    Anyone who knows how I can go around this problem so that I get the summed-up sample size in all columns? Thank you in advance.
    Attached Files
Working...
X