KernSmoothIRT
Wraps the KernSmoothIRT R package.
RIrtWrappers.KernSmoothIRT
— ModuleThis module wraps the mirt
R module. See mirt
on CRAN.
All fit_*
functions return a tuple of the form (item_bank, labels)
where
item_bank
is a concrete subtype ofFittedItemBanks.AbstractItemBank
labels
is aVector{String}
of item labels
If return_raw
is set to true
, the functions will return a tuple of the form (item_bank, labels, irt_model)
where irt_model
is the raw R object.
Any keyword arguments passed to the fit_*
functions are directly to the mirt
function.
RIrtWrappers.KernSmoothIRT.fit_ks_dichotomous
— Methodfit_ks_dichotomous(
df;
return_raw,
kwargs...
) -> Union{Tuple{FittedItemBanks.DichotomousSmoothedItemBank{P, FittedItemBanks.KernelSmoother{typeof(FittedItemBanks.gauss_kern)}} where P<:FittedItemBanks.DichotomousPointsItemBank, Any}, Tuple{FittedItemBanks.DichotomousSmoothedItemBank{P, FittedItemBanks.KernelSmoother{typeof(FittedItemBanks.gauss_kern)}} where P<:FittedItemBanks.DichotomousPointsItemBank, Any, RCall.RObject}}
Fit a kernel smoothed dichotomous IRT model to the data in df
.
Returns a FittedItemBanks.DichotomousSmoothedItemBank using the FittedItemBanks.gauss_kern FittedItemBanks.KernelSmoother.