rmspe_calc: Find appropriate prior for a given target distribution.

View source: R/fit_prior.R

rmspe_calcR Documentation

Find appropriate prior for a given target distribution.

Description

Extract point estimates of compositions from fitted model.

Usage

rmspe_calc(par, n_bins, n_draws, target)

Arguments

par

The parameter (standard deviation) to be searched over to find a Dirichlet equivalent

n_bins

Bins for the Dirichlet distribution

n_draws

Numbers of samples to use for doing calculation

target

The goal of the specified prior, e.g. 1 or 1/n_bins


zoid documentation built on Sept. 12, 2023, 1:21 a.m.