[DOCKER] Verification of normal distribution

what is this

We've made it easier with docker to verify that your data is normally distributed.

How to use

When testing with dummy data

bash


python -c "import numpy; print(str(list(numpy.random.normal(size=100)))\
  .strip('[]'))" | docker run -i --rm tsutomu7/test_normal > test.htm
firefox test.htm

If you do the above, it will be displayed as below.

image

When testing from a file (data.csv)

bash


docker run -i --rm tsutomu7/test_normal < data.csv > test.htm
firefox test.htm

What you are doing

--Check the number of data (is it large enough) --Histogram display (bell-shaped) --QQ plot display (whether it is lined up on a straight line) --Shapiro-Wilk test

If you use a uniform distribution as shown below, it will not be judged as a normal distribution.

bash


python -c "import numpy; print(str(list(numpy.random.random(size=1000)))\
  .strip('[]'))" | docker run -i --rm tsutomu7/test_normal > test.htm
firefox test.htm

that's all

Recommended Posts

Verification of normal distribution
Bivariate normal distribution
Defeat the probability density function of the normal distribution
Steps to calculate the likelihood of a normal distribution
Distribution of eigenvalues of Laplacian matrix
3. Normal distribution with neural network!
Summary of Linux distribution types
EM of mixed Gaussian distribution
Understanding the meaning of complex and bizarre normal distribution formulas
Relationship and approximation error of binomial distribution, Poisson distribution, normal distribution, hypergeometric distribution
Calculation of normal vector using convolution
Mixed normal distribution implementation in python
Test the goodness of fit of the distribution
Carefully derive the interquartile range of the standard normal distribution from the beginning
[Python] Note: A self-made function that finds the area of the normal distribution
Summary of gamma distribution parameter specification method
Variational Bayesian estimation of mixed Gaussian distribution
Try drawing a normal distribution with matplotlib
About the Normal Equation of Linear Regression
Random number generator with normal distribution N (0,1)