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

RE: Matching data, Files A &B [Was: Re: st: Picking from a matrix ]


From   Benoit.Laplante@inrs-UCS.uquebec.ca
To   statalist@hsphsun2.harvard.edu
Subject   RE: Matching data, Files A &B [Was: Re: st: Picking from a matrix ]
Date   Thu, 28 Nov 2002 10:52:11 -0500

It seems that's it. Thanks.

I guess I should do with Sata what my Spanish teacher tells me to do: don't
try to translate, think straight into the language :-)

B. Laplante

-----Message d'origine-----
De : Stephen P. Jenkins [mailto:stephenj@essex.ac.uk]
Envoyé : jeudi 28 novembre 2002 10:45
À : statalist@hsphsun2.harvard.edu
Objet : RE: Matching data, Files A &B [Was: Re: st: Picking from a
matrix ]


On Thu, 28 Nov 2002 10:28:22 -0500 Benoit.Laplante@inrs-ucs.uquebec.ca 
wrote:

> Maybe things are simpler that I think they are but, for what I understand
of
> -merge-, it would merge observations that would have similar values on one
> or several variables both in File A and File B. The three variables Year,
> Age and Area do not exist as such in File B: Year defines lines while
> columns are combinations of Age within Area. Furthermore, there will not
be
> unique combinations of Year, Age and Area in A: some elements of B will
have
> to be copied several times to different lines of A. Also I need to copy
only
> one value from File B on any given line of A, not all 770 values of a
given
> line of B.

-merge- will not do matching by "similar" values, only on exact values.



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