Skip to content

Commit

Permalink
benchmark v0.2.4 (post-#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
leeper committed Aug 22, 2016
1 parent 2d1a357 commit 43fe90e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,18 +86,18 @@ microbenchmark(marginal_effects(x))

```
## Unit: milliseconds
## expr min lq mean median uq max neval
## marginal_effects(x) 214.471 222.9181 234.4616 227.0719 238.7153 329.5586 100
## expr min lq mean median uq max neval
## marginal_effects(x) 7.942455 8.409444 9.199376 9.115538 9.792552 13.37642 100
```

```r
microbenchmark(margins(x))
```

```
## Unit: seconds
## expr min lq mean median uq max neval
## margins(x) 1.659949 1.759542 2.002002 1.921906 2.071543 3.18132 100
## Unit: milliseconds
## expr min lq mean median uq max neval
## margins(x) 63.40545 69.59018 74.86074 72.59378 75.9127 169.0655 100
```

In addition to the estimation procedures and `plot()` generic, **margins** offers several plotting methods for model objects. First, there is a new generic `cplot()` that displays predictions or marginal effects (from an "lm" or "glm" model) of a variable conditional across values of third variable (or itself). For example, here is a graph of predicted probabilities from a logit model:
Expand Down
Binary file modified cache/benchmark_b168f7cfc7c662dfd4d53c6ead570199.RData
Binary file not shown.

0 comments on commit 43fe90e

Please sign in to comment.