Say I have a set of data which I know comes from a Binomial distribution (generated using the rbinom function in R).
Is there any way to use the data to work backwards and work out the p and n parameters of the Binomial distribution from which it came?
EDIT: I realise that there are infinite combinations: n = 100 and p = 0.1 will produce approximately the same distribution as n = 10000 and p = 0.0001. What I'm looking for is an approximation - any combination will do.