Skip to content

Releases

v0.3.0

Choose a tag to compare

@palday palday released this 01 Dec 04:45
a5abd34

Results from nonparametricbootstrap and permutation change from v0.2.0 for every model because of the inflation-factor fixes below.
Rerun any analyses that used v0.2.

Added

  • Support for MixedModels.jl v5.
    MixedModels v4.22 and later remain supported (#72).
  • model_residuals(model, blups) is exported.
    It replaces the pirated residuals(model, blups) method (#72).
  • inflation_factor warns when the empirical BLUP covariance has lower rank than the estimated covariance, for example in singular or near-singular fits.
    In that case the inflated BLUPs cannot match the model's covariance.
    Simplifying the random-effects structure or using blup_method=olsranef can help (#71).
  • BlockDiagonals 0.2 is allowed (#58).

Changed

  • Breaking: Julia 1.10 or later is required (previously 1.9) (#74).
  • Breaking: the default residual_method for permutation is now model_residuals (#72).
  • The default random number generator is Random.default_rng() instead of Random.GLOBAL_RNG (#67).
  • Docstrings for permutation and permutationtest now describe the actual keyword arguments (progress, inflation_method, statistic, β) (#67).
  • The documentation includes the API page and deploys from the JuliaMixedModels organization (#67).

Fixed

  • The nonparametric bootstrap applied each inflation factor to the wrong term, shifted by one position.
    With a single random-effects term, the BLUPs were scaled by the residual inflation factor instead of their own.
    With several terms, every term got its neighbour's factor (#68).
  • inflation_factor now uses the Cholesky ratio L_R · L_S⁻¹ from Carpenter, Goldstein & Rasbash (2003) instead of the covariance ratio Σ_R · Σ_S⁻¹.
    The covariance ratio over-inflated the random-effect standard deviations and could flip the sign of correlations.
    Inflated BLUPs now reproduce the estimated random-effect covariance.
    This affects both nonparametricbootstrap and permutation (#69).
  • Added a regression test for zerocorr models (#70).
  • Fixed the README installation instructions (#67).

Removed

  • Breaking: the method residuals(::LinearMixedModel, blups).
    It extended StatsAPI.residuals for types this package doesn't own (type piracy).
    Use model_residuals instead (#72).

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 04 Apr 01:04
86d26da

MixedModelsPermutations v0.2.0

Diff since v0.1.4

  • fix permutationtest (thanks @behinger!)
  • bump Julia and MixedModels lower compat bounds
  • use progress instead of hide_progress
  • drop problematic use_threads
  • improved CI
  • officially enforce YAS

Merged pull requests:

  • New OLS ranef method, expose more options in boostrap to ease experimentation (#34) (@palday)
  • cov-based inflation factor calculation (#39) (@behinger)
  • permutationtest (#40) (@behinger)
  • update ubuntu LTS (#41) (@palday)
  • spellcheck CI (#42) (@palday)
  • CompatHelper: bump compat for StatsModels to 0.7, (keep existing compat) (#43) (@github-actions[bot])
  • CompatHelper: bump compat for StatsBase to 0.34, (keep existing compat) (#44) (@github-actions[bot])
  • CompatHelper: add new compat entry for Statistics at version 1, (keep existing compat) (#45) (@github-actions[bot])
  • Bump codecov/codecov-action from 1 to 4 (#46) (@dependabot[bot])
  • Bump actions/checkout from 2 to 4 (#47) (@dependabot[bot])
  • Bump julia-actions/setup-julia from 1 to 2 (#48) (@dependabot[bot])
  • Update cache in CI (#50) (@palday)
  • codecov yml (#51) (@palday)
  • Release 0.2.0 cleanup (#52) (@palday)

Closed issues:

  • Interpreting output of MixedModelsPermutations (#36)
  • inflation factor: PivotedCholesky is not unpivoted (#38)

v0.1.4

Choose a tag to compare

@github-actions github-actions released this 08 Mar 03:40

MixedModelsPermutations v0.1.4

Diff since v0.1.3

Closed issues:

  • PermutationSchema: completly-pooled LeastSquares (#3)
  • Implementation Structure (#5)
  • MMP hangs at 8% (#21)
  • Expose different residual measures (#24)
  • zerocorr leads to error with MixedModelPermutation (#29)

Merged pull requests:

  • Simulation Scripts & Singular OLSFranef refactor (#11) (@behinger)
  • Expose residual and inflation methods (#28) (@palday)
  • zerocorr support for permutation (#30) (@palday)
  • use type hierarchy and progress from MixedModels 4 (#31) (@palday)
  • Residual-Problem Notebook (#32) (@behinger)
  • fixes for bootstrap type parameters (#33) (@palday)

v0.1.3

Choose a tag to compare

@github-actions github-actions released this 20 Jul 20:58
4507cc6

MixedModelsPermutations v0.1.3

Diff since v0.1.2

Closed issues:

  • Compat MixedModels 4.0 MethodError: no method matching unscaledre!(::Vector{Float64}, ::ReMat{Float64, 2}, ::Matrix{Float64}) (#25)

Merged pull requests:

v0.1.2

Choose a tag to compare

@github-actions github-actions released this 01 Apr 17:59
656625f

MixedModelsPermutations v0.1.2

Diff since v0.1.1

Merged pull requests:

v0.1.1

Choose a tag to compare

@github-actions github-actions released this 19 Feb 16:09
31f20bd

MixedModelsPermutations v0.1.1

Diff since v0.1.0

Closed issues:

  • Cholesky error when setting theta (#16)

Merged pull requests:

  • update README for tagged release (#17) (@palday)

v0.1.0

v0.1.0 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 18 Feb 21:45
dfc6b34

MixedModelsPermutations v0.1.0

This is an initial release for getting in the Julia registry. Interfaces should not be considered stable nor results accurate.

Merged pull requests: