bootstrapped.extraction: Bootstrap model for the Stimson dyad ratios algorithm.

Description Usage Arguments Details

View source: R/Bootstrap Model.R

Description

Runs bootstrap model for repeated estimation of variable loading scores in the dyad-ratios algorithm.

Usage

1
2
bootstrapped.extraction(data, reps = 500, draw = 0.3, varname, output,
  print = FALSE)

Arguments

data

Define the data. Must be a dataframe or coercible object.

reps

Define number of bootstrapped replications. Default is 500.

draw

Define the proportion of items to be dropped in each bootstrap replication. Default is 0.3.

varname

Define the variable name indicating the input series (as in extract function)

output

Define the object name that extract function results are stores in.

print

Logical. Define whether or not the function should display active count of replication progress in the console.

Details

This function runs the dyad-ratios bootstrap model, which takes the results of a single dyad-ratios estimation outcome and produces bootstrapped estimations of the variable loading scores.

The bootstrap model removes a pre-defined proportion of random variables for each estimation, extracts the variable loading scores, and averages them across all trials to create bootstrapped-mean estimations of item validity.

The model inherits all formula arguments from the extract function output. Note that the extract function must be as defined in this package code, not the original Extract.r.zip file hosted on Stimson's website.

Assigning the output to an object creates a list of five items, including a dataframe called 'Full Results' which contrains the bootstrapped mean loading score, single-run estimated loading score, and the difference between the two for each variable input. Larger figures indicate bigger over-estimation of the loading score in the single-run estimation (a lower bootstrapped mean).

It is strongly suggested (but not essential) for the speed of the bootstrap estimation that the options print and log in the extract function (to produce the results object) are set to FALSE.


patrick-eng/bootstrap.dyads documentation built on Nov. 5, 2019, 12:13 a.m.