Description Usage Arguments Details Value Author(s) See Also Examples
Find which respondents in the sample were flagged by the specified person-fit statistic.
1 2 3 4 5 6 7 |
x |
Object of class "PerFit". |
cutoff.obj |
Object of class "PerFit.cutoff". |
scores |
Logical: Should item scores of flagged respondents be shown in the output? Default is |
ord |
Logical: Should items be ordered in increasing order of difficulty (i.e., in decreasing proportion-correct order)? Default is |
ModelFit |
Method required to compute model-fitting item score patterns. The options available are |
Nreps |
Number of model-fitting item score patterns generated. Default is 1000. |
IP |
Matrix with previously estimated item parameters. Default is |
IRT.PModel |
Parametric IRT model (required if |
Ability |
Matrix with previously estimated item parameters. Default is |
Ability.PModel |
Method to use in order to estimate the latent ability parameters (required if |
mu |
Mean of the apriori distribution. Only used when |
sigma |
Standard deviation of the apriori distribution. Only used when |
Blvl |
Significance level for bootstrap distribution (value between 0 and 1). Default is 0.05. |
Breps |
Number of bootstrap resamples. Default is 1000. |
CIlvl |
Level of bootstrap percentile confidence interval for the cutoff statistic. |
UDlvl |
User-defined cutoff level. |
This function finds the respondents in the dataset that were flagged by the person-fit statistic. This statistic is specified by means of the "PerFit" class object x
(x$PFStatistic
).
The cutoff score may be provided by means of the cutoff.obj
object, otherwise it is internally computed (for which the function parameters ModelFit
through CIlvl
are required; see cutoff
for more details).
If scores=TRUE
then the respondents' item scores will be shown in the output, either in the original item order (ord=FALSE
) or in increasing difficulty order (ord=TRUE
).
If scores=FALSE
the output is a list with 3 elements:
|
A two-column matrix with the row index and the value of the person-fit statistic for the flagged respondents. |
|
The corresponding |
|
The person-fit statistic. |
If scores=TRUE
the output is a list with four elements:
|
Matrix with columns: |
|
The items mean value (which is nothing more than the proportion-correct for dichotomous items). |
|
The corresponding |
|
The person-fit statistic. |
Jorge N. Tendeiro tendeiro@hiroshima-u.ac.jp
1 2 3 4 5 6 7 8 9 10 11 12 | # Load the inadequacy scale data (dichotomous item scores):
data(InadequacyData)
# As an example, compute the Ht person-fit scores:
Ht.out <- Ht(InadequacyData)
Ht.out$PFscores
# Estimate the cutoff value at 1% level:
Ht.cut <- cutoff(Ht.out, Blvl=.01)
# Determine which respondents were flagged by Ht at 1% level:
flagged.resp(Ht.out, Ht.cut, scores=FALSE)$PFSscores
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.