This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
pe:r-lang [2019/04/19 11:17] 218.186.146.102 |
pe:r-lang [2020/03/24 02:34] (current) |
||
---|---|---|---|
Line 23: | Line 23: | ||
| | ||
{{: | {{: | ||
+ | |||
Histogram to check shape of distribution --> looks skewed to the right | Histogram to check shape of distribution --> looks skewed to the right | ||
+ | <code rsplus> | ||
> shapiro.test(vsltime$time) | > shapiro.test(vsltime$time) | ||
Line 31: | Line 33: | ||
data: vsltime$time | data: vsltime$time | ||
W = 0.91157, p-value = 1.388e-14 | W = 0.91157, p-value = 1.388e-14 | ||
+ | |||
+ | </ | ||
Shapiro-Wilk test for normality --> not normal distribution | Shapiro-Wilk test for normality --> not normal distribution | ||
+ | <code rsplus> | ||
> hist(vsl$success) | > hist(vsl$success) | ||
+ | </ | ||
| | ||
{{: | {{: | ||
+ | <code rsplus> | ||
> shapiro.test(vsl$success) | > shapiro.test(vsl$success) | ||
Shapiro-Wilk normality test | Shapiro-Wilk normality test | ||
data: vsl$success | data: vsl$success | ||
W = 0.9117, p-value = 0.0002277 | W = 0.9117, p-value = 0.0002277 | ||
- | | + | </ |
Some other analyses: | Some other analyses: | ||
+ | <code rsplus> | ||
> plot(vsl$exp, | > plot(vsl$exp, | ||
> plot(vsl$exp, | > plot(vsl$exp, | ||
> plot(vsl$exp, | > plot(vsl$exp, | ||
+ | </ | ||
{{: | {{: | ||
- | Suggests that the first few years of experience does not seem to make a difference to performance, | + | Suggests that the first few years of experience does not seem to make a difference to performance, |
+ | ===Spread=== | ||
+ | <code rsplus> | ||
> stem(((vsl$totnum/ | > stem(((vsl$totnum/ | ||
Line 76: | Line 86: | ||
8 | 0000003333366666888 | 8 | 0000003333366666888 | ||
10 | 0000000000000000000000 | 10 | 0000000000000000000000 | ||
+ | </ | ||
+ | See also [[r: | ||
- | Sources: | + | ====Sources==== |
* http:// | * http:// | ||
* https:// | * https:// |