Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: prb with the over option not working togehther with the graph


From   "Pål Rønning" <palronning@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: prb with the over option not working togehther with the graph
Date   Sun, 27 Apr 2008 16:27:06 +0200

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 <maartenbuis@yahoo.co.uk> 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 <palronning@gmail.com> 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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index