easystats / easystats/performance

Add / Expand support for `gamlss` package

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

Nobody has claimed this yet.

Enhancement :boom:
Dominant language
R
Stars
1.2k
Forks
109
Avg merge
6h 34m
Merged PRs (30d)
8

Description

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...

Contributor guide

Open the contributing guide

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.

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.