Announcement

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

  • metareg using D. Wilson macro

    Dear statalister,
    Its always good to read you again.
    Today I am wirting you because is the first time that I am running a meta-analysis regression and I have some doubts please.
    I installed the ado file from David Wilson for metareg and I using stata 15. All the variables are dummies for testing the characteristics of the studies and the sample.

    I am running this code:

    Code:
    metareg  es p i m pn en eqa neq cha dex mult nfpa ac stk mkt surv tec man cper adj log fsi fag fsal rdi sla ppv pdep aim aag apex prel rda psi npa asi acop cul geo gdp tru usa cty nv ivi ind yea [w=fo], model (mm)
    and I got this results:

    HTML Code:
    Meta-Analytic Random Intercept, Fixed Slopes Regression Analysis
    
    Source               Q        df          P                         No. of obs  =    985
                                                                                  Mean ES = 0.0169
    Model        363.4017        46    0.00000               R-squared = 0.1973
    Residual     1478.8882       938    0.00000
    Total         1842.2899       984    0.00000
    
    
    Variable       Coef.    Std. Err.       z          P>z     [95% Conf. Interval]
    
    p           -.065044     .022584   -2.88006   0.003976   -.109309   -.020779
    i           -.009889     .003381   -2.92526   0.003442   -.016515   -.003263
    m            .001551     .000946    1.63816   0.101388   -.000305    .003406
    pn           .004085     .016347    .249909   0.802658   -.027955    .036126
    en           .000029     .012981    .002208   0.998238   -.025414    .025472
    eqa          -3.0753     1.89876   -1.61965   0.105307   -6.79692    .646237
    neq          -3.0625     1.89999   -1.61184   0.106998   -6.78644    .661506
    cha          -3.0349     1.89801   -1.59897   0.109828   -6.75495    .685239
    dex          -3.0353     1.89699   -1.60004   0.109590   -6.75335    .682838
    mult         -3.0545     1.89847   -1.60892   0.107633   -6.77549    .666508
    nfpa         -2.9649     1.89882   -1.56144   0.118420   -6.68657    .756796
    ac           .021129     .036228    .583216   0.559748   -.049878    .092136
    stk          .099349     .035932    2.76493   0.005693    .028923    .169776
    mkt                0           0          .          .          0          0
    surv        -.005492     .035802   -.153387   0.878093   -.075664    .064681
    tec          .051017     .037522    1.35965   0.173941   -.022526     .12456
    man           .12225     .033437    3.65606   0.000256    .056711    .187783
    cper         -.36405     .110126   -3.30574   0.000947   -.579893     -.1482
    adj           .15403     .056897    2.70716   0.006786    .042511    .265548
    log          .068147      .02593    2.62811   0.008586    .017324     .11897
    fsi          .015069     .012428    1.21246   0.225336   -.009291    .039428
    fag          .040444     .015558    2.59951   0.009336     .00995    .070938
    fsal        -.058324     .025717   -2.26787   0.023337    -.10873   -.007918
    rdi          .091974     .017304    5.31532   0.000000    .058059    .125889
    sla         -.030345      .02516   -1.20608   0.227787   -.079659    .018969
    ppv         -.000034      .02493   -.001354   0.998920   -.048896    .048829
    pdep         -.03831     .021825   -1.75535   0.079199   -.081087    .004466
    aim         -.057982     .022561   -2.57001   0.010170   -.102201   -.013762
    aag          .006862     .014614    .469535   0.638688   -.021781    .035504
    apex        -.015677     .013575   -1.15483   0.248159   -.042284     .01093
    prel         .065808     .013478    4.88259   0.000001    .039391    .092226
    rda         -.057806     .019643   -2.94284   0.003252   -.096306   -.019306
    psi         -.068684     .025796   -2.66261   0.007754   -.119245   -.018124
    npa          .033065     .018311    1.80574   0.070958   -.002825    .068954
    asi         -.069288     .017784   -3.89614   0.000098   -.104144   -.034432
    acop         .055751     .018406    3.02897   0.002454    .019675    .091826
    cul          .062433     .015462    4.03795   0.000054    .032128    .092738
    geo         -.011336     .022671   -.500025   0.617057   -.055772    .033099
    gdp          .021191     .020028     1.0581   0.290011   -.018063    .060445
    tru         -.021388     .020313   -1.05291   0.292382   -.061202    .018426
    usa          .022632     .023017    .983251   0.325484   -.022482    .067745
    cty         -.008364     .027037   -.309353   0.757053   -.061357    .044629
    nv           .000372     .000423    .880756   0.378450   -.000456    .001201
    ivi         -.006033     .014989   -.402481   0.687330    -.03541    .023345
    ind         -.074778     .012284   -6.08766   0.000000   -.098854   -.050702
    yea         -.041271     .013598   -3.03498   0.002406   -.067923   -.014618
    _cons              0           0          .          .          0          0
    
    Random effects variance component (via method of moments) =  .0118395
    My questions are:
    1. After enter the code it says
      HTML Code:
      (analytic weights assumed)
      , what does it means?
    2. In the results the variable mkt and the constant have a beta = 0 ¿Why is that happening or what does it mean?
    3. Is it correct the code in terms of syntax?
    I really appreciate any help about it.
    Best regards !
    Alejandro








  • #2
    Hi Alejandro,

    I am not familiar with the metareg command, but have you tried using this specific command with perfectly collinear variables? My suspicion is that it doesn't automatically omit such variables like you would see when you use standard Stata commands like "reg".

    In general, a coefficient equal to 0 could simply the best estimate, but we would not expect the 95% confidence interval to be [0,0].

    Comment

    Working...
    X