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

Re: Re: Re: Convert an SPSS file (was: Re: st: simple question)


From   "Christian Holz" <[email protected]>
To   <[email protected]>
Subject   Re: Re: Re: Convert an SPSS file (was: Re: st: simple question)
Date   Mon, 5 Jul 2004 19:02:20 +0200

> Note that a question mark in output indicates
> a character Stata cannot print with the current 
> font. Sometimes the problem can be solved by 
> selecting a better font. 

Indeed, it can. Selecting a built in windows font (e.g. Courier) for Stata
Results Windows shows the t�st and t�st variable in the expected way.
So what I observed so far is no Stata problem but rather a problem with
built in Stata fonts.

Thank you, Nick.

Christian.

> However, a question mark in input like 
> varlists is a wildcard character and must 
> not be assumed to correspond to a specific
> unknown character. 
>
> Thus 
>
> . describe t?st 
>
> should pick up _all_ variable names with that 
> form. This is usually regarded as a feature. 

Nick 
[email protected] 

Christian Holz
> 
> > > - variable names and labels containing a German "umlaut" (�, 
> > > �, �, �, �, 
> > > �, �) are not possible in Stata (really?)
> > 
> > Others can comment better than I can. 
> 
> So can I. 
> 
> Indeed, Stata is unable to use Umlauts (and also French 
> letters with accents
> and Spanish ones with tildes, hats and stuff on it) correctly 
> - it prints
> question marks instead. So if you want to use those outputs or graphs
> directly you should convert the umlauts in the specified way.
> 
> However, Stata does not produce errors if you use umlauts in 
> comments or
> even variable or value labels or variable names, so it's 
> completely legal to
> use them.
> But I would strongly recommend not using umlauts in variable 
> names. (I did
> not even know that it's okay to do until I tried it now) Just 
> try my example
> to get the point:
> 
> generate t�st=1
> generate t�st=3
> describe t?st
> 
> doing so, two variables appear in the output, both with 
> question marks where
> originally have been the umlauts. So it's quite hard to 
> distinguish between
> them. (Anyway you get the right content by typing e.g. tab 
> t�st or tab t�st)
> 
> Again the output topic: If you export the output (text output 
> - I did not
> ever try it with graphs) to any other program (such as MS 
> Word or Excel -
> hope I do not get off topic mentioning that :-), the umlauts 
> appear in the
> right way.

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



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