I'm conducting a network meta regression with package mvmeta, howwever, "too many variables sepcificed r(103)" was always reported. My code and data were followed:
foreach trt in A B C D E F {
if " `trt' "=="A" continue
gen y`trt' = log(r`trt'/(n`trt'-r`trt')) - log(rA/(nA-rA))
gen S`trt'`trt' = 1/r`trt' + 1/(n`trt'-r`trt') + 1/rA + 1/(nA-rA)
foreach trt2 in A B C D E F {
if " `trt2' "=="A" continue
if " `trt2' ">" `trt' " gen S`trt' `trt2' = 1/rA + 1/(nA-rA) if !mi(r`trt') & !mi(r`trt2')
}
}
Array
Related Posts with A problem for conducting network meta regression by STATA
Testing the Equality of the Regression Coefficients After PPMLHDFEI tried to estimate a PPML gravity model of bilateral trade with country-time fixed effects by -ppml…
Can -margins- after -mixed- with small sample inference show t-tests rather than z-tests?Hello everyone. After using one of the dfmethod() options for -mixed- to obtain small-sample inferen…
two-y-axeshello, I try to show my results based on two y-axes but the results are not satisfactory in the grap…
Creating a rate grouped by another variableHello, I have a large dataset (27 vars, 1,048,575 obs) that contains data on malaria insecticide t…
Constraints on the estimated coefficientsOn the following non-linear least squares estimation of the risk parameter (risk), I would like to a…
Subscribe to:
Post Comments (Atom)
0 Response to A problem for conducting network meta regression by STATA
Post a Comment