theta_pv: Sampling plausible values(PVs) based on rejection sampling.

Description Usage Arguments

View source: R/RcppExports.R

Description

Sampling plausible values(PVs) based on rejection sampling.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
theta_pv(
  x,
  nofrands,
  eap_apply,
  const_apply,
  map_apply,
  n,
  maxtheta,
  mintheta,
  a,
  b,
  c,
  D,
  mu,
  sigma
)

Arguments

x

response data

nofrands

the number of PVs

eap_apply

a numeric vector of estimated EAP.

const_apply

a numeric vector of const of a posterior distribution.

map_apply

a numeric vector of estimated MAP.

n

the number of subjects.

maxtheta

a max value of theta.

mintheta

a mininum value of theta.

a

an item slope parameter vector.

b

an item location parameter vector.

c

an item asymptote parameter vector.

D

a factor constant.

mu

p hyper parameter of a posterior distribution.

sigma

same as above.


takuizum/irtfun2 documentation built on May 10, 2020, 8:30 a.m.