Stata 15 help for estat ic

[R] estat ic -- Display information criteria

Syntax

estat ic [, n(#)]

Menu for estat

Statistics > Postestimation

Description

estat ic displays Akaike's and Schwarz's Bayesian information criteria.

Option

n(#) specifies the N to be used in calculating BIC; see [R] BIC note.

Example

Setup . sysuse auto . regress price headroom trunk length mpg

Obtain AIC and BIC . estat ic

Stored results

estat ic stores the following in r():

Matrices r(S) 1 x 6 matrix of results: 1. sample size 4. degrees of freedom 2. log likelihood of null model 5. AIC 3. log likelihood of full model 6. BIC


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