userfriendlyscience (version 0.7.0)

testRetestSimData: testRetestSimData is a simulated dataframe used to demonstrate the testRetestAlpha coefficient function.

Description

This dataset contains the true scores of 250 participants on some variable, and 10 items of a scale administered twice (at t0 and at t1).

Usage

data(testRetestSimData)

Arguments

Format

A data frame with 250 observations on the following 21 variables.

trueScore

The true scores

t0_item1

Score on item 1 at test

t0_item2

Score on item 2 at test

t0_item3

Score on item 3 at test

t0_item4

Score on item 4 at test

t0_item5

Score on item 5 at test

t0_item6

Score on item 6 at test

t0_item7

Score on item 7 at test

t0_item8

Score on item 8 at test

t0_item9

Score on item 9 at test

t0_item10

Score on item 10 at test

t1_item1

Score on item 1 at retest

t1_item2

Score on item 2 at retest

t1_item3

Score on item 3 at retest

t1_item4

Score on item 4 at retest

t1_item5

Score on item 5 at retest

t1_item6

Score on item 6 at retest

t1_item7

Score on item 7 at retest

t1_item8

Score on item 8 at retest

t1_item9

Score on item 9 at retest

t1_item10

Score on item 10 at retest

Details

This dataset was generated with the code in the reliabilityTest.r test script.

Examples

Run this code
# NOT RUN {
data(testRetestSimData);
head(testRetestSimData);
hist(testRetestSimData$t0_item1);
cor(testRetestSimData);
# }

Run the code above in your browser using DataLab