Hot answers tagged

12 votes
Accepted

Outputting Regressions as Table in Python (similar to outreg in stata)?

You can use code like the following (making use of the as_latex function) to output a regression result to a tex file but it doesn't stack them neatly in tabular form the way that outreg2 does: ...
BKay's user avatar
  • 16.3k
8 votes
Accepted

Does julia's speed advantage over python make any difference for DSGE modeling?

Julia is actually a lot faster than Python, also when running DSGE models. The NY FED moved their DSGE model to Julia because it allows them to: Estimate models 10x faster Complete 'solve' test 11x ...
AKdemy's user avatar
  • 4,092
7 votes

Python vs R (vs Stata): the old battle revisited

I use all three programs. Python can do everything that R can do and R can do everything that Python does, but I must say R is superior to Python when it comes to the packages. For that reason for ...
1muflon1's user avatar
  • 55.6k
7 votes

Outputting Regressions as Table in Python (similar to outreg in stata)?

You can use the stargazer package (install with pip install stargazer). From https://github.com/mwburke/stargazer/blob/master/...
Max Ghenis's user avatar
5 votes

Outputting Regressions as Table in Python (similar to outreg in stata)?

There is now a Python version of the well known stargazer R package, which does exactly this. See also this related question: https://stackoverflow.com/q/35051673/2858145
Pietro Battiston's user avatar
5 votes

Does julia's speed advantage over python make any difference for DSGE modeling?

There are certainly cases where the performance differences between Python and Julia matter, but solving a simple DSGE model is not one of them. There have been some formal comparison exercises (e.g., ...
Joe's user avatar
  • 185
4 votes
Accepted

Looking for guide to Industrial Organization numerical modeling in Python

Here is a program on Cournot competition on Github: http://janboone.github.io/competition_policy_and_regulation/Collusion_Cournot/Collusion_Cournot.html It encompasses both numerical aspects and ...
BakerStreet's user avatar
  • 3,557
2 votes
Accepted

Code finding all stable matchings in one-to-one problem

The matchingMarkets package in the R software now implements two constraint encoding functions to find all stable matchings in the three most common matching problems: ...
kleindotuk's user avatar
2 votes

Code finding all stable matchings in one-to-one problem

Patrick Prosser has some great java code at http://www.dcs.gla.ac.uk/~pat/roommates/distribution/ which, among other things, can compute all the stable matchings in roommate problems. The code is for ...
Martin Van der Linden's user avatar
2 votes

Python vs R (vs Stata): the old battle revisited

I use Stata and Python heavily. I have dabbled in R, but won't pretend I know it well enough to comment on it. Stata and Python complement each other nicely and I am a big fan of both. You can run ...
Bilingual's user avatar
2 votes

Does julia's speed advantage over python make any difference for DSGE modeling?

The comparison between julia and python is apples to oranges. They have completely different architectures and performance characteristics. Julia uses JIT compilation to native machine code, which ...
user38657's user avatar
2 votes

ROI and stock rates

I agree with Dan it is likely a typo. Some definitions (using your notations) Investment : $f_0$ Investment one year later : $f_1$ Net income : $f_1 - f_0$ ROI: $-1 + \frac{f_1}{f_0}$ It follows ...
keepAlive's user avatar
  • 1,425
1 vote
Accepted

confidence interval for standard deviation of bitcoin price

You can always interpret mean and standard deviation and margin of error, but in time series they do not have too much useful interpretation. Mean will tell you what the average bitcoin price change ...
csilvia's user avatar
  • 2,739
1 vote

Opportunities for Computer Science Graduates in the Field of Economics

As a CS graduate how much struggle I am to face in this field? What will be the best way to approach this field as a newcomer? You'll probably struggle in the econometrics and statistics portion, ...
RegressForward's user avatar
1 vote

Python vs R (vs Stata): the old battle revisited

In my experience, I think Python is better for econometrics than R and Stata for the following reasons: a) In real applications, get and transform data is 60% of the work. For this tasks Python is ...
dany's user avatar
  • 11
1 vote

Python vs R (vs Stata): the old battle revisited

I'd rate my experience: Stata 9/10, Python 7/10, R 3/10 on a) There are many econometric approaches specific to a certain field for which packages have been developed for R and Stata, but not (yet) ...
E. Sommer's user avatar
  • 1,307

Only top scored, non community-wiki answers of a minimum length are eligible