h.pr.u {BHTSpack}R Documentation

package internal function

Description

package internal function

Usage

h.pr.u(z, ih, mu, sigma, pk, K, H, n)

Arguments

z
ih
mu
sigma
pk
K
H
n

Examples

  Nmax = 100
  K = 5
  H = 10
  M = 20
  n = sample(Nmax, M, replace=TRUE)

  z = abs(rnorm(sum(n)))
  mu = abs(rnorm(K))
  sigma = 1/rgamma(n=K, shape=10, rate=10)

  ih = sample(H,sum(n), replace=TRUE)

  pk = lambda.u(rbeta(K, 1, 1))

  h.pr.u(z, ih, mu, sigma, pk, K, H, n)

[Package BHTSpack version 0.6 Index]