stan-dev / stan-dev/rstanarm

Add support for censored hierarchical models

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

Nobody has claimed this yet.

Dominant language
R
Stars
401
Forks
136
PR merge metrics
No merged PRs in 30d

Description

Summary:

Measurements of chemical concentration are censored due to limits of detection. Hierarchical modeling allows the incorporation of spatial and temporal linkages in sampling along with analysis of detection limits. Although there are many resources for building models, having a pre-compiled model for censored distributions that could be fitted with random effects would be very handy. It may be straightforward to add this functionality to stan.glmer (glmer.censored).

RStanARM Version:

2.32.1

R Version:

4.4.1

Contributor guide

No contributing guide indexed for this repository

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 by reviewing the existing stan.glmer entry point and the proposed glmer.censored functionality described in the issue. Determine the supported censored distributions, random-effects interface, and fitting behavior needed for a pre-compiled hierarchical model; done means the scope and expected model API are defined and implemented with validation.

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
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.