PsyTeachR / glossary

Glossary of terms
https://psyteachr.github.io/glossary/
Other
15 stars 17 forks source link

TRANSLATION: alpha (stats) and alpha (graphics) #117

Open nbdutra opened 2 years ago

nbdutra commented 2 years ago

alpha (stats)

alfa (estatística): se você estiver usando o [teste de significância da hipótese nula](n.html#nhst), você deve decidir um limiar de valor chamado **alfa** para tomar uma decisão sobre rejeitar a hipótese nula. P-valores abaixo do limiar do alfa são chamados de [significativos](s.html#significant). Na psicologia, o alfa é tipicamente estabelecido como $\alpha$ = .05, mas há bons argumentos para [estabelecer um critério diferente em algumas circunstâncias] (http://daniellakens.blogspot.com/2019/05/justifying-your-alpha-by-minimizing-or.html){target="_blank"}.

alpha (graphics)

Um valor entre 0 e 1 usado para controlar os níveis de transparência em um gráfico
debruine commented 2 years ago

Do you want to translate the figure caption?

"Setting alpha to a number lower than 1 lets you see parts of the plot hidden behind an object."

debruine commented 2 years ago

And any of the comments or english in the plot?

# if you omit alpha, it defaults to 1
alpha1.00 <- ggplot(diamonds, aes(x = depth, fill = cut)) +
  geom_density() + [xlim](https://rdrr.io/r/graphics/plot.window.html)(55, 70)

alpha0.25 <- ggplot(diamonds, aes(x = depth, fill = cut)) +
  geom_density(alpha = 0.25) + [xlim](https://rdrr.io/r/graphics/plot.window.html)(55, 70)

cowplot::[plot_grid](https://wilkelab.org/cowplot/reference/plot_grid.html)(alpha1.00, alpha0.25, nrow = 2,
                   labels = [c](https://rdrr.io/r/base/c.html)("alpha = 1.0", "alpha = 0.25"))