Estep_proxy: Expectation step with proxy data.

View source: R/e_step.r

Estep_proxyR Documentation

Expectation step with proxy data.

Description

Expectation step with proxy data.

Usage

Estep_proxy(
  p,
  item_data,
  pred_data,
  item_type,
  mean_predictors,
  var_predictors,
  prox_data,
  samp_size,
  num_items,
  num_responses,
  get_eap,
  NA_cases
)

Arguments

p

List of parameters.

item_data

Matrix or dataframe of item responses.

pred_data

Matrix or dataframe of DIF and/or impact predictors.

item_type

Vector of character values indicating the item type.

mean_predictors

Possibly different matrix of predictors for the mean impact equation.

var_predictors

Possibly different matrix of predictors for the variance impact equation.

prox_data

Vector of observed proxy scores.

samp_size

Sample size in dataset.

num_items

Number of items in dataset.

num_responses

Number of responses for each item.

get_eap

Logical indicating whether to compute EAP scores.

NA_cases

Logical vector indicating missing observations.

Value

a "list" of posterior values from the expectation step


regDIF documentation built on May 29, 2024, 9:31 a.m.