Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for bootstrapping models with a mixture of correlation structures #577

Merged
merged 3 commits into from
Nov 3, 2021

Conversation

palday
Copy link
Member

@palday palday commented Nov 2, 2021

This changes the type constraint on MixedModelsBootstrap.λ to allow bootstrapping models with a mixture of correlation structures, e.g. some zerocorr and some non zerocorr random effects.

Changing the type constraint on λ fixes problems when bootstrapping models
with a mixture of zerocorr (Diagonal) and non zerocorr (LowerTriangular)
RE representations. We also remove the type constraint on the parent, i.e.
 internal  storage within LowerTriangular|Diagonal so that we can better
support more types in the future. As a pleasant side effect, this makes
the type parameterization easier.
@palday palday requested a review from kleinschmidt November 2, 2021 22:32
@codecov
Copy link

codecov bot commented Nov 2, 2021

Codecov Report

Merging #577 (95470f5) into main (b16c9d1) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #577   +/-   ##
=======================================
  Coverage   96.25%   96.25%           
=======================================
  Files          28       28           
  Lines        2509     2509           
=======================================
  Hits         2415     2415           
  Misses         94       94           
Impacted Files Coverage Δ
src/bootstrap.jl 99.30% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b16c9d1...95470f5. Read the comment docs.

@palday palday merged commit 9f27f2b into main Nov 3, 2021
@palday palday deleted the pa/diagdiag branch November 3, 2021 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants