Comments (5)
Soon! Chapters are with production now. I'd say summer if I'm optimistic.
from bds.
Soon! It's with production, so hopefully early 2022.
from bds.
@shane-kercheval many thanks for this. Apologies for the delayed reply, I'm revising the book for a new addition (will be pretty cool; we're making it into a much more readable full-service text) and I just got to this section for revision.
You are absolutely correct! I got the order of operations mixed up and the plot descriptions also. The fixed analysis script is:
`
library(data.table)
ebay <- as.data.table(ps)
ebay <- ebay[,list(ssm.turns.off=mean(1-search.stays.on),
revenue=mean(revenue)),
by=c("dma","treatment_period")]
setnames(ebay, "treatment_period", "post.treat")
ebay <- as.data.frame(ebay)
head(ebay)
run the DiD analysis
did <- glm(log(revenue) ~ ssm.turns.off*post.treat, data=ebay)
coef(did)
library(sandwich)
library(lmtest)
coeftest(did, vcov=vcovCL(did, cluster=ebay$dma))`
Results are exactly you describe. I've also attached updated draft section in case you are curious. Comments/errata are highly welcome :-)
draft.pdf
from bds.
@mataddy, maybe not the best place for this question but do you have an idea of when the 2nd edition could be released? Thanks!
from bds.
I'm at risk of being a bit obnoxious here on Github but was curious if there was an update on the 2nd edition?
from bds.
Related Issues (16)
- Typos HOT 2
- eq: 2.22 subscript missing for y_i (digital edition, cannot confirm for printed) HOT 4
- BDS Errata HOT 3
- betas[,1:5] -> betas[1:5,] HOT 1
- Chapter 1 errata (as of O'Reilly has it online on March 14, 2020)
- further typos HOT 3
- code update for R 4.0 HOT 3
- oj.R line 8 levels(oj$brand) returns NULL
- BDS/examples/oj.R
- ALGORITHM 4 K-Fold OOS (semiconductor)
- BDS/examples/stocks.R - Dropped Records
- examples/semincoductors.r
- Broken url HOT 1
- Typos eq: 1.10 and Marginal Likelihood HOT 1
- timespace.R - crash on line 77 HOT 3
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 bds.