From 142e02fb9f9debc127b4ed5b8f460a810b51d9ec Mon Sep 17 00:00:00 2001 From: Jeffrey Erlich Date: Sun, 28 Aug 2022 17:38:00 +0100 Subject: [PATCH 1/3] fix docstring for lrtest (#259) changing `categorical` to `string.` fixes issue #250 --- src/lrtest.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lrtest.jl b/src/lrtest.jl index 3e89f6a6..f91c0fe6 100644 --- a/src/lrtest.jl +++ b/src/lrtest.jl @@ -42,7 +42,7 @@ julia> using DataFrames, GLM julia> dat = DataFrame(Result=[1, 0, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1], Treatment=[1, 1, 1, 2, 2, 2, 1, 1, 1, 2, 2, 2], - Other=categorical([1, 1, 2, 1, 2, 1, 3, 1, 1, 2, 2, 1])); + Other=string.([1, 1, 2, 1, 2, 1, 3, 1, 1, 2, 2, 1])); julia> nullmodel = glm(@formula(Result ~ 1), dat, Binomial(), LogitLink()); From cc3a925f72f96b39334a26bb3a0e235306abd5c5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 17 Sep 2022 10:22:23 -0700 Subject: [PATCH 2/3] CompatHelper: bump compat for ShiftedArrays to 2, (keep existing compat) (#264) Co-authored-by: CompatHelper Julia --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 2f622c40..2e644abe 100644 --- a/Project.toml +++ b/Project.toml @@ -19,7 +19,7 @@ CategoricalArrays = "0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.10" DataAPI = "1.1" DataFrames = "1" DataStructures = "0.17, 0.18" -ShiftedArrays = "1" +ShiftedArrays = "1, 2" StatsBase = "0.33.5" StatsFuns = "0.9, 1.0" Tables = "0.2, 1" From d22674af198d89d59d0700529f993f123d38faa3 Mon Sep 17 00:00:00 2001 From: Alex Arslan Date: Sat, 17 Sep 2022 11:32:14 -0700 Subject: [PATCH 3/3] Bump patch version for ShiftedArrays compat update --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 2e644abe..3b485255 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "StatsModels" uuid = "3eaba693-59b7-5ba5-a881-562e759f1c8d" -version = "0.6.31" +version = "0.6.32" [deps] DataAPI = "9a962f9c-6df0-11e9-0e5d-c546b8b5ee8a"