Econometrics in Panel data?
9 answers - 221 bytes -

Hi all,
I am new to Python. Just wondering can Python able to do econometric
regression in either Time-series or pooled (panel) data? As well as test
for hetero, autocorrelation, or endogeneity?
Thank you!
No.1 | | 504 bytes |
| 
DeepBlue wrote:
Hi all,
I am new to Python. Just wondering can Python able to do econometric
regression in either Time-series or pooled (panel) data? As well as test
for hetero, autocorrelation, or endogeneity?
Thank you!
NumPy can do linear regression, and one can certainly program any
statistical algorithm in it. For the fairly advanced statistical
methods you are interested in, however, it may be easiest to call R
from Python using the methods described at
.
No.2 | | 498 bytes |
| 
Tue, 09 May 2006 05:58:10 +0800, DeepBlue <123 (AT) 321 (DOT) comdeclaimed the
following in comp.lang.python:
Hi all,
I am new to Python. Just wondering can Python able to do econometric
regression in either Time-series or pooled (panel) data? As well as test
for hetero, autocorrelation, or endogeneity?
Can you do such in FRTRAN, CBL, SNBL, APL, C, Matlab, Maple,
Excel, Turing Machine? Most likely
Is there a pre-built library to compute such? No idea
No.3 | | 703 bytes |
| 
so are you saying that Python is not an appropriate language for doing
econometrics stuff?
Dennis Lee Bieber wrote:
Tue, 09 May 2006 05:58:10 +0800, DeepBlue <123 (AT) 321 (DOT) comdeclaimed the
following in comp.lang.python:
>Hi all,
>>
>I am new to Python. Just wondering can Python able to do econometric
>regression in either Time-series or pooled (panel) data? As well as test
>for hetero, autocorrelation, or endogeneity?
Can you do such in FRTRAN, CBL, SNBL, APL, C, Matlab, Maple,
Excel, Turing Machine? Most likely
Is there a pre-built library to compute such? No idea
No.4 | | 1637 bytes |
| 
In article <44606dd5$0$3285$5a62ac22@>,
DeepBlue <123 (AT) 321 (DOT) comwrote:
>so are you saying that Python is not an appropriate language for doing
>econometrics stuff?
>
>
>Dennis Lee Bieber wrote:
>Tue, 09 May 2006 05:58:10 +0800, DeepBlue <123 (AT) 321 (DOT) comdeclaimed the
>following in comp.lang.python:
>
Hi all,
I am new to Python. Just wondering can Python able to do econometric
regression in either Time-series or pooled (panel) data? As well as test
for hetero, autocorrelation, or endogeneity?
>
>Can you do such in FRTRAN, CBL, SNBL, APL, C, Matlab, Maple,
>Excel, Turing Machine? Most likely
>
>Is there a pre-built library to compute such? No idea
.
.
.
While I count on Dennis to speak for himself, I'll interrupt
and say that, yes, Python is an appropriate language for
econometrics not an ideal one.
There's been quite a bit of Python-based work on financial
analytics in the past. I don't have a convenient handle on
who all has done this, and what they've done, but I'm certain
that research will yield results. Python boasts quite a few
general advantages that make it apt for these tasks.
There is not, however, a readily-accessible library targeted
for this sort of work. If I had the opportunity to work in
econometrics now, I'd think seriously about R, Lisp, and
Mathematica, and see what's available among the functional
languages, along with Python.
No.5 | | 1404 bytes |
| 
Tue, 09 May 2006 18:24:11 +0800, DeepBlue <123 (AT) 321 (DOT) comdeclaimed the
following in comp.lang.python:
so are you saying that Python is not an appropriate language for doing
econometrics stuff?
"Appropriate" was not a qualifier in your original query I was
only pointing out that, if one can implement the needed algorithms in
any of those other languages, one can implement them in Python (in the
case of an Excel implementation, maybe one wouldn't even need to
implement them in Python -- just interface to Excel and use whatever
formulation existed for it <G>). IWs, your original phrasing was on par
with "can one do arithmetic with Python", not (pardon the techno-babble)
"can one do multi-variate graphical regression of quantum fluctuations
in real-time with Python". { course, I'm one of those that considers
"real-time" to mean "before the next input" For a payroll system
real-time means the paycheck for last week's time comes out the other
end before the input of the current week's time <G>}
About the only thing Python, as it exists today, is not suitable
for, is writing a operating system -- the language doesn't have native
hardware access and relies upon a pre-existing S for such services.
would have to replace the C-language runtime with an S-independent
rewrite.
No.6 | | 335 bytes |
| 
DeepBlue wrote:
so are you saying that Python is not an appropriate language for doing
econometrics stuff?
Alan Isaac certainly thinks it is appropriate and lists many Python resources
for econometrics:
You may also want to look at QuantLib, which has a Python interface via SWIG.
http://www.quantlib.org
No.7 | | 1565 bytes |
| 
In article <mub6j3-sne.ln1 (AT) lairds (DOT) us>, I counseled:
>In article <44606dd5$0$3285$5a62ac22@>,
>DeepBlue <123 (AT) 321 (DOT) comwrote:
>>so are you saying that Python is not an appropriate language for doing
>>econometrics stuff?
>>
>>
>>Dennis Lee Bieber wrote:
Tue, 09 May 2006 05:58:10 +0800, DeepBlue <123 (AT) 321 (DOT) comdeclaimed the
following in comp.lang.python:
Hi all,
I am new to Python. Just wondering can Python able to do econometric
regression in either Time-series or pooled (panel) data? As well as test
for hetero, autocorrelation, or endogeneity?
.
.
.
>There is not, however, a readily-accessible library targeted
>for this sort of work. If I had the opportunity to work in
>econometrics now, I'd think seriously about R, Lisp, and
>Mathematica, and see what's available among the functional
>languages, along with Python.
Smalltalk, too; I'd throw it in the mix. Much serious econometrics
has been done with Fortran, but I have no enthusiasm for pursuing
that direction, mostly because I think too much of the computing
world is going in a different one.
But I'm not you, DeepBlue, or, more specifically, it's unlikely that
our circumstances are at all similar. Is your project at a hobbyist
level? How does hardware constrain you? How big is your team ?
No.8 | | 2764 bytes |
| 
Cameron Laird wrote:
In article <mub6j3-sne.ln1 (AT) lairds (DOT) us>, I counseled:
>In article <44606dd5$0$3285$5a62ac22@>,
>DeepBlue <123 (AT) 321 (DOT) comwrote:
>>so are you saying that Python is not an appropriate language for doing
>>econometrics stuff?
>>
>>
>>Dennis Lee Bieber wrote:
Tue, 09 May 2006 05:58:10 +0800, DeepBlue <123 (AT) 321 (DOT) comdeclaimed the
following in comp.lang.python:
Hi all,
I am new to Python. Just wondering can Python able to do econometric
regression in either Time-series or pooled (panel) data? As well as test
for hetero, autocorrelation, or endogeneity?
.
.
.
>There is not, however, a readily-accessible library targeted
>for this sort of work. If I had the opportunity to work in
>econometrics now, I'd think seriously about R, Lisp, and
>Mathematica, and see what's available among the functional
>languages, along with Python.
>
Smalltalk, too; I'd throw it in the mix. Much serious econometrics
has been done with Fortran, but I have no enthusiasm for pursuing
that direction, mostly because I think too much of the computing
world is going in a different one.
There are many statistics packages and programming languages used in
econometrics and in general, so most of the computing world is going in
a different
"direction", no matter which package or language you choose.
Enough programmers still use Fortran that major hardware vendors such
as Intel, IBM, and Sun are actively maintaining their Fortran 95
compilers and adding features from Fortran 2003. G95 is free, available
almost everywhere that gcc is, and good enough for production use IM
The recent book
Developing Statistical Software in Fortran 95
by David R. Lemmon and Joseph L. Schafer
Spriger (2005)
discusses how to build statistical software components in Fortran that
can be used in statistical packages.
The IMSL and NAG software libraries have extensive statistical
functionality and are available in Fortran, among other languages.
It is important for a programming language used for econometrics to
conveniently handle multidimensional arrays, and here Fortran outshines
C, C++, and Java (NumPy is good, though).
I am a quantitative financial analyst who implements econometrics
algorithms. Data sets are getting bigger -- use of intraday data is now
common -- and the CPU time for many algorithms scales as the N^2 or
N^3, where N is the number of observations. Speed still matters.
No.9 | | 2876 bytes |
| 
! I think I should stop wasting time to learn Python to do my
econometric algorithms. >_<
beliavsky (AT) aol (DOT) com wrote:
Cameron Laird wrote:
>In article <mub6j3-sne.ln1 (AT) lairds (DOT) us>, I counseled:
In article <44606dd5$0$3285$5a62ac22@>,
DeepBlue <123 (AT) 321 (DOT) comwrote:
so are you saying that Python is not an appropriate language for doing
econometrics stuff?
Dennis Lee Bieber wrote:
Tue, 09 May 2006 05:58:10 +0800, DeepBlue <123 (AT) 321 (DOT) comdeclaimed the
following in comp.lang.python:
Hi all,
I am new to Python. Just wondering can Python able to do econometric
regression in either Time-series or pooled (panel) data? As well as test
for hetero, autocorrelation, or endogeneity?
>.
>.
>.
There is not, however, a readily-accessible library targeted
for this sort of work. If I had the opportunity to work in
econometrics now, I'd think seriously about R, Lisp, and
Mathematica, and see what's available among the functional
languages, along with Python.
>Smalltalk, too; I'd throw it in the mix. Much serious econometrics
>has been done with Fortran, but I have no enthusiasm for pursuing
>that direction, mostly because I think too much of the computing
>world is going in a different one.
There are many statistics packages and programming languages used in
econometrics and in general, so most of the computing world is going in
a different
"direction", no matter which package or language you choose.
Enough programmers still use Fortran that major hardware vendors such
as Intel, IBM, and Sun are actively maintaining their Fortran 95
compilers and adding features from Fortran 2003. G95 is free, available
almost everywhere that gcc is, and good enough for production use IM
The recent book
Developing Statistical Software in Fortran 95
by David R. Lemmon and Joseph L. Schafer
Spriger (2005)
discusses how to build statistical software components in Fortran that
can be used in statistical packages.
The IMSL and NAG software libraries have extensive statistical
functionality and are available in Fortran, among other languages.
It is important for a programming language used for econometrics to
conveniently handle multidimensional arrays, and here Fortran outshines
C, C++, and Java (NumPy is good, though).
I am a quantitative financial analyst who implements econometrics
algorithms. Data sets are getting bigger -- use of intraday data is now
common -- and the CPU time for many algorithms scales as the N^2 or
N^3, where N is the number of observations. Speed still matters.