In negative binomial regression glm.nb(y~x), I got a parameter theta and two coefficients? And then I want to use dnbinom(x, size, prob, mu, log = FALSE) to calculate the predicted probability.
can anyone show me what is the relationship between theta and size, and how to transfer between these two parameters?
If every point's value in a dataset is expanded two times, how does size or theta change?