Statalist The Stata Listserver


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

st: help merge when dataset have different size


From   [email protected]
To   [email protected]
Subject   st: help merge when dataset have different size
Date   Sat, 16 Dec 2006 15:51:50 +0100

dear all, I have another question about merge:
I  have a dataset for the family wich the keys are:  country
hid(household idnt.) and another wich for the person  wich the keys
are:country pid hid.

In this second dataset the number of hid is grater than the first.
When make the merge is create a confusion, I use the second dataset
how using and the first how master.

make the merge in this procedure:
merge country hid  using... and take only the merge==3
Is't correct? because my results is very stranger....

thanks a lot for your help that is very useful...
best,




Quoting Alan Neustadtl <[email protected]>:

The wikipedia entry on this topic is informative
(http://en.wikipedia.org/wiki/Comma-separated_values).  Apparently
there is no one agreed upon formal specification.

Best,
Alan


On 12/16/06, Nick Cox <[email protected]> wrote:
In this part of Europe, namely Britain, comma-separated means
what it says. I haven't tested for change of behaviour on
the other side of La Manche.

Nick
[email protected]

Kit Baum

Well, Microsoft Office Help for "CSV file" says that data items are
separated by commas, so I don't know why Excel would expect that
(unless a default preference has been altered). Perhaps European
versions of MS Office behave differently because the comma is
used as
a digits separator. But RAY is on the same side of the pond as I am.

On Dec 16, 2006, at 2:33 AM, Ben wrote:

What Ray probably means is that Excel expects semicolons as
delimiters
in a CSV file.
*
*   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/



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