Comments (4)
Hmm, shoot! Could you do a PR for this?
from lost-stats.github.io.
I haven't figured out how to fix it, Nick! Any ideas?
from lost-stats.github.io.
should be
res = res.reindex(range(res.index.min(), res.index.max()+1)).fillna(0)
when reindex the results.
Btw, the 'time_to_treat' has reverse sign: I suppose that '_nfd' is the treatment year, it shoudl be
df['year'].sub(df['_nfd'])
# missing values for _nfd implies no treatment
.fillna(0)
# so we don't have decimals in our factor names
.astype('int'))```
from lost-stats.github.io.
from lost-stats.github.io.
Related Issues (20)
- Broken links for data importing pages? HOT 1
- Code samples which don't pass tests HOT 9
- Encourage use of same datasets across implementations HOT 7
- An Example of Web Scraping in R HOT 2
- New name for the Generalized Least Squares category HOT 2
- Better syntax highlighting HOT 2
- Event study in Stata HOT 9
- Add to KNN page - R walkthrough HOT 2
- Causal Forest Walkthrough is wrong for the stata - R interface example HOT 1
- how to save the stargazer output table into a file/png using Python HOT 1
- Added as a contributer HOT 1
- Add vector autoregression and impulse response functions to granger causality section HOT 1
- Pushed color palette image files to wrong folder HOT 4
- Post contribution warning and possible mistake changing new page template HOT 2
- Fix marginal effects plot (with categorical interactions) page HOT 5
- Create page on package creation HOT 1
- Build failure HOT 8
- Event study in Stata HOT 1
- Event study in stata with reghdfe
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lost-stats.github.io.