Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
MixedModels v5.0.4 Release Notes
==============================
- Small update in some code related to displaying dispersion parameters in cases where inference has failed. [#865]

MixedModels v5.0.3 Release Notes
==============================
- `lowerbd(::MixedModel)` returns the _canonical_ lower bounds of a model's parameters, i.e. the expected bounds after rectification in unconstrained optimization. [#864]
Expand Down Expand Up @@ -700,3 +704,4 @@ Package dependencies
[#860]: https://github.com/JuliaStats/MixedModels.jl/issues/860
[#861]: https://github.com/JuliaStats/MixedModels.jl/issues/861
[#864]: https://github.com/JuliaStats/MixedModels.jl/issues/864
[#865]: https://github.com/JuliaStats/MixedModels.jl/issues/865
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 <me@phillipalday.com>", "Douglas Bates <dmbates@gmail.com>"]
version = "5.0.3"
version = "5.0.4"

[deps]
Arrow = "69666777-d1a9-59fb-9406-91d4454c9d45"
Expand Down
6 changes: 5 additions & 1 deletion src/bootstrap.jl
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,11 @@ function StatsBase.confint(
par = filter(collect(propertynames(tbl))) do k
k = string(k)
# σ is missing in models without a dispersion parameter
if k == "σ" && Missing <: eltype(tbl.σ)
Tσ = eltype(tbl.σ)
# If inference failed when constructing `tbl.σ`, we can't rely on the element
# type to know whether missing values may be present
if k == "σ" &&
((Tσ === Any && any(ismissing, tbl.σ)) || (Tσ !== Any && Missing <: Tσ))
return false
end
return !startswith(k, 'θ') && k != "obj"
Expand Down
Loading