Announcement

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

  • meta-analysis of proportion_- problem with showing the 95% CI for the I-squared statistic

    I performed a meta-analysis of proportion using the metan command in Stata ver 17.0 and genertaed a forest plot. The forest plot shows I2 reported with the p-value, however I need to report it with a 95% CI. Using the suggestion of just adding the option i2ci at the end of the code produces an error. The log file does not show the 95%CI for I2.

    ***code begin***
    metan discordant_pairs total-household_pairs, pr model(ivhet) transform(fturkey, iv) study(study) by(tbincidence_category) sortby(tbincidence_id) forestplot(astext(40) textsize(100) boxscale(50) spacing(1.2) leftjustify range(01) dp(2)) extraline(yes) hetinfo(isq h) i2ci
    ***end of code***

    ***begin of error***

    option i2ci not allowed
    r(198);

    ***end of error***


    Code:
    * Example generated by -dataex-. For more info, type help dataex
    clear
    input str27 study int discordant_pairs byte typing_method_id str6 tbincidence_category byte tbincidence_id
    "Behr et al., 1998"            9 2 "<20"    1
    "Bennett et al., 2002"        80 2 "<20"    1
    "Blanco-Guillot et al., 2018"  6 2 "20-100" 2
    "Borrell et al., 2009"         4 2 "20-100" 2
    "Cavany et al., 2018"         12 2 "<20"    1
    "Chen et al., 2022"            5 2 "20-100" 2
    "Colangeli et al., 2020"      13 2 "20-100" 2
    "Conceicao et al., 2018"       8 2 "20-100" 2
    "Dale et al., 2022"            4 3 "<20"    1
    "Dheda et al., 2017 "          8 3 ">100"   3
    end
Working...
X