I get the same error as earlier...I dont understand the -variable
foreign not found in using data- when the codebook command clearly
recognizes the variable...
. sysuse auto, clear
(1978 Automobile Data)
. graph bar (mean) length, over(foreign)
variable foreign not found in using data
r(111);
. codebook, compact
Variable Obs Unique Mean Min Max Label
-------------------------------------------------------------------------------------------------------------------------------
make 74 74 . . . Make and Model
price 74 74 6165.257 3291 15906 Price
mpg 74 21 21.2973 12 41 Mileage (mpg)
rep78 69 5 3.405797 1 5 Repair Record 1978
headroom 74 8 2.993243 1.5 5 Headroom (in.)
trunk 74 18 13.75676 5 23 Trunk space (cu. ft.)
weight 74 64 3019.459 1760 4840 Weight (lbs.)
length 74 47 187.9324 142 233 Length (in.)
turn 74 18 39.64865 31 51 Turn Circle (ft.)
displacement 74 31 197.2973 79 425 Displacement (cu. in.)
gear_ratio 74 36 3.014865 2.19 3.89 Gear Ratio
foreign 74 2 .2972973 0 1 Car type
-------------------------------------------------------------------------------------------------------------------------------
Paul
On Sun, Apr 27, 2008 at 9:45 AM, Maarten buis <[email protected]> wrote:
> Ok, lets check if this is a problem with your installation of Stata or
> with your data. Try if you can get a graph using these commands:
>
> sysuse auto, clear
> graph bar (mean) length, over(foreign)
>
> -- Maarten
>
>
> --- P�l R�nning <[email protected]> wrote:
> > unfortunately that doesnt work...
>
>
>
>
> -----------------------------------------
> Maarten L. Buis
> Department of Social Research Methodology
> Vrije Universiteit Amsterdam
> Boelelaan 1081
> 1081 HV Amsterdam
> The Netherlands
>
> visiting address:
> Buitenveldertselaan 3 (Metropolitan), room Z434
>
> +31 20 5986715
>
> http://home.fsw.vu.nl/m.buis/
> -----------------------------------------
>
>
> __________________________________________________________
> Sent from Yahoo! Mail.
> A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
> *
> * For searches and help try:
> * http://www.stata.com/support/faqs/res/findit.html
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
>
--
P�l R�nning
Sk�yenvn 93
0375 Oslo
40882465
nevrokirurgisk avd
Ullev�l Universitetessykehus
0407 Oslo
23015389
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/