Announcement

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

  • Network meta-analysis_Problems with Contribution Plot

    Hello,

    can you help me with one point of network meta-analysis - generating contribution plot using "netweight" command?

    When I conduct

    netweight _y _stderr _t1 _t2,asp(0.7)

    with my data I got r(504):


    [P] error . . . . . . . . . . . . . . . . . . . . . . . . Return code 504
    matrix has missing values;
    This return code is now infrequently used because, beginning
    with version 8, Stata now permits missing values in matrices.

    Could you please advice what I have wrong in my data (attached) or code (below)?

    Code:

    network setup mean sd n, study(id) trt(t) numcodes
    network convert pairs
    gen invvarES=1/( _stderr^2)
    networkplot _t1 _t2, edgew(invvarES) edgesc(1.2) asp(0.8)
    networkplot _t1 _t2, edgew(invvarES) edgecol(by blinding mean) edgesc(1.2) asp(0.8)
    netweight _y _stderr _t1 _t2,asp(0.7)
    Attached Files

  • #2
    Install the package metan:

    . ssc install metan

    Comment

    Working...
    X