Learn R Programming

BSDA (version 1.01)

Movie: Moral attitude scale on 15 subjects before and after viewing a movie

Description

Data for Exercise 7.53

Usage

Movie

Arguments

Format

A data frame with 12 observations on the following 3 variables.

Before

a numeric vector

After

a numeric vector

differ

a numeric vector

Examples

Run this code
# NOT RUN {
str(Movie)
attach(Movie)
qqnorm(differ)
qqline(differ)
shapiro.test(differ)
t.test(After,Before,paired=TRUE,conf.level=.99)
wilcox.test(After,Before,paired=TRUE)
detach(Movie)
# }

Run the code above in your browser using DataLab