On the face of it, these files have no
variables in common, and so there is
no basis for a -merge-. Otherwise put,
how do you know that your example -merge-d
file is a correct or even useful solution?
Nick
[email protected]
Mazhar Islam
> I have the following two files (whoprice and Stinfo).
>
> I want to merge them as the last table.
>
> FILE : wholprice
>
> date price1 price2 price3
>
> jan1 2005 1.3 3.5 9.8
>
> jan2 2005 1.2 3.6 9.4
> jan3 2005 1.4 3.5 9.2
>
> FILE: Stinfo
>
> store location address
>
> A fshjf sdfkhsf
>
> B yiry oerire
>
> C fhsdk dvbvv
>
> I want to merge them as follows:
>
>
> date price1 price2 price3 store location address
> jan1 2005 1.3 3.5 9.8 A fshjf sdfkhsf
> jan2 2005 1.2 3.6 9.4 A fshjf sdfkhsf
>
>
> jan3 2005 1.4 3.5 9.2 A fshjf sdfkhsf
>
> jan1 2005 1.3 3.5 9.8 B yiry oerire
> jan2 2005 1.2 3.6 9.4 B yiry oerire
>
> jan3 2005 1.4 3.5 9.2 B yiry oerire
>
> jan1 2005 1.3 3.5 9.8 C fhsdk dvbvv
>
> jan2 2005 1.2 3.6 9.4 C fhsdk dvbvv
>
>
> jan3 2005 1.4 3.5 9.2 C fhsdk dvbvv
>
> How shall I do it?
*
* 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/