Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

st: change the format of the pseudo log-likelihood in gb2fit


From   <S.Jenkins@lse.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
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 <Latino@economia.uniroma2.it>
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 <s.jenkins@lse.ac.uk>
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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index