Documentos de Académico
Documentos de Profesional
Documentos de Cultura
http://www.stata.com
• Stata/MP: The fastest version of Stata (for dual-core
and multicore/multiprocessor computers)
Ventana de
Resultados
Editor de comandos
Características de
las variables
Comandos básicos
Syntax
[prefix :] command [varlist] [=exp] [if] [in] [weight]
[using filename] [, options]
Cambio de directorio
cd c:\practica\stata_1\
File/Log/Begin..
Se debe iniciar abriendo este archivo
Seleccionar
Hacer una copia y pegar en Stata
Comandos básicos
Syntax
command [nombre var] [=operación] [if] [in] [, opciones]
1.21.4 1.61.8
9000
8000
engp
pibp
7000
6000
1
5000
.8
1960 1980 2000 2020 1960 1980 2000 2020
tiempo tiempo
Fuente: Con base en información de INEGI Fuente: Con base en información de SENER
ieng
2.5
2
1.5
Variable Y
Variable Y
Variable X Variable X Variable X
5
2
4
1.5
3
1
2
.5
1
5000 6000 7000 8000 9000 10000 5000 6000 7000 8000 9000 10000
pibp pibp
3.2
3
2.3
2
1990-1999 2000-2014
3.7
4
3.3
3
1.8
2
dpib deng
dco2
Modelo de Regresión Lineal
CO2p = 𝛼 + 𝛽𝑃𝐼𝐵𝑝
𝑁
2
𝑅𝑆𝑆 = 𝑌𝑖 − 𝑌𝑖
𝑁 𝑖=1
2 Total Sum of Squares Residual Sum of Squares
𝑇𝑆𝑆 = 𝑌𝑖 − 𝑌ത Variabilidad Total Variabilidad NO EXPLICADA
𝑖=1
MS (Mean Square)
uˆ 2
i
1
2 i 1
R N
Y Y
2
i
i 1
𝛽 𝑠𝑒(𝛽) 𝛽መ
𝑡= 𝛽±𝑡 0.975,𝑁−𝑘 𝑠𝑒(𝛽)
𝑠𝑒(𝛽)
𝛼ො 𝛼±𝑡 𝑠𝑒(𝛼)
𝛼 𝑠𝑒(𝛼) 𝑡=
𝑠𝑒(𝛼)
0.975,𝑁−𝑘
N N
CO2 YP CO2 YP
i 1
i i
i 1
i
̂
N N
i 1
YPi 2 YP YPi
i 1
La curva ambiental de Kuznets, representada por una U invertida,
es una de las hipótesis básicas para explicar la relación entre nivel
de ingreso per cápita y el medio ambiente