gertvv / gemtc

GeMTC R package: model generation for network meta-analysis
GNU General Public License v3.0
43 stars 25 forks source link

mtc.anohe could not work #68

Open dingyaozhang opened 2 years ago

dingyaozhang commented 2 years ago

Hello, I am using the package to run ANOHE with those codes:

data <- read.csv("problem.txt", sep=",", header=T)
network <- mtc.network(data, description="Example")
result.anohe <- mtc.anohe(network, n.adapt=10000, n.iter=50000)
#The file (problem.txt) is also attached.

problem.txt

However, I find an error, and I could not fix it.

Error in decompose.study(study.samples[, colIndexes, drop = FALSE], studies[i]) :
  Decomposed variance ill-defined for 1. Most likely the USE did not converge:
         [,1]        [,2]         [,3]         [,4]
[1,]    0.000    2478.307     2491.482     2485.044
[2,] 2478.307       0.000  1106288.727  -440067.825
[3,] 2491.482 1106288.727        0.000 -1459996.199
[4,] 2485.044 -440067.825 -1459996.199        0.000

What is the reason of the error, and how could we fix it? Thanks very much in advance!

20170702102 commented 1 year ago

Have you solved this problem? I had the same problem