expected_value: Expected value of an indicator

Description Usage Arguments Value

Description

expected_value returns the expected value of an indicator given item parameters and factor value.

Usage

1
expected_value(Lambda, Thresh, Theta, categorical = FALSE)

Arguments

Lambda

is the loading of the indicator on the factor.

Thresh

is the intercept (continuous indicator) or vector of thresholds (categorical indicator) for the indicator.

Theta

is the value of the factor for which the expected value is to be computed

categorical

is a Boolean variable declaring whether the variables in the model are ordered categorical. Models in which some variables are categorical and others are continuous are not supported. If no value is provided, categorical defaults to FALSE, although if multiple thresholds are provided for an item, categorical will be forced to TRUE. A graded response model with probit link (e.g., DWLS in lavaan or WLSMV in Mplus) is used for categorical variables. If you desire for other categorical models (e.g., IRT parameterization) to be supported, e-mail the maintainer.

Value

The expected value of the indicator when the factor score is Theta


dmacs documentation built on Oct. 30, 2019, 11:38 a.m.