Y_4pno_simulate: Simulate from 4PNO Model

Description Usage Arguments Value Author(s) See Also

View source: R/RcppExports.R

Description

Generate item responses under the 4PNO

Usage

1
Y_4pno_simulate(N, J, as, bs, gs, ss, theta)

Arguments

N

An int, which gives the number of observations. (> 0)

J

An int, which gives the number of items. (> 0)

as

A vector of item discrimination parameters.

bs

A vector of item threshold parameters.

gs

A vector of item lower asymptote parameters.

ss

A vector of item upper asymptote parameters.

theta

A vector of prior thetas.

Value

A N by J matrix of dichotomous item responses.

Author(s)

Steven Andrew Culpepper

See Also

Gibbs_4PNO()


fourPNO documentation built on Sept. 24, 2019, 9:05 a.m.