CalcGTheoryCI: Compute confidence intervals for G-theory quantities

Description Usage Arguments Value Examples

View source: R/CalcGTheoryCI.R

Description

This function computes and stores the raw bootstrap samples for G-theory variance components and coefficients.

Usage

1
2
3
4
5
CalcGTheoryCI(
  Data = NULL,
  B = 1000,
  type = c("p", "i", "o", "pi", "po", "io", "pio")
)

Arguments

Data

Data in long format in the following order: person, facet1, facet2, score

B

Number of bootstrap iterations

type

Type of bootstrap sampling scheme as described in Tong & Brennan (2004)

Value

A matrix of bootstrap values which is then given to the summaryCI() function

Examples

1
2
3
4
5
## Not run: 
data("Brennan.3.1")
CalcGTheoryCI(Data = Brennan.3.1, B = 1000, type = "pi")

## End(Not run)

alanhuebner10/Gboot documentation built on Sept. 4, 2020, 9:51 p.m.