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: cubic spline interpolation in panel data


From   "Ben Ammar" <[email protected]>
To   [email protected]
Subject   st: cubic spline interpolation in panel data
Date   Mon, 04 Apr 2011 16:57:21 +0200

Hi everyone,

I was wondering if there's any possibility to use spline3() with Mata if the dataset is in panel form (400000 observations, 40 years)?
Currently I have quartely dates with prices but I would like to interpolate those prices on a monthly basis.
-ipolate- works fine but I'm trying to smooth the data as much as possible.
I also installed -cipolate- but I just read it's not a spline function.
Does anyone have an idea how to use the spline3() with panel data (-reshape- the dataset came to my mind, but I don't think that is would help somehow + I'm using Stata IC, which could be tight due to 40 years of observations)or perhaps does someone have another way to approach the interpolation on a monthly basis?

Thanks for any suggestions!
Regards Ben
-- 
GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt mit 
gratis Handy-Flat! http://portal.gmx.net/de/go/dsl
*
*   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