Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: A problem about drawing graph


From   "Maoyong Fan" <[email protected]>
To   "statalist" <[email protected]>
Subject   st: A problem about drawing graph
Date   Thu, 8 Jul 2004 20:51:10 -0800

Dear Friends:

    When I use graph matrix to draw matrix graphs, I got the error message: 
. graph matrix `covariates'
value label M06_Q01 not found
no variables defined
no variables defined
no variables defined

When I draw histgram, I also got an error message
. hist  c06_gangs
(bin=35, start=0, width=.02857143)
value label M06_Q01 not found
no variables defined
no variables defined
no variables defined
r(111); t=0.33 20:46:29

I found a way out just now: generate a new variable and let it equal to c06_gangs, then operate on the new variable.

However, I would like to figure out the reason for the error.

This is desribe of variables.

. des

Contains data from e:\c_other.dta
  obs:         3,599                          
 vars:            23                          6 Feb 2003 17:25
 size:       183,549 (99.9% of memory free)
-------------------------------------------------------------------------------
              storage  display     value
variable name   type   format      label      variable label
-------------------------------------------------------------------------------
co_urban        byte   %8.0g                  1: urban; 0: rural
quest_num       float  %8.0g                  Questionnaire Number
c06_gangs       byte   %8.0g       M06_Q01    gangs of cummunity: 1 yes; 0 no
c06_drug_abuse  byte   %8.0g       M06_Q01    drugabuse of cummunity: 1 yes;
                                                0 no
c06_alco_abuse  byte   %8.0g       M06_Q01    alcohol abuse of cummunity: 1
                                                yes; 0 no
c06_prostitut~n byte   %8.0g       M06_Q01    prostitution of cummunity: 1
                                                yes; 0 no 
c06_land_disp   byte   %8.0g       M06_Q01    land dispute of cummunity: 1
                                                yes; 0 no 
c06_water_disp  byte   %8.0g       M06_Q01    water dispute of cummunity: 1
                                                yes; 0 no
c06_boder_disp  byte   %8.0g       M06_Q01    boder dispute of cummunity: 1
                                                yes; 0 no
c06_thefts      byte   %8.0g       M06_Q02    Crimes occuring in community
c06_phy_aggress byte   %8.0g       M06_Q02    Crimes occuring in community
c06_vandalism   byte   %8.0g       M06_Q02    Crimes occuring in community
c06_illicit_d~g byte   %8.0g       M06_Q02    Crimes occuring in community
psu             int    %8.0g                  PSU
hh              byte   %8.0g                  Household ID
m3a_q12a        byte   %8.0g                  distance to school
m3a_q12b        byte   %8.0g                  distance to doctor
m3a_q12c        byte   %8.0g                  distance to bus station
hhid            float  %9.0g                  
nfood_exp       float  %9.0g                  non food expenditure (in 100
                                                leks)
maa_q06_food    double %9.0g                  monthly purchesed food (in 100
                                                leks)
m09_q05_inc     double %12.0g                 monthly household income (in
                                                100 leks)
m09_q10         byte   %20.0g      M09_Q10    subjective well being
-------------------------------------------------------------------------------
Sorted by:  
     Note:  dataset has changed since last saved
r; t=3.14 20:43:34


	

Warm regards,

Maoyong Fan		


*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index