I would like to obtains input parameters for the function gamma(a,b), where a is the gamma shape parameter and b is the scale parameter. I would like to obtain these parameters from a glm model, e.g.,
glm y1 x1 x2 x3, family(gamma) link(log)
It seems the scale parameter is reported in the standard output if I am understanding correctly. But I am not sure how to go about calculated the shape parameter. Any help is greatly appreciated.
Related Posts with How do I obtain the parameters for rgamma() from a specified gamma model
Do Statacorp's lasso/elasticnet commands automatically normalize independent variables?It is generally advisable to normalize (or standardize, or rescale) independent variables before run…
Differences in differences with matchingHi, I'm working with a survey data which covers 5 rounds (1995, 2000, 2005 , 2010 and 2015). Howeve…
insufficient observationsHi Everybody, Someone can help me ? I have run the regression as a fixed effects model xtreg GDP In…
How to pairwise t-test slopes of a three-way interaction?Hi, I hope you had a merry Christmas. Currently I face difficulties on how to pairwise t-test a th…
How to randomly select control sample for the treatment sample multiple times and run regressions?Dear all, I am using Stata 14.0 to solve the questions about randomly selecting control sample for t…
Subscribe to:
Post Comments (Atom)
0 Response to How do I obtain the parameters for rgamma() from a specified gamma model
Post a Comment