Update Dataset_study.rmd

SimulationAndKolmogorovTest
This commit is contained in:
elisaduz 2022-02-08 10:21:43 +01:00
parent bdd24394c4
commit a3195c6951
1 changed files with 5 additions and 0 deletions

View File

@ -160,10 +160,15 @@ n2=length(pp2)
tbe2=pp2[2:n2]-pp2[1:n2-1]
tbe2
ks.test(tbe1,pexp,lambda1*Ti, alternative="two.sided")
ks.test(tbe2,pexp,lambda2*Ti, alternative="two.sided")
```
The Kolmogorov-Smirnov test rejects the hypothesis that the time between events sequence is following an exponential distribution.
Import data of rainfall in France every 3 hours.
```{r}