Skip to content

Error when running x$mrtryx() #23

@DM087

Description

@DM087

Hi @explodecomputer @yoonsucho

Thank you for the wonderful package. I was following the 'Guide to using MR-TRYX' on this page but I get an error

https://explodecomputer.github.io/tryx/articles/guide.html

`x$mrtryx()
Using RadialMR package to detect outliers

Radial IVW

              Estimate  Std.Error   t value     Pr(>|t|)

Effect (Mod.2nd) 0.5991043 0.07718481 7.761945 8.363657e-15
Iterative 0.5991043 0.07718481 7.761945 8.363657e-15
Exact (FE) 0.6420699 0.04024276 15.954916 2.633294e-57
Exact (RE) 0.6101965 0.08849314 6.895410 5.042766e-11

Residual standard error: 1.92 on 232 degrees of freedom

F-statistic: 60.25 on 1 and 232 DF, p-value: 2.66e-13
Q-Statistic for heterogeneity: 855.6769 on 232 DF , p-value: 2.874833e-72

Outliers detected
Number of iterations = 2
Error in if (radial$outliers[1] == "No significant outliers") { :
the condition has length > 1`

Any thoughts on what could be going wrong here?

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions