[R] MAc-package, on OS-X 10.11.1: Warning Message In sqrt(var.T.agg.tau) : NaNs produced

Roebuck,Paul L proebuck at mdanderson.org
Tue Nov 10 22:00:25 CET 2015

Maybe change the warnings to errors temporarily, and decide for yourself about the problem.

R> options(warn=2)        # Turn warnings into errors
R> omni(es=z, var=var.z, data=dat, type="weighted", method="fixed", ztor=TRUE)
R> traceback()

From: R-help [r-help-bounces at r-project.org] on behalf of Kostadin Kushlev [kushlevk at gmail.com]
Sent: Tuesday, November 10, 2015 2:14 AM
To: r-help at r-project.org
Subject: [R] MAc-pakcage,       on OS-X 10.11.1: Warning Message In sqrt(var.T.agg.tau) : NaNs  produced

I am trying to run a mini meta-analysis for three studies within one of my papers. I am using the Mac package for meta-analyzing correlation coefficients.

I am using the following command: omni(es = z, var = var.z, data = dat, type="weighted", method = "fixed", ztor = TRUE)

This produces the expected values, but also a warning message: In sqrt(var.T.agg.tau) : NaNs produced

This message is repeated twice.

I am wondering how to interpret this error message. Is this because the program can’t estimate certain parameters due to the small number of correlation coefficients I am trying to analyze (only 3)?

Most importantly, can I report and interpret the output despite those messages?
The information contained in this e-mail message may be privileged, confidential, and/or protected from disclosure. This e-mail message may contain protected health information (PHI); dissemination of PHI should comply with applicable federal and state laws. If you are not the intended recipient, or an authorized representative of the intended recipient, any further review, disclosure, use, dissemination, distribution, or copying of this message or any attachment (or the information contained therein) is strictly prohibited. If you think that you have received this e-mail message in error, please notify the sender by return e-mail and delete all references to it and its contents from your systems.

More information about the R-help mailing list