calculate_expected_values: Calculate expected values for goodness of fit test
Description
Calculate expected values for goodness of fit test
Usage
calculate_expected_values(gamma_i, params, total_obs, model_type = "nodk")
Value
vector of expected values
Arguments
- gamma_i
item-specific gamma value
- params
estimated parameters for the item
- total_obs
total observations for the item
- model_type
"nodk" or "dk" model