How do you know your pervasive errors or data is from Continuous Bernoulli distribution?
Now running C_Bernoulli_07.exe. This program is for the goodness of fit under H0: Continuous Bernoulli distribution, as λ is known from input data.

The screenshot is the process. I only type the filename C:\C_Bernoulli\tep\simulated_data.txt and then type the value of λ. The program run by itself. The program calculates the sample mean and finds the estimated λ. Now I know the estimated value of λ is 0.454179.
Then the screen shows me the goodness of fit and the P value helps me checking if data is from continuous Bernoulli distribution and the value of λ = 0.3. The P value < 0.05, so I know data is significantly not from CB(0.3).


After changing the value of λ under H0, I find that data is from CB(0.4).

In fact, data is based on the setting of λ=0.4. The screenshots show that the highest P value is at the setting of λ=0.4. The simulator lets me know that the P value can help me checking the vale of λ might be.
Now the pervasive errors can be tested.