Suppose that I have the following data: $4,0,4,2,1,8,4,1,3,3,5,4,6,1,3$. How do we check if the data comes from a binomial distribution, say Bin($p,8$) for some $p$ or from some other distribution on $\{0,1,\dots, 8\}$? Any help is greatly appreciated.
PS: Though I know a bit of statistics, I do not have a stat background (but math background!).
Failing that, you may be able to use the R function
– Alex J Mar 23 '23 at 04:10fitdistto fit a variety of distributions and assess which looks best.