How We genrate the Data From Skewed Distributions

Skewed Distributions

 Name of Positively Skewed Distributions 

1. Log-normal Distribution

2. Chi-Square Distribution

3. Inverse Chi-Square Distribution 

4. Gamma Distribution

5. Inverse Gamma Distribution

6. Exponential Distribution

7. Weibull Distribution

8. Rayleigh Distribution 

General Condition: Mean>Median > Mode


Hypothetical Population With R 

1. Log-normal Distribution

rlnorm(N, mu, sigma)

For Example

rlnorm(10,3,4)

2. Chi-Square Distribution

rchisq(N, mu, sigma)

For Example

rchisq(10,3,4)

3. Inverse Chi-Square Distribution

rinvchsq(N,df, scale, log=FALSE)

# Require package: LaplacesDemon

library(LaplacesDemon)

rinvchisq(10,3, .5)

4. Gamma Distribution

rgamma(N, a, b)

For Example

rgamma(10,3,4)

5. Inverse Gamma Distribution

rinvgamma(N, a, b)

# Require package: LaplacesDemon

library(LaplacesDemon)

rinvgamma(10,3, 5)

6. Exponential Distribution

rexp(N, m)

For Example

rexp(10,3)

7. Weibull Distribution

rweibull(N, mu, sigma)

For Example

rweibull(10,3,4)

8. Rayleigh Distribution

#Required Package: VGAM

rrayleigh(10,scale)

For Example

library(VGAM)

rrayleigh(10,4)




Please Write your Comment Your Suggestion in the Comment Box

Comments