stan-dev / stan-dev/rstan

log density and gradient without fit object

Open
#231 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
R
Stars
1.1k
Forks
266
Avg merge
2h 56m
Merged PRs (30d)
1

Description

There should be a way to take a Stan program (path to file or string) and a data specification (list of values or names of variables from environment or just an environemnt) and produce an object with which to evaluate log densities and gradients and Hessians without having to create an empty fit object.

Then, whatever this (model + data) object is, it can be a component of the fit object.

Is this already in the works for RStan 3?

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

The issue names no files, tests, or entry points. Start by reviewing the existing fit-object API and any RStan 3 design documentation, then determine the intended model-plus-data interface and how completion would be tested.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
api
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.