@@ -15,10 +15,10 @@ downloads](https://cranlogs.r-pkg.org/badges/bayesSSM)](https://cran.r-project.o
1515downloads] ( https://cranlogs.r-pkg.org/badges/grand-total/bayesSSM )] ( https://cran.r-project.org/package=bayesSSM )
1616<!-- badges: end-->
1717
18- bayesSSM is an R package offering a set of tools for performing Bayesian
19- inference in state-space models (SSMs). It implements the Particle
20- Marginal Metropolis-Hastings (PMMH) in the main function` pmmh ` for
21- Bayesian inference in SSMs.
18+ ` bayesSSM ` is an R package offering a set of tools for performing
19+ Bayesian inference in state-space models (SSMs). It implements the
20+ Particle Marginal Metropolis-Hastings (PMMH) in the main function` pmmh `
21+ for Bayesian inference in SSMs.
2222
2323##Why bayesSSM?
2424
@@ -209,6 +209,11 @@ result <- pmmh(
209209# > Running pilot chain for tuning...
210210# > Using 50 particles for PMMH:
211211# > Running Particle MCMC chain with tuned settings...
212+ # > PMMH Results Summary:
213+ # > Parameter Mean SD Median 2.5% 97.5% ESS Rhat
214+ # > phi 0.76 0.12 0.75 0.55 0.97 8 1.478
215+ # > sigma_x 0.78 0.56 0.74 0.01 1.85 15 1.093
216+ # > sigma_y 0.89 0.36 0.94 0.22 1.45 36 1.051
212217# > Warning in pmmh(pf_wrapper = bootstrap_filter, y = y, m = 500, init_fn =
213218# > init_fn, : Some ESS values are below 400, indicating poor mixing. Consider
214219# > running the chains for more iterations.