# \#algebra-solver

**URL:** https://discourse.mc-stan.org/tag/algebra-solver/190.md

[Latest](https://discourse.mc-stan.org/latest.md) · [Categories](https://discourse.mc-stan.org/categories.md) · [Tags](https://discourse.mc-stan.org/tags.md)

---

## [Rootfinding of inverse-CDF of Gaussian mixture with Newton solver](https://discourse.mc-stan.org/t/rootfinding-of-inverse-cdf-of-gaussian-mixture-with-newton-solver/34459)

<div class="topic-metadata">

**Author:** [@spencergordon](https://discourse.mc-stan.org/u/spencergordon)\
**Replies:** 2\
**Last updated:** [March 14, 2024, 6:59pm UTC](https://discourse.mc-stan.org/t/rootfinding-of-inverse-cdf-of-gaussian-mixture-with-newton-solver/34459 "2024-03-14T18:59:25Z")

</div>

I have a series of sample quantiles with known probabilities, and I know the quantiles were calculated from a sample from a Gaussian mixture distribution. I assume the quantiles follow a normal distribution where the inv…

---

## [Unable to integrate function obtained from algebraic solver](https://discourse.mc-stan.org/t/unable-to-integrate-function-obtained-from-algebraic-solver/27194)

<div class="topic-metadata">

**Author:** [@jpferreira](https://discourse.mc-stan.org/u/jpferreira)\
**Replies:** 5\
**Last updated:** [April 21, 2022, 1:53pm UTC](https://discourse.mc-stan.org/t/unable-to-integrate-function-obtained-from-algebraic-solver/27194 "2022-04-21T13:53:03Z")

</div>

Hi there, I’m not being able to use Stan to fit a model where I have an integral of a function which has to be solved numerically, using Stan’s algebraic equation solver, that depends on the data, parameters and derived …

---

## [Function algebra\_solver\_newton not found](https://discourse.mc-stan.org/t/function-algebra-solver-newton-not-found/24737)

<div class="topic-metadata">

**Author:** [@dpark](https://discourse.mc-stan.org/u/dpark)\
**Replies:** 6\
**Last updated:** [October 7, 2021, 3:16pm UTC](https://discourse.mc-stan.org/t/function-algebra-solver-newton-not-found/24737 "2021-10-07T15:16:58Z")

</div>

Hi, I’d like to use the Newton method of root finding, but I’m getting the message algebra\_solver\_newton not found. I was able to use the Powell method with algebra\_solver(), so not sure why the Newton method is not rec…

---

## [Algebra\_solver with integrate\_1d containing modified\_bessel\_first\_kind](https://discourse.mc-stan.org/t/algebra-solver-with-integrate-1d-containing-modified-bessel-first-kind/24715)

<div class="topic-metadata">

**Author:** [@Jacob\_Warren](https://discourse.mc-stan.org/u/Jacob_Warren)\
**Replies:** 0\
**Last updated:** [October 5, 2021, 1:04pm UTC](https://discourse.mc-stan.org/t/algebra-solver-with-integrate-1d-containing-modified-bessel-first-kind/24715 "2021-10-05T13:04:24Z")

</div>

I created a function for the PDF of an uncorrelated bivariate normal distribution as a function of radius (equation 17 from A Toolbox for the Radial and Angular Marginalization of Bivariate Normal Distributions (arxiv.or…

---

## [Algebra\_solver issues and what are the defaults for the optional arguments](https://discourse.mc-stan.org/t/algebra-solver-issues-and-what-are-the-defaults-for-the-optional-arguments/21632)

<div class="topic-metadata">

**Author:** [@bnicenboim](https://discourse.mc-stan.org/u/bnicenboim)\
**Replies:** 2\
**Last updated:** [April 6, 2021, 4:51pm UTC](https://discourse.mc-stan.org/t/algebra-solver-issues-and-what-are-the-defaults-for-the-optional-arguments/21632 "2021-04-06T16:51:54Z")

</div>

Hi, I’m getting sometimes this "Chain 1 Exception: Exception: algebra\_solver: the norm of the algebraic function is 24.6913 but should be lower than the function tolerance: 1e-06. Consider decreasing the relative tolera…
