Skip to content

Feature/skew student - #1969

Open
fusaroli wants to merge 1 commit into
paul-buerkner:masterfrom
fusaroli:feature/skew-student
Open

fusaroli wants to merge 1 commit into
paul-buerkner:masterfrom
fusaroli:feature/skew-student

Conversation

@fusaroli

@fusaroli fusaroli commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Third of three PRs for #513 (agreed implementation of native skewed families).

  • Implemented skew_student (Azzalini–Capitanio skewed Student-t) parameterized with mean mu, asymptotic standard deviation sigma, skewness alpha (matching skew_normal convention), and degrees of freedom nu.
  • Added fun_skew_student.stan in inst/chunks/ with gradient-guarded autodiff expansion for student_t_lcdf at x = 0.
  • Implemented dskew_student, pskew_student, qskew_student, rskew_student, and cp2dp_skew_student in R/distributions.R and documented via roxygen2.
  • Added family registration in R/families.R and R/family-lists.R.
  • Added methods for log_lik (supporting weights, censoring, and truncation), posterior_epred, and posterior_predict.
  • Added unit tests in tests.distributions.R, tests.families.R, tests.log_lik.R, and tests.stancode.R.
  • Updated NEWS.md referencing Implementing the Skewed T-Distribution #513.

- Implemented skew_student (Azzalini-Capitanio skewed Student-t) parameterized with mean mu, asymptotic standard deviation sigma, skewness alpha (matching skew_normal convention), and degrees of freedom nu.
- Added fun_skew_student.stan in inst/chunks/ with gradient-guarded autodiff expansion for student_t_lcdf at x = 0.
- Implemented dskew_student, pskew_student, qskew_student, rskew_student, and cp2dp_skew_student in R/distributions.R and documented via roxygen2.
- Added family registration in R/families.R and R/family-lists.R.
- Added methods for log_lik (supporting weights, censoring, and truncation), posterior_epred, and posterior_predict.
- Added unit tests in tests.distributions.R, tests.families.R, tests.log_lik.R, and tests.stancode.R.
- Updated NEWS.md referencing paul-buerkner#513.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant