Effsize: Effsize

Description Usage Arguments Details Value Examples

Description

Measures of association Pearson's r correlation Small 0.2, Medium 0.5, Large 0.8 r2 coefficient of determination Small 0.04, Medium 0.25, Large 0.64 Quelle: http://www.ncbi.nlm.nih.gov/pmc/articles/PMC3444174/pdf/i1949-8357-4-3-279.pdf

emmeans: APA2_methode fuer

Eta-Quadrat Kopie von lsr::etaSquared. Die Ergebnisse entsprechen denen von SPSS (Univariat-Partial Eta Squared)

Cohen's d and Hedges g effect size Between groups Cohen's d Small 0.2, Medium 0.5, Large 0.8, Very large 1.3 Odds ratio (OR) Small 1.5, Medium 2, Large 3 Relative risk or risk ratio (RR) R Small 2, Medium 3, Large 4 Cohen, J. (1988). Statistical power analysis for the behavioral sciences (2nd ed.). New York:Academic Press.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
APA_Effsize(x, ...)

## S3 method for class 'emmGrid'
APA2(
  x,
  caption = "Estimated marginal means",
  note = attr(x, "mesg"),
  output = which_output()
)

## S3 method for class 'emm_list'
APA2(
  x,
  caption = "Estimated marginal means",
  note = attr(x, "mesg"),
  output = which_output(),
  include.means = TRUE,
  include.contrasts = TRUE,
  digits = 2
)

## S3 method for class 'visreg'
APA2(x, caption = x$meta$y, note = "", include.ci = TRUE, digits = 2, ...)

## S3 method for class 'eff'
APA2(x, ...)

## S3 method for class 'efflist'
APA2(
  x,
  caption = "Effekte: ",
  type = NULL,
  note = "",
  output = stp25output::which_output(),
  digits = 2,
  include.fit = TRUE,
  include.n = FALSE,
  include.ci = TRUE,
  include.se = FALSE,
  ...
)

etaSquared2(x, type = 2, anova = FALSE, ...)

cohens.d(x, ...)

## Default S3 method:
cohens.d(x, y, ...)

## S3 method for class 'formula'
cohens.d(x, data = list(), ...)

Arguments

x

Objekt oder Formel

...
include.means

emmeans Mittelwewrte

include.contrasts

emmeans p_werte

type

etaSquared2: Anova Type default ist 2

anova

etaSquared2: Ausgabe der ANOVA Tabelle

x, y

formel oder x, y

Details

Gestolen von https://cran.r-project.org/web/packages/effsize/effsize.pdf

Value

Vector

vector

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
 require(emmeans)


warp.lm <- lm(breaks ~ wool * tension, data = warpbreaks)

r1 <- emmeans (warp.lm,  ~ wool | tension)
r2 <- emmeans (warp.lm, poly ~ tension | wool)
r3 <- emmeans(warp.lm, pairwise ~ tension | wool)
APA2(r1)
APA2(r2)
APA2(r3)

# plot(r3)
# emmip(warp.lm, wool ~ tension)


#' # Effekte / Mittelwerte
fit1 <- lm(chol0 ~  ak + rrs0 + med + g, hyper)
Tabelle2(fit1, digits = 2)  # mean SD

eff <- effects::allEffects(fit1)

APA2(eff)


# etaSquared

fit1<-lm(y1~x1, anscombe)
#etaSquared2(aov (y1~x1, anscombe), anova=TRUE)
#etaSquared2(fit1, anova=TRUE)
etaSquared2(fit1 )


set.seed(45)                        ## be reproducible
 x <- rnorm(10, 10, 1)
 y <- rnorm(10, 5, 5)

cohens.d(x, y)
varanax<-Melt2(m1+m2~nr,varana , key="time", value="m")
cohens.d(m~time, varanax )

stp4/stp25stat documentation built on Sept. 17, 2021, 2:03 p.m.