I am currently trying dose-response meta-analysis using the command dosresmeta.
I used the dataset (https://docs.google.com/spreadsheets/d/1IacL0-k3GvcQjv9uRZXMimEkrBJmd7NG/edit?usp=sharing&ouid=102840177676341943440&rtpof=true&sd=true)
When I tried to test for quadratic model, the commands returned error:
library(dosresmeta)
quad_drma<-dosresmeta(formula = logrr ~ dose + I(dose^2), type = type, id = id,
se = se, cases = event.n, n = total.n, data = datafile)
summary(quad_drma)
This is the error code.
dosresmeta.fit(X[v != 0, , drop = FALSE], Z[v != 0, , drop = FALSE] :
A two-stage approach requires that each study provides at least p non-referent obs (p is the number of columns of the design matrix X)
I tried to figure out the problem, and when I altered I(dose^2) to dose^2 the code worked but wrong results were came out.
Does anyone know which part of my code or dataset caused problem? I tried to figure out but I could not solve this problem.