Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]


From   Peter Maclean <[email protected]>
To   Stata List <[email protected]>
Date   Sat, 5 Mar 2011 08:47:27 -0800 (PST)

I am new is Stata modelling. 
I am running the following model:

by n:gammafit y, level(95)
pgamma y, gen(g_p e_p)

where n is  a group variable. 
I would like to save the estimated parameters by gammafit (alpha,beta,alpha+beta 
and lower and upper limit of both alpha and beta) in a variable 'result(n,j).' 


Also, I would like pgamma to estimate the probabilities (g_p and e_p) by 
variable n.
The pgamma module does not accept the 'by' option. In addition, is there a way 
to give starting values for the gammafit module?
 Peter Maclean
Department of Economics
UDSM 


      

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index