Skip to content
Prev 1867 / 20628 Next

calculation of AIC

On 2/02/2009, at 8:41 AM, Adam D. I. Kramer wrote:

            
R is open source.  Look at the code (for print.glm()). Or better,  
look at

	args(print.glm)

and you will see that these are ``x'' and ``digits''.

This suggests that

	print(fit,digits=7)

or

	print(fit,digits=17)

(where ``fit'' is the object returned by glm()) may get you somewhere.

You could also simply type ``fit$aic'' to see the AIC printed to  
whatever
number of significant digits your (global) options are set for.

	cheers,

		Rolf Turner

######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}