1 / 1

Prueba de Normalidad Jarque-Bera

Prueba de Normalidad Jarque-Bera. use "C:POE4_food.dta", clear regress food_exp income predict resid, resid summarize resid, detail display "Estadístico JB calculado = ", (e(N)/6)*(_result(14)^2+(_result(15)-3)^2/4)

delu
Download Presentation

Prueba de Normalidad Jarque-Bera

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Prueba de Normalidad Jarque-Bera use "C:\POE4_\food.dta", clear regress food_exp income predict resid, resid summarize resid, detail display "Estadístico JB calculado = ", (e(N)/6)*(_result(14)^2+(_result(15)-3)^2/4) display "Valor p del Estadístico JB calculado = ", chi2tail(2,(e(N)/6)*(_result(14)^2+(_result(15)-3)^2/4)) display "valor teórico JB al 95% de confianza = ", invchi2(2,0.95) display "valor teórico JB al 99% de confianza = ", invchi2(2,0.99) histogram ehat, freq bin(16) normal title("Histograma de residuales") saving("C:\DATA\residuales.gph",replace)

More Related