Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Numerical problem with AU test #86

@bqminh

Description

@bqminh

Personal comm. with Shimodaira:

July-Sep-2018
Minh & Heiko:

Dear Shimo,

I am writing to you regarding a question about some extreme cases in the AU test. (My colleague Minh has written about this also mid of July, but seemingly you have been too busy to answer.)

The question is about the following part in your AU paper:

Screen Shot 2018-09-10 at 10.05.25 am.png

The problem is that the quantile function of the standard normal distribution

\Phi^{-1}(0) = -infinity and
\Phi^{-1}(1) = +infinity

So the question is, how do you handle the cases in CONSEL (or in your R package) if BP is either 0% or 100%?


25-Sep-2018
Shimodaira:

Here is my quick answer based on my memory. If you think further issues, I may look at the code.

In Consel and pvclust, there are two estimation methods are implemented: weighted least square (WLS) and maximum likelihood estimator (MLE). The above formula is for WLS. WLS is used for computing the initial value for the iterative computation of MLE.

For WLE, the zero or one bp values are simply ignored.

For MLE, the zero and one values are properly included in the estimation (fully used). However, if all the scales has zero or one values, mle will not make sense, so I simply set AU = 0 or 1.

Probably, there are fine tuning in the code so that there is a threshold of the number of zero or one values to decide if AU = 0 or 1 used or try estimation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions