Learn R Programming

eoa3 (version 1.0.0.1)

sim_pk0: Simulate pk parameters from model

Description

Simple simulation

Usage

sim_pk0(pkmodel, nsim = 1000)

Value

An nsim x 2 matrix of simulated p and k values the joint posterior for SE.

Arguments

pkmodel

A model returned from est_pk0

nsim

Number of simulation reps for estimating the joint posterior distribution of p and k.