Learn R Programming

fourPNO (version 1.0.4)

update_2pno: Update 2PNO Model Parameters

Description

Internal function to update 2PNO parameters

Usage

update_2pno(N, J, Y, Z, as, bs, theta, Kaps, mu_xi, Sigma_xi_inv, mu_theta,
  Sigma_theta_inv)

Arguments

N

The number of observations.

J

The number of items.

Y

A N by J matrix of item responses.

Z

A matrix N by J of continuous augmented data.

as

A vector of item discrimination parameters.

bs

A vector of item threshold parameters.

theta

A vector of prior thetas.

Kaps

A matrix for item thresholds (used for internal computations).

mu_xi

Prior mean for item parameters.

Sigma_xi_inv

Prior item parameter inverse variance-covariance matrix.

mu_theta

Prior mean for theta.

Sigma_theta_inv

Prior inverse variance for theta.

Value

A list of item parameters.

See Also

Gibbs_4PNO