Skip to content

Commit

Permalink
broaden shortestcovint to fit collection (#598)
Browse files Browse the repository at this point in the history
* broaden shortestcovint to fit collection

* patch bump + NEWS
  • Loading branch information
palday authored Mar 8, 2022
1 parent 12a60ba commit 3d868bb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
MixedModels v4.6.1 Release Notes
========================
* Loosen type restriction on `shortestcovint(::MixedModelBootstrap)` to `shortestcovint(::MixedModelFitCollection)`. [#598]

MixedModels v4.6.0 Release Notes
========================
* Experimental support for initializing `GeneralizedLinearMixedModel` fits from a linear mixed model instead of a marginal (non-mixed) generalized linear model. [#588]
Expand Down Expand Up @@ -322,3 +326,4 @@ Package dependencies
[#577]: https://github.com/JuliaStats/MixedModels.jl/issues/577
[#578]: https://github.com/JuliaStats/MixedModels.jl/issues/578
[#588]: https://github.com/JuliaStats/MixedModels.jl/issues/588
[#598]: https://github.com/JuliaStats/MixedModels.jl/issues/598
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "MixedModels"
uuid = "ff71e718-51f3-5ec2-a782-8ffcbfa3c316"
author = ["Phillip Alday <[email protected]>", "Douglas Bates <[email protected]>", "Jose Bayoan Santiago Calderon <[email protected]>"]
version = "4.6.0"
version = "4.6.1"

[deps]
Arrow = "69666777-d1a9-59fb-9406-91d4454c9d45"
Expand Down
4 changes: 2 additions & 2 deletions src/bootstrap.jl
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ function shortestcovint(v, level=0.95)
end

"""
shortestcovint(bsamp::MixedModelBootstrap, level = 0.95)
shortestcovint(bsamp::MixedModelFitCollection, level = 0.95)
Return the shortest interval containing `level` proportion for each parameter from `bsamp.allpars`.
Expand All @@ -292,7 +292,7 @@ Return the shortest interval containing `level` proportion for each parameter fr
the result. This may change in a future release without being considered
a breaking change.
"""
function shortestcovint(bsamp::MixedModelBootstrap{T}, level=0.95) where {T}
function shortestcovint(bsamp::MixedModelFitCollection{T}, level=0.95) where {T}
allpars = bsamp.allpars
pars = unique(zip(allpars.type, allpars.group, allpars.names))

Expand Down

2 comments on commit 3d868bb

@palday
Copy link
Member Author

@palday palday commented on 3d868bb Mar 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/56225

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v4.6.1 -m "<description of version>" 3d868bb8eee7a5c67ff3ece0bc7e1482eece8f20
git push origin v4.6.1

Please sign in to comment.