Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: how do you merge a large dataset and small dataset together based on a unique id?
From
Gwinyai Masukume <[email protected]>
To
[email protected]
Subject
Re: st: how do you merge a large dataset and small dataset together based on a unique id?
Date
Tue, 23 Apr 2013 15:12:49 +0200
Very true Nick. Thanks
@ Daniel
http://blog.stata.com/2011/04/18/merging-data-part-1-merges-gone-bad/
"Always be suspicious of numeric ID variables stored numerically, not
just those stored as floats."
I changed the id to a string and everything worked beautifully.
Thanks
Kind regards,
Gwinyai
On 4/23/13, Nick Cox <[email protected]> wrote:
> You cited this problem of confidentiality in your last post too.
>
> Clearly no-one is expecting you to show personal data.
>
> But the solution is easy. Fake an example with invented data and then
> show us your code.
>
> Some posts come close to a limiting case "Code I am not showing you on
> data I am not showing you is not doing what I want. Anyone know why?".
> It's important to lift yourself clear of that!
>
> Nick
> [email protected]
>
> On 23 April 2013 13:27, Gwinyai Masukume <[email protected]> wrote:
>> Dear Daniel and Maarten,
>>
>> I apologize for not giving the syntax – I was trying to protect the
>> privacy of patients. I did not want to inadvertently breach
>> confidentiality which can have grave consequences.
>>
>> Thank you for the example and the link. That’s what I needed for
>> debugging.
>>
>> Kind regards,
>> Gwinyai
>>
>> *
>> * For searches and help try:
>> * http://www.stata.com/help.cgi?search
>> * http://www.stata.com/support/faqs/resources/statalist-faq/
>> * http://www.ats.ucla.edu/stat/stata/
>
> *
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/faqs/resources/statalist-faq/
> * http://www.ats.ucla.edu/stat/stata/
>
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/