Comments (2)
I agree --- that's very useful because that's where the sampling's
actually happening.
- Bob
On Mar 28, 2015, at 3:32 PM, bgoodri [email protected] wrote:
The various plots should have an checkbox to utilize the parameters in the unconstrained space. These can be obtained with something like
pars <- extract(stanfit, permuted = FALSE, inc_warmup = maybe)
skeleton <- get_inits(stanfit)[[1]]
upars <- apply(pars, 1:2, FUN = function(theta) {
unconstrain_pars(stanfit, relist(theta, skeleton))
})
upars <- aperm(upars, c(2,3,1))
dimnames(upars) <- c(dimnames(pars)[1:2], list(parameters =
head(dimnames(pars)[[3]], dim(upars)[3])))—
Reply to this email directly or view it on GitHub.
from shinystan.
I also agree. Right now in the unreleased development version there are text boxes that allow you to specify an arbitrary transformation by entering the body of an R function (e.g. to log transform you just need to type log(x)
not function(x) log(x)
). So you can tell it to transform to the unconstrained space if you know what the right transformation is. You can do this for the density, histogram, bivariate scatterplot, and trivariate 3D scatterplot on the Explore page. This will be included in v1.1.0 soon which I'm almost ready to tag and release.
For v1.2.0 I can go the extra step and implement what you're suggesting here. I think it should still allow the user to enter whatever transformation they want, but also give the option to use the transformation to the unconstrained space that was used by Stan.
from shinystan.
Related Issues (20)
- use posterior package for handling draws HOT 2
- Check for R version 4.0 HOT 1
- selectizeInput for estimates statistics instead of checkboxGroupInput HOT 1
- Default for "max_treedepth"/"max_td" (11) incorrect? HOT 4
- Add support for CmdStanR objects HOT 3
- diagnostics page doesn't load if `stan_used=FALSE`? HOT 1
- Suppress messages when packages are loaded
- how to raise limit above 1000 parameters? HOT 3
- Shiny stan do not work in ubuntu (tested in ubuntu 20.04 and 16.04 both LTS versions)
- variables missing from drop-down HOT 5
- Problem with LaTeX table: ErrorL subscription out of bounds HOT 6
- Latex for graphs like stan_ac, stan_dens, and others HOT 3
- Rocker script?
- Problem with missing themes HOT 13
- Flickering when selecting parameters on page "ESTIMATE"
- gtools is orphaned - Consider a replacement?
- Issue when launching shinystan demo
- launch_shinystan error message
- toggle view for `exp(param)' ?
- Running ‘testthat.R’/opt/local/Library/Frameworks/R.framework/Resources/bin/BATCH: line 60: 98584 Bus error HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shinystan.