YXZ: Artificial dataset which shows the differences between tests...

Description Usage Format Details Source Examples

Description

Artificial dataset, shows inconsistency for test type I and III

Usage

1

Format

data.frame with 100 obs. and 3 variables

X, Z

explanatory variables

Y

response variable

Details

See the example, results for staistical tests are inconsistet due to correlation between X and Z variables

Source

Artificial dataset, generated by PBI

Examples

1
2
3
4
5
attach(YXZ)
summary(lm(Y~X+Z))
anova(lm(Y~Z+X))
anova(lm(Y~X))
anova(lm(Y~Z))

pbiecek/PBImisc documentation built on May 24, 2019, 10:35 p.m.