Skip to content

Recompile R package metafor with alternative matrix solver #7

@georgeomics

Description

@georgeomics

Because of the reqirements of the solve() matrix solver in the metafor package, and its inability to handle large padded variances well, we may need to replace the solver with an alternative. On potential solver is pd.solve() in the ctmm package. A description of this solver is below:

For ctmm::pd.solve(), the padded variances can be infinite, and there are many features beyond qr.solve() for positive-definite matrices. There is also ctmm::pd.logdet() if det() has trouble, but det() is slightly more robust than qr.solve().

We may need to recompile the metafor package to work with the ctmm::pd.solve() matrix solver. This will enable us to run matrix calculations for matrices generated from the betas (slopes) of our predictors within metafor. As of 06/27/2024, ctmm::pd.solve and ctmm::pd.logdet are exported functions available on GitHub.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions