[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: AW: combining two variables

From   "Martin Weiss" <>
To   <>
Subject   st: AW: combining two variables
Date   Sat, 12 Sep 2009 14:47:42 +0200


egen, group()

could also be handy for Johannes :-)


-----Ursprüngliche Nachricht-----
[] Im Auftrag von Johannes
Gesendet: Samstag, 12. September 2009 02:24
Betreff: st: combining two variables

Dear Statalist users:

I would like to combine two variables in one:

The first variable represents the state: e.g. CA (California) or AZ 
The second variable represents the countiy and includes numbers: 01,...

The combination of both variables finally states from which county the 
individual is from, e.g. CA 01 is county Alameda, AZ 01 is county 
Apache, etc.
Does anyone know a trick how to combine both variables so that it 
identifies uniquely the county where the person is from?
Thanks a lot!!

*   For searches and help try:

*   For searches and help try:

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