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
Identifying the newly employed receptionist and the waitresses who joined the enterprise after the new receptionist assumed officeHi, I have the follwoing sample: Code: ssc install dataex clear input int year str6 staff_id str5 h…
Multilevel ModelsHi; I am runing runing linear model with four levels. I have not been able to find out what the mean…
Creating Lagged variables with repeated valuesDear all, I wanted help in creating lagged variables when there are repeated values in the dataset.…
Highly Left Skewed variableHello, I wanted to run a panel logistic regression with dependent variable Y (0, 1) and an explanat…
posterior means for crossed random effects from logistic random intercept modeldear statalist members, I am trying to estimate the posterior means of two crossed random effects f…
Subscribe to:
Post Comments (Atom)
0 Response to How do I obtain the parameters for rgamma() from a specified gamma model
Post a Comment