Statalist The Stata Listserver


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

st: RE: RE: help with error


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: RE: help with error
Date   Wed, 7 Jun 2006 12:46:40 +0100

Alan's diagnosis looks nearer the mark. 
I didn't spot the basic error! 

That doesn't rule out my diagnosis
absolutely. 

Nick 
[email protected] 

Nick Cox
 
> I guess that the global FM8X named within 
> 
> $FM8X
> 
> is undefined. Alternatively, that you 
> didn't really mean to put a dollar sign
> there. The same point will arise later 
> in the do file. 
> 
> On a quite different point, these value labels
> are rather too long to show up well in tables
> and/or graphs. 

> Rudy Fichtenbaum
>  
> > Below is a do file generated by Dataferret downloaded by one of my
> > students. I know that he has to put in the path and file name. The
> > problem is that when he tries to run this file it generates the
> > following error:
> > 
> > "F invalid name
> > r(198);
> > 
> > end of do-file
> > r(198);
> > 
> > I know this has to do with the label definition and that for 
> > some reason
> > Stata does not like the quotation marks around the F, M and U but I
> > can't figure out what is wrong.
> > 
> > Thanks,
> > 
> > Rudy
> > 
> > */************************************************/
> > */* Please scroll down to the INFIX step for */
> > */* instructions related to providing full path */
> > */* name for the input data file. */
> > */************************************************/
> > */ then scoll to the end of the file and provide the */
> > */ path for where to store the data when finished */
> > 
> > #delimit ;
> > 
> > 
> > label define FM5X
> > 0 "Unspecified (no longer in current payment status and has no FBR;
> > indicates a back payment)"
> > 1 "Living in own household ($531 for an individual and $796 for an
> > eligible couple)"
> > 2 "Living in another=EF=BE=92s household ($354 for an 
> > individual and $530.6=
> > 7
> > for an eligible couple)"
> > 3 "Living in parent=EF=BE=92s household and child under 18 ($531)"
> > 4 "Living in Medicaid institution ($30 for an individual and 
> > $60 for an
> > eligible couple)"
> > ;
> > label define FM6X
> > 0 "Unspecified"
> > 1 "Aged individual living alone"
> > 2 "Aged individual living with spouse"
> > 3 "Disabled or blind individual living alone"
> > 4 "Disabled or blind individual living with spouse"
> > 5 "Disabled or blind child not living with parents"
> > 6 "Disabled or blind child living with one or more parent"
> > ;
> > label define $FM8X
> > "F" "Female"

*
*   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