Skip to content

Commit

Permalink
dependency update
Browse files Browse the repository at this point in the history
  • Loading branch information
apoorvalal committed May 4, 2023
1 parent e725678 commit 270d17b
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 53 deletions.
31 changes: 18 additions & 13 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,34 @@ Type: Package
Title: Matrix Completion algorithms for Causal Panel Data Models
Version: 0.0
Date: 2017-11-13
Authors@R: c(person("Susan", "Athey", role = "aut",
email = "[email protected]"),
person("Mohsen", "Bayati", role = "aut",
email = "[email protected]"),
person("Nikolay", "Doudchenko", role = "aut",
email = "[email protected]"),
person("Guido", "Imbens", role = "aut",
email = "[email protected]"),
person("Khashayar", "Khosravi", role = c("aut", "cre"),
email = "[email protected]"))
Authors@R: c(
person("Susan", "Athey", role = "aut",
email = "[email protected]"),
person("Mohsen", "Bayati", role = "aut",
email = "[email protected]"),
person("Nikolay", "Doudchenko", role = "aut",
email = "[email protected]"),
person("Guido", "Imbens", role = "aut",
email = "[email protected]"),
person("Khashayar", "Khosravi", role = c("aut", "cre"),
email = "[email protected]"),
person("Apoorva", "Lal", role = c("ctb"),
email = "[email protected]")
)
Author: Susan Athey [aut],
Mohsen Bayati [aut],
Nikolay Doudchenko [aut],
Nikolay Doudchenko [aut],
Guido Imbens [aut],
Khashayar Khosravi [aut, cre]
Khashayar Khosravi [aut, cre],
Apoorva Lal [ctb]
Maintainer: Khashayar Khosravi <[email protected]>
Description: Given any matrix which some of its entries are missing, it is important
to recover (estimate) missing entries. Inference questions usually can be only
answered once this completion is finished. This package provides tools and
functions to accomplish this task effectively.
Encoding: UTF-8
LazyData: true
Imports: Rcpp (>= 0.12.13), RcppEigen, latex2exp, ggplot2, glmnet, dfms, sparseDFM
Imports: Rcpp, RcppEigen, glmnet, dfms, sparseDFM, data.table, kernlab, filling
LinkingTo: Rcpp, RcppEigen
License: GPL-2
RoxygenNote: 7.2.3
3 changes: 1 addition & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ using Abadie, Diamond, Hainmueller (2010) California Prop 99 data.

```{r}
# install.packages("apoorvalal/MCPanel")
library(MCPanel)
library(synthdid) # for data
pacman::p_load(MCPanel, synthdid) # for data
data(california_prop99)
```

Expand Down
41 changes: 17 additions & 24 deletions README.html

Large diffs are not rendered by default.

17 changes: 3 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,7 @@ using Abadie, Diamond, Hainmueller (2010) California Prop 99 data.

``` r
# install.packages("apoorvalal/MCPanel")
library(MCPanel)
library(synthdid) # for data
```

##
## Attaching package: 'synthdid'

## The following object is masked from 'package:LalRUtils':
##
## panelMatrices

``` r
pacman::p_load(MCPanel, synthdid) # for data
data(california_prop99)
```

Expand Down Expand Up @@ -68,11 +57,11 @@ print(est)
## ATT estimates

## DFM sparse DFM knn kernel KNN
## -55.30 -55.42 -26.49 -23.23
## -55.30 -55.42 -26.69 -23.23
## did matrix completion synthetic control elastic net (V)
## -27.35 -20.00 -19.46 -11.49
## elastic net (H)
## -19.70
## -18.86

The plot method makes an event study figure. The legend contains ATT
estimates, and its width may need to be customized.
Expand Down
Binary file modified README_files/figure-gfm/unnamed-chunk-3-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 270d17b

Please sign in to comment.