Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

Rehab

Rehabilitative potential of 20 prison inmates as judged by two psychiatrists


Description

Data for Exercise 7.61

Usage

Rehab

Format

A data frame/tibble with 20 observations on four variables

inmate

inmate identification number

psych1

rating from first psychiatrist on the inmates rehabilative potential

psych2

rating from second psychiatrist on the inmates rehabilative potential

differ

psych1 - psych2

References

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.

Examples

boxplot(Rehab$differ)
qqnorm(Rehab$differ)
qqline(Rehab$differ)
t.test(Rehab$differ)
# Or
t.test(Rehab$psych1, Rehab$psych2, paired = TRUE)

BSDA

Basic Statistics and Data Analysis

v1.2.0
GPL (>= 2)
Authors
Alan T. Arnholt [aut, cre], Ben Evans [aut]
Initial release
2017-07-29

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.