Bookmark and Share

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]

st: New command -xtmissingfill- for filling in missing values and balancing a panel


From   "William M. Doerner" <[email protected]>
To   <[email protected]>
Subject   st: New command -xtmissingfill- for filling in missing values and balancing a panel
Date   Sun, 20 May 2012 21:34:15 -0400

Dear all,

Greetings!  A new command -xtmissingfill- has been released to balance
a panel and fill in missing values with several replace options.  I
came across parts of code in the Stata tips, Statalist archives, and
online websites and decided to combine ideas together into a single
command.

To install -xtmissingfill-, view its help file, and load in the
example dataset, type:

. ssc install xtmissingfill
. help xtmissingfill
. use "http://repec.org/bocode/m/municipality.dta";, clear
. save "municipality.dta", replace

Be sure you do not have a dataset with the same name in your present
working directory before running the last line.  You will also need
-tsspell- to replace with linear interpolations.

This is my first command submitted to SSC so feedback is appreciated
and will try to be incorporated into subsequent releases.

Will Doerner

*************************************
Florida State University
Department of Economics
[email protected]
*************************************

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index