Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nbdutra opened this issue Jun 27, 2022 · 2 comments
Open

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

nbdutra opened this issue Jun 27, 2022 · 2 comments

Comments

@nbdutra
Copy link

nbdutra commented Jun 27, 2022

alpha (stats)

alfa (estatística): se você estiver usando o teste de significância da hipótese nula, 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.

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
Copy link
Member

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
Copy link
Member

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"))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants