分布变离散,或者纠正skew
我之前在书上看的,为了满足正态分布假设做的调整。
这个可以将一个分布变离散,或者纠正skew。
y′ = exp (n⋅y)
## Error in `library()`:
## ! there is no package called 'tidyverse'
x %>%
as_tibble() %>%
ggplot(aes(x = value, fill = "red"),alpha = .25) +
geom_density() +
# geom_density(aes(x = log(x),fill = "blue"),alpha = .25) +
geom_density(aes(x = exp(1.5*x),fill = "green"),alpha = .25)## Error in `x %>% as_tibble() %>% ggplot(aes(x = value, fill = "red"), alpha = 0.25)`:
## ! could not find function "%>%"