Add / Expand support for `gamlss` package

Open
#513 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
r
Domain
data

Research direction

Start with the supplied example("gamlss") and the performance::check_model(mod) entry point, using the reported gamlss errors as the current baseline. Review how the package handles model classes and variance extraction, then determine the supported GAMLSS families and validation needed; done means GAMLSS models are handled without the shown unimplemented and residual-variance errors.

Written by the indexing model from the issue text.

Description

Enhancement :boom:

I’ve used your ‘performance’ package to examine LM and GLM models and it’s just superb.

I wonder if you reckon your package could be extended to include GAMLSS models (if you are unaware of these models, please check this review and this overview).

Received via email


This might be hard to do due to the huge number of supported families...

From example("gamlss"):

library(gamlss)

data(abdom)

mod <- gamlss(y ~ pb(x),
  sigma.fo =  ~ pb(x),
  family = BCT(),
  data = abdom
)

performance::check_model(mod)
#> Homogeneity of variance could not be computed. Cannot extract residual variance from objects of class 'gamlss'.
#> Error: `check_model()` not implemented for models of class `gamlss` yet.

I have very little experience with this package, but I recall that the vcov is a bit wonky...

Dominant language
R
Stars
1.2k
Forks
113
Avg merge
9h 8m
Merged PRs (30d)
27

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from easystats/performance

All issues in easystats/performance

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.