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: replenish panel data

From   "Fabian Schönenberger" <>
Subject   st: replenish panel data
Date   Mon, 30 Apr 2012 15:32:55 +0200

Dear Statalist
I am facing to following problem. I have a panel data with ID=CUSIP and t=fyear and many other variables like sales, ebits etc.. I have to replenish the original data set with a new variable (inventory). Therefore I need the command to add the inventory for the equivalent CUSIP at the equivalent point-in-time. I have tried merge. But with merge also the unmatched data points are added to the origianl data set. With append I cannot specify ID and fyear. 

Suggestions are highly appreciated.

Best regards, Fabian 

NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!                                  
Jetzt informieren:
*   For searches and help try:

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