Data Science, Machine Learning, Tech, Artificial Intelligence, Economics.
there is no test for this, you have to think about the validity of each experiment as an instrument). Then, we can proceed in two steps: Run a LASSO of X on M. Let Z denote the resulting set of variables selected by LASSO. library(glmnet) lasso.fit <- cv.glmnet(M.excl, df.excl$X, alpha=1) coef <-