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]
st: change the format of the pseudo log-likelihood in gb2fit
From
<[email protected]>
To
<[email protected]>
Subject
st: change the format of the pseudo log-likelihood in gb2fit
Date
Fri, 6 Jul 2012 09:49:26 +0100
I don't think it's possible to get what you want.
Stata doesn't provide the pseudo-LL after -svy- estimation of any kind.
To see this,
sysuse auto
svyset, srs
svy: logit foreign // NB no pseudo-LL reported in estimates
table
ereturn list
There are likely good reasons for Stata's behaviour. (I'm away and don't
have access to other references on this topic.)
------------------------------
Date: Thu, 05 Jul 2012 20:22:30 +0200
From: Lucia Latino <[email protected]>
Subject: st: change the format of the pseudo log-likelihood in gb2fit
Dear Statalist,
After running - gb2fit - smfit - lognfit - Stata reports the pseudo
log-likelihood with the scientific notation, but I want to view the
full likelihood.
Usually, I can obtain the full log-likelihood by using - display e(ll) -
However, I need to add the option svy for the estimation (e.g. -
gb2fit dec, stats cdf(gb2cdf) pdf(gb2pdf) svy - ) and after adding the
option 'svy', Stata doesn't store anymore the pseudo log-likelihood in
e(ll).
Is there any way to do change the format of the pseudo log-likelihood
in the iterations or a way to obtain it after the estimation?
I hope someone can help me.
Thanks,
Lucia
Stephen
-------------------------------------
Professor Stephen P. Jenkins <[email protected]>
Department of Social Policy
London School of Economics and Political Science
Houghton Street, London WC2A 2AE, U.K.
Tel: +44 (0)20 7955 6527
Changing Fortunes: Income Mobility and Poverty Dynamics in Britain, OUP
2011, http://ukcatalogue.oup.com/product/9780199226436.do
Survival Analysis using Stata:
http://www.iser.essex.ac.uk/survival-analysis
Downloadable papers and software: http://ideas.repec.org/e/pje7.html
Please access the attached hyperlink for an important electronic communications disclaimer: http://lse.ac.uk/emailDisclaimer
*
* 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/