R: Class For the Results of Bollen-Stine Bootstrap with...

BootMiss-class {semTools} | R Documentation

## Class For the Results of Bollen-Stine Bootstrap with Incomplete Data

### Description

This class contains the results of Bollen-Stine bootstrap with missing data.

### Objects from the Class

Objects can be created via the `bsBootMiss` function.

### Slots

`time`:

  A list containing 2 `difftime` objects (`transform` and `fit`), indicating the time elapsed for data transformation and for fitting the model to bootstrap data sets, respectively.

`transData`:

  Transformed data

`bootDist`:

  The vector of chi-square values from Bootstrap data sets fitted by the target model

`origChi`:

  The chi-square value from the original data set

`df`:

  The degree of freedom of the model

`bootP`:

  The p-value comparing the original chi-square with the bootstrap distribution

### methods

show

  `signature(object = "BootMiss"):` The `show` function is used to display the results of the Bollen-Stine bootstrap.

summary

  `signature(object = "BootMiss"):` The summary function prints the same information from the `show` method, but also provides information about the time elapsed, as well as the expected (theoretical) and observed (bootstrap) mean and variance of the chi-squared distribution.

hist

  `signature(x = "BootMiss", ..., alpha = .05, nd = 2, printLegend = TRUE, legendArgs = list(x = "topleft")):` The `hist` function provides a histogram for the bootstrap distribution of chi-squared, including observed and critical values from the specified `alpha` level. The user can also specify additional graphical parameters to `hist` via `...`, as well as pass a list of arguments to an optional `legend` via `legendArgs`. If the user wants more control over customization, `hist` returns a list of `length == 2`, containing the arguments for the call to `hist` and the arguments to the call for `legend`, respectively.

### Author(s)

Terrence D. Jorgensen (University of Amsterdam; TJorgensen314@gmail.com)

### See Also

`bsBootMiss`

### Examples

    # See the example from the bsBootMiss function

[Package semTools version 0.4-14 Index]