Skip to content

NaN correlation in documentation #819

@ArnoStrouwen

Description

@ArnoStrouwen
Member

The documentation reads:

(Notice that the variance component for days: 1 is estimated as zero, so the correlations for this component are undefined and expressed as NaN, not a number.)

https://juliastats.org/MixedModels.jl/dev/constructors/

I might be misinterpreting, but I don't see any NaN correlations or 0 estimates.

Activity

palday

palday commented on Mar 26, 2025

@palday
Member

Ah, we updated the printing of some edge cases around those zeros and so the relevant entries are caught as systematically undefined/set and are replaced with . You'll still get NaNs when a variance is "naturally" 0, but that example no longer show it.

Thanks for the catch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Participants

      @palday@ArnoStrouwen

      Issue actions

        NaN correlation in documentation · Issue #819 · JuliaStats/MixedModels.jl