Computing Monte Carlo Standard Error for an arbitrary function
@MansMeg ci sta già lavorando.
Dal 3/1/2020.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Hi!
Me, @paul-buerkner and @avehtari discussed the need for computing the MCSE for different functions of interest, such as the marginal variances, skewness and kurtosis of individual parameters. I think this functionality is probably best to implement directly into the posterior package. Aki suggested to use the batch means and subsampling approaches of https://projecteuclid.org/download/pdfview_1/euclid.ejs/1417615759 and I could implement this into posterior since I need to implement it anyway.
The most important part for me to know is how you would like the API to look. This is my first suggestion, feel free to comment or come up with a better suggestion.
monte_carlo_standard_error(x, FUN = mean)
where x is a draws object and FUN is an arbitrary function that operates on the individual parameters (rv?) of the draws object. It returns an object similar to summary() but with column with the names:
[parameter_name]_[function_name] and [parameter_name]_[function_name]_se
Any thoughts or comments before I get started?
- Lingua principale
- R
- Stelle
- 172
- Fork
- 27
- Merge medio
- 5g 12h
- PR unite (30g)
- 5
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di stan-dev/posterior
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
-
Use testthat 3eForse già presa @mcol l’ha presa 7 giorni fa. Apertagood first issue test
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
Tutte le issue di stan-dev/posterior
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
cran-task-views/Spatial#127 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Add two cautions to the `simulate_dyad_responses()` helpForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertadocumentation priority: low
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
Pascal-Kueng/dyadMLM#179 ·
I maintainer di solito rispondono entro 1 giorno
-
Consider changesAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
OHDSI/OmopSketch#618 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
GSK-Biostatistics/tfrmt#854 ·