[R] Testing wether my dataset follows a poisson distribution with R
David Winsemius
dw|n@em|u@ @end|ng |rom comc@@t@net
Wed Jul 22 05:03:05 CEST 2020
Your first check might be to see in the mean and sd are "reasonably"
close. Next approach would be to see if the `qqplot` of that vector has
an arguably straight-line relationship with a random draw from a Poisson
random generator function with the same mean.
?rpois
?qqplot
And do remember that Rhelp is a plain-text mailing list.
--
David
On 7/21/20 7:26 PM, Paul Bernal wrote:
> Dear friends,
>
> I have a sample dataset, which is basically the number of transits through
> a particular waterway, and is on a daily basis.
>
> MyDat <- dataset$DailyTransits
>
> What I´d like to do is to test whether MyDat follows a poisson distribution
> or not. What R function could accomplish this?
>
> Any help and/or guidance will be greatly appreciated,
>
> Best regards,
>
> Paul
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help
mailing list