Professional Documents
Culture Documents
dta", clear
. display raiz5
2.236068
mat1[2,3]
c1 c2 c3
r1 1 0 1
r2 0 0 1
. summarize percepho
Variable |
Obs
Mean
Std. Dev.
Min
Max
-------------+--------------------------------------------------------percepho |
30,848
2.162182
. display media_percepho
2.1621823
1.10753
10
Source |
SS
df
MS
Number of obs =
= 20190.89
0.0000
30,848
0.3956
0.3956
1.5403
-----------------------------------------------------------------------------totmieho |
P>|t|
70.53 0.000
1.109693
1.319022
------------------------------------------------------------------------------
. display r2_regi
.39561361
1.140735
1.394434
betas[1,2]
percepho
_cons
y1 1.125214 1.3567281
. matrix v1 = (1\0)
symmetric result[1,1]
c1
y1 1.125214
. rename ao ao
variable ao not found
r(111);
. rename ao ao
. rename ao ao
. rename ao ao
. destring ubigeo,replace
ubigeo has all characters numeric; replaced as long
. destring ubigeo,replace
ubigeo has all characters numeric; replaced as long
(note: variable sg23 was float, now double to accommodate using data's
values)
(note: variable sig24 was float, now double to accommodate using data's
values)
(note: variable ga03hd was long, now double to accommodate using data's
values)
(note: variable sg42 was float, now double to accommodate using data's
values)
(note: variable sg42d was float, now double to accommodate using data's
values)
(note: variable sg421 was float, now double to accommodate using data's
values)
(note: variable sg42d1 was float, now double to accommodate using data's
values)
(note: variable sg422 was float, now double to accommodate using data's
values)
(note: variable sg42d2 was float, now double to accommodate using data's
values)
(note: variable gru33hd2 was int, now long to accommodate using data's
values)
(note: variable gru53hd3 was int, now long to accommodate using data's
values)
(note: variable gru83hd2 was int, now long to accommodate using data's
values)
(note: variable gru86hd2 was byte, now int to accommodate using data's
values)
(note: variable factor07 was float, now double to accommodate using data's
values)
. edit
r(601);
(note: variable sg422 was float, now double to accommodate using data's
values)
(note: variable sg42d2 was float, now double to accommodate using data's
values)
(note: variable gru33hd2 was int, now long to accommodate using data's
values)
(note: variable gru53hd3 was int, now long to accommodate using data's
values)
(note: variable gru83hd2 was int, now long to accommodate using data's
values)
(note: variable gru86hd2 was byte, now int to accommodate using data's
values)
(note: variable factor07 was float, now double to accommodate using data's
values)
. edit
. edit
. sum agua_potable
Variable |
Obs
Mean
Std. Dev.
Min
Max
-------------+--------------------------------------------------------agua_potable |
30,453
.7622894
.4256879
Variable |
Obs
Weight
Min
Max
.8101306 .3921977
-----------------------------Regin | mean(agua_p~e)
--------------+--------------Amazonas |
.7780771
Ancash |
.9222586
Apurimac |
.8909526
Arequipa |
.8884514
Ayacucho |
.8104231
Cajamarca |
.5757042
Callao |
.8619158
Cusco |
.8453832
Huancavelica |
.7030765
Huanuco |
Ica |
.6286023
.9018438
Junin |
.8473511
La Libertad |
.8265856
Lambayeque |
.8345255
Lima |
.8966205
Loreto |
.489594
Madre de Dios |
Moquegua |
Pasco |
.7941148
.9395779
.5416755
Piura |
.7964748
Puno |
.5826814
San Martn |
Tacna |
Tumbes |
Ucayali |
.7446364
.8794226
.8156635
.5947732
|
Total |
.8101306
------------------------------
----------------------------------dominio | mean(agua_p~e)
-------------------+--------------costa norte |
.8390996
costa centro |
.8764842
costa sur |
.8968374
sierra norte |
.6095701
sierra centro |
.7827529
sierra sur |
selva |
.7798194
.6389652
lima metropolitana |
.9066933
|
Total |
.8101306
-----------------------------------
. edit
. edit
. edit
-------------------------------------------|
rural
Regin | No rural
rural
Total
.8619158
.
.
. use "C:\Users\Cesar\Desktop\404-Modulo34\404-Modulo01\SUMARIA2013.DTA", clear
. save "C:\Users\Cesar\Desktop\404-Modulo34\404-Modulo01\SUMARIA2013.DTA",replace
file C:\Users\Cesar\Desktop\404-Modulo34\404-Modulo01\SUMARIA-2013.DTA
saved
. pwd
C:\Users\Cesar\Desktop\ataSCoSt140_Win\StataCorp Stata MP 14.0
Windows\Stata14\Stata14
. cd "C:\Users\Cesar\Desktop\404-Modulo34"
C:\Users\Cesar\Desktop\404-Modulo34
. pwd
C:\Users\Cesar\Desktop\404-Modulo34
Result
# of obs.
----------------------------------------not matched
9,223
from master
from using
matched
0 (_merge==1)
9,223 (_merge==2)
30,453 (_merge==3)
-----------------------------------------
.
. gen factor_personas = factor07*mieperho
(9,223 missing values generated)
---------------------------------------------------------------|
Regin |
5 quantiles of ipcf
1
--------------+-------------------------------------------------