Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

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

st: match data

From   Maximiliano Manuel Silva Correa <>
Subject   st: match data
Date   Tue, 27 Jul 2010 12:03:20 -0400

Dear stata Community

Im trying to match data between two datasets but i dont know how? Can
someone explain the sintaxis about how to do this?

Suppose we have several power transmision lines (indexed by variable
LINE), and several substations in between (indexed by SUBS), each of
them has a power consumption (POWER)

Suppose we have two datasets, each of the corresponding to one year.

I want to compare the power consumption between both years.

It would be somtehing like


So, in the dataset containing the present data, i can calculate de
difference in power consumtion between both years.

Any suggetsioens? Any help will be well received. Thx in advance.

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index