# invisibility: Cloaks of Invisibility In WRS2: A Collection of Robust Statistical Methods

## Description

We are interested in the effect that wearing a cloak of invisibility has on people's tendency to mischief. 80 participants were placed in an enclosed community. Hidden cameras recorded mischievous acts. It was recorded how many mischievous acts were conducted in the first 3 weeks (mischief1). After 3 weeks 34 participants were told that the cameras were switched off so that no one would be able to see what they're getting up to. The remaining 46 subjects were given a cloak of invisibility. These people were told not to tell anyone else about their cloak and they could wear it whenever they liked. The number of mischievous acts were recorded over the next 3 weeks (mischief2).

## Usage

 `1` ```invisibility ```

## Format

A data frame with 3 variables and 80 observations:

`cloak`

factor with 34 subjects in the no cloak condition, 46 in the cloak condition

`mischief1`

number of mischievous acts during the first 3 weeks

`mischief2`

number of mischievous acts during the second 3 weeks

## Details

Fictional dataset from Field et al. book (p. 485).

## References

Field, A., Miles, J, \& Field, Z. (2012). Discovering Statistics Using R. Sage.

## Examples

 ```1 2``` ```invisibility summary(invisibility) ```

### Example output

```      cloak mischief1 mischief2
1  No Cloak         4        11
2  No Cloak         5         7
3  No Cloak         8         8
4  No Cloak         6         7
5  No Cloak         6        10
6  No Cloak         4         7
7  No Cloak         3        11
8  No Cloak         6         7
9  No Cloak         7        11
10 No Cloak         1         6
11 No Cloak         8         8
12 No Cloak         2         7
13 No Cloak         5         8
14 No Cloak         6         9
15 No Cloak         2         9
16 No Cloak         5        10
17 No Cloak         0         6
18 No Cloak         4        10
19 No Cloak         5         9
20 No Cloak         5         8
21 No Cloak         2         7
22 No Cloak         3         7
23 No Cloak         5         9
24 No Cloak         7        12
25 No Cloak         5        10
26 No Cloak         7        10
27 No Cloak         4         9
28 No Cloak         4         9
29 No Cloak         4        11
30 No Cloak         1         9
31 No Cloak         3         8
32 No Cloak         3         6
33 No Cloak         5        12
34 No Cloak         4        10
35    Cloak         1        10
36    Cloak         7        10
37    Cloak         7         9
38    Cloak         6        12
39    Cloak         9        11
40    Cloak         5         5
41    Cloak         4        13
42    Cloak        10        12
43    Cloak         7        13
44    Cloak         7        10
45    Cloak         2        12
46    Cloak         2        12
47    Cloak         4        10
48    Cloak         6        12
49    Cloak         4        11
50    Cloak         6        11
51    Cloak         5        12
52    Cloak         1         7
53    Cloak         6         9
54    Cloak         3         8
55    Cloak         2        13
56    Cloak         4        10
57    Cloak         1         9
58    Cloak         2        10
59    Cloak         2         8
60    Cloak         3         8
61    Cloak         6        13
62    Cloak         1         6
63    Cloak         6        11
64    Cloak         6         9
65    Cloak         6         8
66    Cloak         5        11
67    Cloak         6        10
68    Cloak         1        10
69    Cloak         7         9
70    Cloak         6        13
71    Cloak         5         9
72    Cloak         7        12
73    Cloak         6        10
74    Cloak         4         9
75    Cloak         4        13
76    Cloak         7         9
77    Cloak         2        10
78    Cloak         3         8
79    Cloak         6        10
80    Cloak         0        10
cloak      mischief1        mischief2
No Cloak:34   Min.   : 0.000   Min.   : 5.000
Cloak   :46   1st Qu.: 3.000   1st Qu.: 8.000
Median : 5.000   Median :10.000
Mean   : 4.487   Mean   : 9.562
3rd Qu.: 6.000   3rd Qu.:11.000
Max.   :10.000   Max.   :13.000
```

WRS2 documentation built on July 20, 2021, 9:06 a.m.