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

st: RE: Joinby (without the nonsense)

From   "Nick Cox" <>
To   <>
Subject   st: RE: Joinby (without the nonsense)
Date   Mon, 3 Nov 2003 10:15:16 -0000

You're correct, and I'm wrong and surprised,
that Stata allows variable names with a "" character.
(I wrote that as the symbol for the British pound
currency, just in case it appears as something else.)
This contradicts the documented rules for variable names. I
wouldn't rely on it working in all circumstances.

However, your problem remains difficult to
diagnose without precise details of what you typed
and what Stata typed in return.

You may find it more efficient to contact Stata
tech-support with at least the following

1. The results of -about- in your Stata.

2. The results of a -describe- on the
two datasets in question.

3. The precise -joinby- command you
typed and what Stata typed in return.


Clive Nicholas

> Indeed a variable such as "ldm?pc" is not a legal variable:
> I know that if
> I were to enter a variable with '?' in it, Stata would not
> accept it; but
> it *does* with a '' in it, yet shows up as a '?' in the
> data editor (and
> as a '' in the variables box). As I said before, I
> performed a -joinby-
> very recently including these variables, and it worked
> without any major
> hitches. What I do not understand is why it has not this
> time, despite
> carefully labelling the variables the same in both datasets.

*   For searches and help try:

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