stan-dev / stan-dev/rstan

Is there any command in rstan package that does the same thing as uniroot() just for R

Open
#394 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Hi, I am running an MCMC on R and with Gibbs sampler method in R code I used an R function uniroot() which helps me search the interval from lower to upper for a root (i.e., zero) of the function f with respect to its first argument. I wonder if there is a function contained in RStan function that can do similar things. Thank you very much.

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 file, test, or entry point. Start by checking RStan's documented functions and its existing numerical-solver support, then compare that with R's uniroot() behavior. Done would require a clear answer about whether an equivalent exists or a defined implementation scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.