[R-meta] Wald_test error

Cátia Ferreira De Oliveira cm|o500 @end|ng |rom york@@c@uk
Tue Aug 10 13:39:55 CEST 2021


Dear all,

I have tried to run the code in this post:
https://www.jepusto.com/clubsandwich-for-rve-meta-analysis/

*options(width=150)*
*library(robumeta)*
*library(clubSandwich)*


*data(dropoutPrevention)*



*m3_robu <- robu(LOR1 ~ study_design + attrition + group_equivalence +
adjusted*
*                + outcome + evaluator_independence*
*                + male_pct + white_pct + average_age*
*                + implementation_quality + program_site + duration +
service_hrs, *
*                data = dropoutPrevention, studynum = studyID, var.eff.size
= varLOR, *
*                modelweights = "HIER")*
*print(m3_robu)*


*Wald_test(m3_robu, constraints = 10:12, vcov = "CR2")*


But it gives me the following error when I run the Wald_test:



*Error in if (!inherits(constraints, "matrix") | ncol(constraints) != p) {
:   argument is of length zero*

Does anyone know why this is happening?

Best wishes,

Catia

	[[alternative HTML version deleted]]



More information about the R-sig-meta-analysis mailing list