Hi everybody,
What is going on here? This error message appears when I try to open this dialogue box: varlist not allowed
VERSION 9.0
POSITION . . 500 800
DIALOG main, label("Republica Dominicana") tabtitle("Variables")
BEGIN
GROUPBOX variables 5 68 520 200, label("Escenarios, grupos de ninos, alcance")
TEXT lab1 20 +25 610 10, label("(SIUBEN 1, 2 ó 1y2")
EDIT escenario 190 @ 60 20, label(escenario)
TEXT lab3 20 +25 790 10, label("Alcance (%)")
EDIT alcance 190 @ 60 20, label(alcance)
TEXT lab99 20 +25 880 10, label("Region")
EDIT doce 190 @ 60 20, label(doce)
TEXT lab98 20 +25 970 10, label("Lugar de residencia")
EDIT trece 190 @ 60 20, label(trece)
TEXT lab97 20 +25 1060 10, label("especif:1, todos:2")
EDIT zonaa 190 @ 60 20, label(zonaa)
TEXT lab96 20 +25 1150 10, label("especif:1, todas:2")
EDIT zonab 190 @ 60 20, label(zonab)
TEXT lab4 20 +25 1240 10,label("Ninos edad minima (anos) - Educación")
EDIT edadmin 190 @ 60 20, label(edadmin)
TEXT lab5 20 +25 1330 10,label("Ninos edad máxima (anos) - Educación")
EDIT edadmax 190 @ 60 20, label(edadmax)
TEXT lab6 20 +25 1420 10, label("Edad maxima del mas joven - Nutrición")
EDIT edadmaxnut 190 @ 60 20, label(edadmaxnut)
GROUPBOX optimas 5 480 520 200, label("Brecha de pobreza")
TEXT lab7 20 +25 1510 10, label("Factor (>=1)")
EDIT factor 190 @ 60 20, label(factor)
GROUPBOX Transfer 5 560 350 230, label("Transferencias en $RD (hasta dos opciones)")
TEXT lab8 20 +25 1600 10, label("Opcion 1: Salud / Educacion")
EDIT transfa1 190 @ 60 20, label(transfa1)
EDIT transfe1 280 @ 60 20, label(transfe1)
TEXT lab9 20 +25 1690 10, label("Opción 2: Salud / Educacion")
EDIT transfa2 190 @ 60 20, label(transfa2)
EDIT transfe2 280 @ 60 20, label(transfe2)
TEXT lab10 20 +25 1780 0 10, label("Opción 2: a grado 0 y 1")
EDIT transfe20 190 @ 60 20, label(transfe20)
EDIT transfe21 280 @ 60 20, label(transfe21)
TEXT lab11 20 +25 1870 10, label("Opción 2: a grado 2 y 3")
EDIT transfe22 190 @ 60 20, label(transfe22)
EDIT transfe23 280 @ 60 20, label(transfe23)
TEXT lab12 20 +25 1960 10, label("Opción 2: a grado 4 y 5")
EDIT transfe24 190 @ 60 20, label(transfe24)
EDIT transfe25 280 @ 60 20, label(transfe25)
TEXT lab13 20 +25 2050 10, label("Opción 2: a grado 6 y 7")
EDIT transfe26 190 @ 60 20, label(transfe26)
EDIT transfe27 280 @ 60 20, label(transfe27)
TEXT lab14 20 +25 2140 10, label("Opción 2: a grado 7 y 8")
EDIT transfe28 190 @ 60 20, label(transfe28)
EDIT transfe29 280 @ 60 20, label(transfe29)
TEXT lab15 20 +25 2230 10, label("Opción 2: a grado 9 y 10")
EDIT transfe30 190 @ 60 20, label(transfe30)
EDIT transfe31 280 @ 60 20, label(transfe31)
TEXT lab16 20 +25 2320 10, label("Opción 2: a grado 11 y 12")
EDIT transfe32 190 @ 60 20, label(transfe32)
EDIT transfe33 280 @ 60 20, label(transfe33)
TEXT lab17 20 +25 2410 10, label("Opción 2: máxima por hogar")
EDIT maxxhog 190 @ 60 20, label(maxxhog)
TEXT lab18 20 +25 2510 10, label("Opción 2: tipo de sobreedad")
EDIT calc 190 @ 60 20, label(calc)
TEXT lab19 20 +25 2600 10, label("Opción 2: máxima sobreedad")
EDIT maxsobred 190 @ 60 20, label(maxsobred)
GROUPBOX files 5 10 420 45, label("Ubicación de archivo")
TEXT files1 20 +15 180 10, label("Archivo *.dta")
FILE path1 90 @ 320 20, label(Buscar) default("")
END
OK ok1, label("Aceptar")
CANCEL can1, label("Cancelar")
PROGRAM command
BEGIN
put "republicadominicana"
beginoptions
put " escenario("main.escenario
put ") "
put " alcance("main.alcance
put ") "
put " doce("main.doce
put ") "
put " trece("main.trece
put ") "
put " zonaa("main.zonaa
put ") "
put " zonab("main.zonab
put ") "
put " edadmin("main.edadmin
put ") "
put " edadmax("main.edadmax
put ") "
put " edadmaxnut("main.edadmaxnut
put ") "
put " factor("main.factor
put ") "
put " transfa1("main.transfa1
put ") "
put " transfe1("main.transfe1
put ") "
put " transfa2("main.transfa2
put ") "
put " transfe2("main.transfe2
put ") "
put " transfe20("main.transfe20
put ") "
put " transfe21("main.transfe21
put ") "
put " transfe22("main.transfe22
put ") "
put " transfe23("main.transfe23
put ") "
put " transfe24("main.transfe24
put ") "
put " transfe25("main.transfe25
put ") "
put " transfe26("main.transfe26
put ") "
put " transfe27("main.transfe27
put ") "
put " transfe28("main.transfe28
put ") "
put " transfe29("main.transfe29
put ") "
put " transfe30("main.transfe30
put ") "
put " transfe31("main.transfe31
put ") "
put " transfe32("main.transfe32
put ") "
put " transfe33("main.transfe33
put ") "
put " maxxhog("main.maxxhog
put ") "
put " calc("main.calc
put ") "
put " maxsobred("main.maxsobred
put ") "
put " path1("main.path1
put ") "
endoptions
END
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Marcello Pagano
Sent: Thursday, March 26, 2009 4:51 PM
To: [email protected]
Subject: st: Question about tmap
For Ana:
Dear stata-list users,
I have a dataset with the following four columns: observation, latitude, longitude, batch_number
As a small example, the first six rows of the data look something like the following:
1 39.977741 -75.287768 1
2 39.98695 -75.301235 1
3 40.0937201 -75.0205653 2
4 40.8956971 -76.8081187 3
5 40.041349 -75.070036 3
6 40.142553 -74.919325 3
I would like to plot the observations in a map (US map, or ideally, Pennsylvania map) and use as markers the observations batch_number(which is in the last column of the data).
I searched the documentation for tmap but couldn't come up with how to do it.
Any help is appreciated.
Thanks!
Ana
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/