Package CausalImpact

Size: px
Start display at page:

Download "Package CausalImpact"

Transcription

1 Package CausalImpact September 15, 2017 Title Inferring Causal Effects using Bayesian Structural Time-Series Models Date Author Kay H. Brodersen Alain Hauser Maintainer Alain Hauser URL Description Implements a Bayesian approach to causal impact estimation in time series, as described in Brodersen et al. (2015) <DOI: /14-AOAS788>. See the package documentation on GitHub < to get started. Copyright Copyright (C) Google, Inc. Version VignetteBuilder knitr License Apache License 2.0 file LICENSE Imports assertthat (>= 0.2.0), Boom, dplyr, ggplot2, zoo Depends bsts (>= 0.7.0) Suggests knitr, testthat NeedsCompilation no Repository CRAN Date/Publication :22:48 UTC R topics documented: as.causalimpact CausalImpact CausalImpactMethods Index 8 1

2 2 CausalImpact as.causalimpact Coercion to a CausalImpact object Description Usage Method for coercing objects to class CausalImpact. This function serves as a template to implement S3 methods for coercing other objects to CausalImpact objects in other packages. The function itself just dispatches a call to the appropriate S3 method. as.causalimpact(x,...) Arguments x Any R object that should be coerced to a CausalImpact object.... Optional additional arguments (not currently used). Author(s) Kay H. Brodersen <kbrodersen@google.com> CausalImpact Inferring causal impact using structural time-series models Description Usage CausalImpact() performs causal inference through counterfactual predictions using a Bayesian structural time-series model. See the package documentation ( to understand the underlying assumptions. In particular, the model assumes that the time series of the treated unit can be explained in terms of a set of covariates which were themselves not affected by the intervention whose causal effect we are interested in. The easiest way of running a causal analysis is to call CausalImpact() with data, pre.period, post.period, model.args (optional), and alpha (optional). In this case, a time-series model is automatically constructed and estimated. The argument model.args offers some control over the model. See Example 1 below. An alternative is to supply a custom model. In this case, the function is called with bsts.model, post.period.response, and alpha (optional). See Example 3 below. CausalImpact(data = NULL, pre.period = NULL, post.period = NULL, model.args = NULL, bsts.model = NULL, post.period.response = NULL, alpha = 0.05)

3 CausalImpact 3 Arguments data pre.period post.period model.args Time series of response variable and any covariates. This can be a zoo object, a vector, a matrix, or a data.frame. In any of these cases, the response variable must be in the first column, and any covariates in subsequent columns. A zoo object is recommended, as its time indices will be used to format the x-axis in plot(). A vector specifying the first and the last time point of the pre-intervention period in the response vector y. This period can be thought of as a training period, used to determine the relationship between the response variable and the covariates. If data is a zoo object with a time attribute, pre.period must be indicated using the same time scale (i.e. using the same class as time(data), see Example 2 below). If data doesn t have a time attribute, post.period is indicated with indices. A vector specifying the first and the last day of the post-intervention period we wish to study. This is the period after the intervention has begun whose effect we are interested in. The relationship between response variable and covariates, as determined during the pre-period, will be used to predict how the response variable should have evolved during the post-period had no intervention taken place. If data is a zoo object with a time attribute, post.period must be indicated using the same time scale. If data doesn t have a time attribute, post.period is indicated with indices. Further arguments to adjust the default construction of the state-space model used for inference. One particularly important parameter is prior.level.sd, which specifies our a priori knowledge about the volatility of the data. For even more control over the model, you can construct your own model using the bsts package and feed the fitted model into CausalImpact(), as shown in Example 3. bsts.model Instead of passing in data and having CausalImpact() construct a model, it is possible to create a custom model using the bsts package. In this case, omit data, pre.period, and post.period. Instead only pass in bsts.model, post.period.response, and alpha (optional). The model must have been fitted on data where the response variable was set to NA during the post-treatment period. The actual observed data during this period must then be passed to the function in post.period.response. post.period.response Actual observed data during the post-intervention period. This is required if and only if a fitted bsts.model is provided instead of data. alpha Desired tail-area probability for posterior intervals. Defaults to 0.05, which will produce central 95% intervals. Value CausalImpact() returns a CausalImpact object containing the original observed response, its counterfactual predictions, as well as pointwise and cumulative impact estimates along with posterior credible intervals. Results can summarised using summary() and visualized using plot(). The object is a list with the following fields:

4 4 CausalImpact series. Time-series object (zoo) containing the original response response as well as the computed inferences. The added columns are listed in the table below. summary. Summary statistics for the post-intervention period. This includes the posterior expectation of the overall effect, the corresponding posterior credible interval, and the posterior probability that the intervention had any effect, expressed in terms of a one-sided p-value. Note that checking whether the posterior interval includes zero corresponds to a two-sided hypothesis test. In contrast, checking whether the p-value is below alpha corresponds to a one-sided hypothesis test. report. A suggested verbal interpretation of the results. model. A list with four elements pre.period, post.period, bsts.model and alpha. pre.period and post.period indicate the first and last time point of the time series in the respective period, bsts.model is the fitted model returned by bsts(), and alpha is the user-specified tail-area probability. The field series is a zoo time-series object with the following columns: response cum.response point.pred point.pred.lower point.pred.upper cum.pred cum.pred.lower cum.pred.upper point.effect point.effect.lower point.effect.lower cum.effect cum.effect.lower cum.effect.lower Observed response as supplied to CausalImpact(). Cumulative response during the modeling period. Posterior mean of counterfactual predictions. Lower limit of a (1 - alpha) posterior interval. Upper limit of a (1 - alpha) posterior interval. Posterior cumulative counterfactual predictions. Lower limit of a (1 - alpha) posterior interval. Upper limit of a (1 - alpha) posterior interval. Point-wise posterior causal effect. Lower limit of the posterior interval (as above). Upper limit of the posterior interval (as above). Posterior cumulative effect. Lower limit of the posterior interval (as above). Upper limit of the posterior interval (as above). Note Optional arguments can be passed as a list in model.args, providing additional control over model construction: niter. Number of MCMC samples to draw. Higher numbers yield more accurate inferences. Defaults to standardize.data. Whether to standardize all columns of the data using moments estimated from the pre-intervention period before fitting the model. This is equivalent to an empirical Bayes approach to setting the priors. It ensures that results are invariant to linear transformations of the data. Defaults to TRUE. prior.level.sd. Prior standard deviation of the Gaussian random walk of the local level, expressed in terms of data standard deviations. Defaults to 0.01, a typical choice for wellbehaved and stable datasets with low residual volatility after regressing out known predictors (e.g., web searches or sales in high quantities). When in doubt, a safer option is to use 0.1,

5 CausalImpact 5 Author(s) as validated on synthetic data, although this may sometimes give rise to unrealistically wide prediction intervals. nseasons. Period of the seasonal components. In order to include a seasonal component, set this to a whole number greater than 1. For example, if the data represent daily observations, use 7 for a day-of-week component. This interface currently only supports up to one seasonal component. To specify multiple seasonal components, use bsts to specify the model directly, then pass the fitted model in as bsts.model. Defaults to 1, which means no seasonal component is used. season.duration. Duration of each season, i.e., number of data points each season spans. For example, to add a day-of-week component to data with daily granularity, supply the arguments model.args = list(nseasons = 7, season.duration = 1). Alternatively, use model.args = list(nseasons = 7, season.duration = 24) to add a day-of-week component to data with hourly granularity. Defaults to 1. dynamic.regression. Whether to include time-varying regression coefficients. In combination with a time-varying local trend or even a time-varying local level, this often leads to overspecification, in which case a static regression is safer. Defaults to FALSE. Kay H. Brodersen <kbrodersen@google.com> Examples # Example 1 # # Example analysis on a simple artificial dataset # consisting of a response variable y and a # single covariate x1. set.seed(1) x1 < arima.sim(model = list(ar = 0.999), n = 52) y <- 1.2 * x1 + rnorm(52) y[41:52] <- y[41:52] + 10 data <- cbind(y, x1) pre.period <- c(1, 40) post.period <- c(41, 52) impact <- CausalImpact(data, pre.period, post.period) # Print and plot results summary(impact) summary(impact, "report") plot(impact) plot(impact, "original") plot(impact$model$bsts.model, "coefficients") # For further output, type: names(impact) ## Not run: # Example 2 #

6 6 CausalImpactMethods # Weekly time series: same data as in example 1, annotated # with dates. times <- seq.date(as.date(" "), by = 7, length.out = 52) data <- zoo(cbind(y, x1), times) impact <- CausalImpact(data, times[pre.period], times[post.period]) summary(impact) # Same as in example 1. plot(impact) # The plot now shows dates on the x-axis. # Example 3 # # For full flexibility, specify a custom model and pass the # fitted model to CausalImpact(). To run this example, run # the code for Example 1 first. post.period.response <- y[post.period[1] : post.period[2]] y[post.period[1] : post.period[2]] <- NA ss <- AddLocalLevel(list(), y) bsts.model <- bsts(y ~ x1, ss, niter = 1000) impact <- CausalImpact(bsts.model = bsts.model, post.period.response = post.period.response) plot(impact) ## End(Not run) CausalImpactMethods Printing and plotting a CausalImpact object Description Usage Methods for printing and plotting the results of an analysis results object returned by CausalImpact(). ## S3 method for class 'CausalImpact' summary(object,...) ## S3 method for class 'CausalImpact' print(x,...) ## S3 method for class 'CausalImpact' plot(x,...) Arguments object x A CausalImpact results object, as returned by CausalImpact(). A CausalImpact results object, as returned by CausalImpact().... Optional additional arguments. For summary() and print(), the first optional argument is output, which can be "summary" (default) or "report". Partial matches are allowed. Furthermore, digits can be used to customize the precision of the output, e.g.: summary(..., "summary", digits = 3)

7 CausalImpactMethods 7 Author(s) For plot(), the additional argument metrics can be used to specify which panels to include in the plot. The argument can be any combination of "original", "pointwise", "cumulative". Partial matches are allowed. Kay H. Brodersen <kbrodersen@google.com> Examples ## Not run: impact <- CausalImpact(...) # Print a summary table print(impact) summary(impact) # Print a verbal analysis description print(impact, "report") summary(impact, "report") # Create a plot plot(impact) plot(impact, "original") plot(impact, "pointwise") plot(impact, "cumulative") plot(impact, c("original", "pointwise")) # Customize a plot impact.plot <- plot(impact) impact.plot <- impact.plot + theme_bw(base_size = 20) ## End(Not run)

8 Index as.causalimpact, 2 CausalImpact, 2 CausalImpactMethods, 6 plot.causalimpact (CausalImpactMethods), 6 print.causalimpact (CausalImpactMethods), 6 summary.causalimpact (CausalImpactMethods), 6 8

Package rpst. June 6, 2017

Package rpst. June 6, 2017 Type Package Title Recursive Partitioning Survival Trees Version 1.0.0 Date 2017-6-6 Author Maintainer Package rpst June 6, 2017 An implementation of Recursive Partitioning Survival Trees

More information

Package svalues. July 15, 2018

Package svalues. July 15, 2018 Type Package Package svalues July 15, 2018 Title Measures of the Sturdiness of Regression Coefficients Version 0.1.6 Author Carlos Cinelli Maintainer Carlos Cinelli Implements

More information

Package sparsereg. R topics documented: March 10, Type Package

Package sparsereg. R topics documented: March 10, Type Package Type Package Package sparsereg March 10, 2016 Title Sparse Bayesian Models for Regression, Subgroup Analysis, and Panel Data Version 1.2 Date 2016-03-01 Author Marc Ratkovic and Dustin Tingley Maintainer

More information

Package bayesdp. July 10, 2018

Package bayesdp. July 10, 2018 Type Package Package bayesdp July 10, 2018 Title Tools for the Bayesian Discount Prior Function Version 1.3.2 Date 2018-07-10 Depends R (>= 3.2.3), ggplot2, survival, methods Functions for data augmentation

More information

Package cosinor. February 19, 2015

Package cosinor. February 19, 2015 Type Package Package cosinor February 19, 2015 Title Tools for estimating and predicting the cosinor model Version 1.1 Author Michael Sachs Maintainer Michael Sachs

More information

Package diagis. January 25, 2018

Package diagis. January 25, 2018 Type Package Package diagis January 25, 2018 Title Diagnostic Plot and Multivariate Summary Statistics of Weighted Samples from Importance Sampling Version 0.1.3-1 Date 2018-01-25 Author Jouni Helske Maintainer

More information

Package PTE. October 10, 2017

Package PTE. October 10, 2017 Type Package Title Personalized Treatment Evaluator Version 1.6 Date 2017-10-9 Package PTE October 10, 2017 Author Adam Kapelner, Alina Levine & Justin Bleich Maintainer Adam Kapelner

More information

Package nonlinearicp

Package nonlinearicp Package nonlinearicp July 31, 2017 Type Package Title Invariant Causal Prediction for Nonlinear Models Version 0.1.2.1 Date 2017-07-31 Author Christina Heinze- Deml , Jonas

More information

Package mwa. R topics documented: February 24, Type Package

Package mwa. R topics documented: February 24, Type Package Type Package Package mwa February 24, 2015 Title Causal Inference in Spatiotemporal Event Data Version 0.4.1 Date 2015-02-21 Author Sebastian Schutte and Karsten Donnay Maintainer Sebastian Schutte

More information

Package glmnetutils. August 1, 2017

Package glmnetutils. August 1, 2017 Type Package Version 1.1 Title Utilities for 'Glmnet' Package glmnetutils August 1, 2017 Description Provides a formula interface for the 'glmnet' package for elasticnet regression, a method for cross-validating

More information

Package ArCo. November 5, 2017

Package ArCo. November 5, 2017 Title Artificial Counterfactual Package Version 0.3-1 Date 2017-11-05 Package ArCo November 5, 2017 Maintainer Gabriel F. R. Vasconcelos BugReports https://github.com/gabrielrvsc/arco/issues

More information

Package sure. September 19, 2017

Package sure. September 19, 2017 Type Package Package sure September 19, 2017 Title Surrogate Residuals for Ordinal and General Regression Models An implementation of the surrogate approach to residuals and diagnostics for ordinal and

More information

Package OLScurve. August 29, 2016

Package OLScurve. August 29, 2016 Type Package Title OLS growth curve trajectories Version 0.2.0 Date 2014-02-20 Package OLScurve August 29, 2016 Maintainer Provides tools for more easily organizing and plotting individual ordinary least

More information

Package naivebayes. R topics documented: January 3, Type Package. Title High Performance Implementation of the Naive Bayes Algorithm

Package naivebayes. R topics documented: January 3, Type Package. Title High Performance Implementation of the Naive Bayes Algorithm Package naivebayes January 3, 2018 Type Package Title High Performance Implementation of the Naive Bayes Algorithm Version 0.9.2 Author Michal Majka Maintainer Michal Majka Description

More information

Package quickreg. R topics documented:

Package quickreg. R topics documented: Package quickreg September 28, 2017 Title Build Regression Models Quickly and Display the Results Using 'ggplot2' Version 1.5.0 A set of functions to extract results from regression models and plot the

More information

Package dalmatian. January 29, 2018

Package dalmatian. January 29, 2018 Package dalmatian January 29, 2018 Title Automating the Fitting of Double Linear Mixed Models in 'JAGS' Version 0.3.0 Date 2018-01-19 Automates fitting of double GLM in 'JAGS'. Includes automatic generation

More information

Package reval. May 26, 2015

Package reval. May 26, 2015 Package reval May 26, 2015 Title Repeated Function Evaluation for Sensitivity Analysis Version 2.0.0 Date 2015-05-25 Author Michael C Koohafkan [aut, cre] Maintainer Michael C Koohafkan

More information

Package optimus. March 24, 2017

Package optimus. March 24, 2017 Type Package Package optimus March 24, 2017 Title Model Based Diagnostics for Multivariate Cluster Analysis Version 0.1.0 Date 2017-03-24 Maintainer Mitchell Lyons Description

More information

Package queuecomputer

Package queuecomputer Package queuecomputer Title Computationally Efficient Queue Simulation Version 0.8.2 November 17, 2017 Implementation of a computationally efficient method for simulating queues with arbitrary arrival

More information

Package anomalize. April 17, 2018

Package anomalize. April 17, 2018 Type Package Title Tidy Anomaly Detection Version 0.1.1 Package anomalize April 17, 2018 The 'anomalize' package enables a ``tidy'' workflow for detecting anomalies in data. The main functions are time_decompose(),

More information

Package mfa. R topics documented: July 11, 2018

Package mfa. R topics documented: July 11, 2018 Package mfa July 11, 2018 Title Bayesian hierarchical mixture of factor analyzers for modelling genomic bifurcations Version 1.2.0 MFA models genomic bifurcations using a Bayesian hierarchical mixture

More information

Package epitab. July 4, 2018

Package epitab. July 4, 2018 Type Package Package epitab July 4, 2018 Title Flexible Contingency Tables for Epidemiology Version 0.2.2 Author Stuart Lacy Maintainer Stuart Lacy Builds contingency tables that

More information

Package intccr. September 12, 2017

Package intccr. September 12, 2017 Type Package Package intccr September 12, 2017 Title Semiparametric Competing Risks Regression under Interval Censoring Version 0.2.0 Author Giorgos Bakoyannis , Jun Park

More information

Package TANDEM. R topics documented: June 15, Type Package

Package TANDEM. R topics documented: June 15, Type Package Type Package Package TANDEM June 15, 2017 Title A Two-Stage Approach to Maximize Interpretability of Drug Response Models Based on Multiple Molecular Data Types Version 1.0.2 Date 2017-04-07 Author Nanne

More information

Package beast. March 16, 2018

Package beast. March 16, 2018 Type Package Package beast March 16, 2018 Title Bayesian Estimation of Change-Points in the Slope of Multivariate Time-Series Version 1.1 Date 2018-03-16 Author Maintainer Assume that

More information

Package rereg. May 30, 2018

Package rereg. May 30, 2018 Title Recurrent Event Regression Version 1.1.4 Package rereg May 30, 2018 A collection of regression models for recurrent event process and failure time. Available methods include these from Xu et al.

More information

Package assertr. R topics documented: February 23, Type Package

Package assertr. R topics documented: February 23, Type Package Type Package Package assertr February 23, 2018 Title Assertive Programming for R Analysis Pipelines Version 2.5 Provides functionality to assert conditions that have to be met so that errors in data used

More information

Package logspline. February 3, 2016

Package logspline. February 3, 2016 Version 2.1.9 Date 2016-02-01 Title Logspline Density Estimation Routines Package logspline February 3, 2016 Author Charles Kooperberg Maintainer Charles Kooperberg

More information

Package vinereg. August 10, 2018

Package vinereg. August 10, 2018 Type Package Title D-Vine Quantile Regression Version 0.5.0 Package vinereg August 10, 2018 Maintainer Thomas Nagler Description Implements D-vine quantile regression models with parametric

More information

Package gppm. July 5, 2018

Package gppm. July 5, 2018 Version 0.2.0 Title Gaussian Process Panel Modeling Package gppm July 5, 2018 Provides an implementation of Gaussian process panel modeling (GPPM). GPPM is described in Karch (2016; )

More information

Package pcr. November 20, 2017

Package pcr. November 20, 2017 Version 1.1.0 Title Analyzing Real-Time Quantitative PCR Data Package pcr November 20, 2017 Calculates the amplification efficiency and curves from real-time quantitative PCR (Polymerase Chain Reaction)

More information

Package cattonum. R topics documented: May 2, Type Package Version Title Encode Categorical Features

Package cattonum. R topics documented: May 2, Type Package Version Title Encode Categorical Features Type Package Version 0.0.2 Title Encode Categorical Features Package cattonum May 2, 2018 Functions for dummy encoding, frequency encoding, label encoding, leave-one-out encoding, mean encoding, median

More information

Package robotstxt. November 12, 2017

Package robotstxt. November 12, 2017 Date 2017-11-12 Type Package Package robotstxt November 12, 2017 Title A 'robots.txt' Parser and 'Webbot'/'Spider'/'Crawler' Permissions Checker Version 0.5.2 Provides functions to download and parse 'robots.txt'

More information

Package gtrendsr. August 4, 2018

Package gtrendsr. August 4, 2018 Type Package Title Perform and Display Google Trends Queries Version 1.4.2 Date 2018-08-03 Package gtrendsr August 4, 2018 An interface for retrieving and displaying the information returned online by

More information

Package caretensemble

Package caretensemble Package caretensemble Type Package Title Ensembles of Caret Models Version 2.0.0 Date 2016-02-06 August 29, 2016 URL https://github.com/zachmayer/caretensemble BugReports https://github.com/zachmayer/caretensemble/issues

More information

Package bisect. April 16, 2018

Package bisect. April 16, 2018 Package bisect April 16, 2018 Title Estimating Cell Type Composition from Methylation Sequencing Data Version 0.9.0 Maintainer Eyal Fisher Author Eyal Fisher [aut, cre] An implementation

More information

Package coloc. February 24, 2018

Package coloc. February 24, 2018 Type Package Package coloc February 24, 2018 Imports ggplot2, snpstats, BMA, reshape, methods, flashclust, speedglm Suggests knitr, testthat Title Colocalisation Tests of Two Genetic Traits Version 3.1

More information

Package clusternomics

Package clusternomics Type Package Package clusternomics March 14, 2017 Title Integrative Clustering for Heterogeneous Biomedical Datasets Version 0.1.1 Author Evelina Gabasova Maintainer Evelina Gabasova

More information

Package gtrendsr. October 19, 2017

Package gtrendsr. October 19, 2017 Type Package Title Perform and Display Google Trends Queries Version 1.4.0 Date 2017-10-19 Package gtrendsr October 19, 2017 An interface for retrieving and displaying the information returned online by

More information

Package blandr. July 29, 2017

Package blandr. July 29, 2017 Title Bland-Altman Method Comparison Version 0.4.3 Package blandr July 29, 2017 Carries out Bland Altman analyses (also known as a Tukey mean-difference plot) as described by JM Bland and DG Altman in

More information

Package GLDreg. February 28, 2017

Package GLDreg. February 28, 2017 Type Package Package GLDreg February 28, 2017 Title Fit GLD Regression Model and GLD Quantile Regression Model to Empirical Data Version 1.0.7 Date 2017-03-15 Author Steve Su, with contributions from:

More information

Package BiocManager. November 13, 2018

Package BiocManager. November 13, 2018 Package BiocManager November 13, 2018 Title Access the Bioconductor Project Package Repository A convenient tool to install and update Bioconductor packages. Version 1.30.4 Depends R (>= 3.5.0) Imports

More information

Package docxtools. July 6, 2018

Package docxtools. July 6, 2018 Title Tools for R Markdown to Docx Documents Version 0.2.0 Language en-us Package docxtools July 6, 2018 A set of helper functions for using R Markdown to create documents in docx format, especially documents

More information

Package weco. May 4, 2018

Package weco. May 4, 2018 Package weco May 4, 2018 Title Western Electric Company Rules (WECO) for Shewhart Control Chart Version 1.2 Author Chenguang Wang [aut, cre], Lingmin Zeng [aut], Zheyu Wang [aut], Wei Zhao1 [aut], Harry

More information

Package RNAseqNet. May 16, 2017

Package RNAseqNet. May 16, 2017 Type Package Package RNAseqNet May 16, 2017 Title Log-Linear Poisson Graphical Model with Hot-Deck Multiple Imputation Version 0.1.1 Date 2017-05-16 Maintainer Nathalie Villa-Vialaneix

More information

Package WordR. September 7, 2017

Package WordR. September 7, 2017 Type Package Package WordR September 7, 2017 Title Rendering Word Documents with R Inline Code Version 0.2.2 Author Tomas Hovorka Maintainer Tomas Hovorka Serves for rendering

More information

Package ECctmc. May 1, 2018

Package ECctmc. May 1, 2018 Type Package Package ECctmc May 1, 2018 Title Simulation from Endpoint-Conditioned Continuous Time Markov Chains Version 0.2.5 Date 2018-04-30 URL https://github.com/fintzij/ecctmc BugReports https://github.com/fintzij/ecctmc/issues

More information

Package SSLASSO. August 28, 2018

Package SSLASSO. August 28, 2018 Package SSLASSO August 28, 2018 Version 1.2-1 Date 2018-08-28 Title The Spike-and-Slab LASSO Author Veronika Rockova [aut,cre], Gemma Moran [aut] Maintainer Gemma Moran Description

More information

Package frequencyconnectedness

Package frequencyconnectedness Type Package Package frequencyconnectedness September 24, 2018 Title Spectral Decomposition of Connectedness Measures Version 0.2.1 Date 2018-09-24 Accompanies a paper (Barunik, Krehlik (2018) )

More information

Package TVsMiss. April 5, 2018

Package TVsMiss. April 5, 2018 Type Package Title Variable Selection for Missing Data Version 0.1.1 Date 2018-04-05 Author Jiwei Zhao, Yang Yang, and Ning Yang Maintainer Yang Yang Package TVsMiss April 5, 2018

More information

Package sgmcmc. September 26, Type Package

Package sgmcmc. September 26, Type Package Type Package Package sgmcmc September 26, 2017 Title Stochastic Gradient Markov Chain Monte Carlo Version 0.2.0 Provides functions that performs popular stochastic gradient Markov chain Monte Carlo (SGMCMC)

More information

Package glmmml. R topics documented: March 25, Encoding UTF-8 Version Date Title Generalized Linear Models with Clustering

Package glmmml. R topics documented: March 25, Encoding UTF-8 Version Date Title Generalized Linear Models with Clustering Encoding UTF-8 Version 1.0.3 Date 2018-03-25 Title Generalized Linear Models with Clustering Package glmmml March 25, 2018 Binomial and Poisson regression for clustered data, fixed and random effects with

More information

Package edear. March 22, 2018

Package edear. March 22, 2018 Type Package Package edear March 22, 2018 Title Exploratory and Descriptive Event-Based Data Analysis Version 0.8.0 Date 2018-03-22 Exploratory and descriptive analysis of event based data. Provides methods

More information

Package PrivateLR. March 20, 2018

Package PrivateLR. March 20, 2018 Type Package Package PrivateLR March 20, 2018 Title Differentially Private Regularized Logistic Regression Version 1.2-22 Date 2018-03-19 Author Staal A. Vinterbo Maintainer Staal

More information

Package CGP. June 12, 2018

Package CGP. June 12, 2018 Package CGP June 12, 2018 Type Package Title Composite Gaussian Process Models Version 2.1-1 Date 2018-06-11 Author Shan Ba and V. Roshan Joseph Maintainer Shan Ba Fit composite Gaussian

More information

Package survivalmpl. December 11, 2017

Package survivalmpl. December 11, 2017 Package survivalmpl December 11, 2017 Title Penalised Maximum Likelihood for Survival Analysis Models Version 0.2 Date 2017-10-13 Author Dominique-Laurent Couturier, Jun Ma, Stephane Heritier, Maurizio

More information

Package texteffect. November 27, 2017

Package texteffect. November 27, 2017 Version 0.1 Date 2017-11-27 Package texteffect November 27, 2017 Title Discovering Latent Treatments in Text Corpora and Estimating Their Causal Effects Author Christian Fong

More information

Package lgarch. September 15, 2015

Package lgarch. September 15, 2015 Type Package Package lgarch September 15, 2015 Title Simulation and Estimation of Log-GARCH Models Version 0.6-2 Depends R (>= 2.15.0), zoo Date 2015-09-14 Author Genaro Sucarrat Maintainer Genaro Sucarrat

More information

Package ggimage. R topics documented: December 5, Title Use Image in 'ggplot2' Version 0.1.0

Package ggimage. R topics documented: December 5, Title Use Image in 'ggplot2' Version 0.1.0 Title Use Image in 'ggplot2' Version 0.1.0 Package ggimage December 5, 2017 Supports image files and graphic objects to be visualized in 'ggplot2' graphic system. Depends R (>= 3.3.0), ggplot2 Imports

More information

Package simr. April 30, 2018

Package simr. April 30, 2018 Type Package Package simr April 30, 2018 Title Power Analysis for Generalised Linear Mixed Models by Simulation Calculate power for generalised linear mixed models, using simulation. Designed to work with

More information

Package OsteoBioR. November 15, 2018

Package OsteoBioR. November 15, 2018 Version 0.1.1 Title Temporal Estimation of Isotopic s Package OsteoBioR November 15, 2018 Estimates the temporal changes of isotopic values of bone and teeth data solely based on the renewal rate of different

More information

Package catenary. May 4, 2018

Package catenary. May 4, 2018 Type Package Title Fits a Catenary to Given Points Version 1.1.2 Date 2018-05-04 Package catenary May 4, 2018 Gives methods to create a catenary object and then plot it and get properties of it. Can construct

More information

Package qualmap. R topics documented: September 12, Type Package

Package qualmap. R topics documented: September 12, Type Package Type Package Package qualmap September 12, 2018 Title Opinionated Approach for Digitizing Semi-Structured Qualitative GIS Data Version 0.1.1 Provides a set of functions for taking qualitative GIS data,

More information

Package MOST. November 9, 2017

Package MOST. November 9, 2017 Type Package Title Multiphase Optimization Strategy Version 0.1.0 Depends R (>= 2.15.0) Copyright The Pennsylvania State University Package MOST November 9, 2017 Description Provides functions similar

More information

Package BiDimRegression

Package BiDimRegression Version 2.0.0 Date 2018-05-09 Package BiDimRegression May 16, 2018 Title Calculates the Bidimensional Regression Between Two 2D Configurations Imports Formula, methods Depends R (>= 1.8.0) Calculates the

More information

Package mfbvar. December 28, Type Package Title Mixed-Frequency Bayesian VAR Models Version Date

Package mfbvar. December 28, Type Package Title Mixed-Frequency Bayesian VAR Models Version Date Type Package Title Mied-Frequency Bayesian VAR Models Version 0.4.0 Date 2018-12-17 Package mfbvar December 28, 2018 Estimation of mied-frequency Bayesian vector autoregressive (VAR) models with Minnesota

More information

Package ConvergenceClubs

Package ConvergenceClubs Title Finding Convergence Clubs Package ConvergenceClubs June 25, 2018 Functions for clustering regions that form convergence clubs, according to the definition of Phillips and Sul (2009) .

More information

Package cwm. R topics documented: February 19, 2015

Package cwm. R topics documented: February 19, 2015 Package cwm February 19, 2015 Type Package Title Cluster Weighted Models by EM algorithm Version 0.0.3 Date 2013-03-26 Author Giorgio Spedicato, Simona C. Minotti Depends R (>= 2.14), MASS Imports methods,

More information

Package geojsonsf. R topics documented: January 11, Type Package Title GeoJSON to Simple Feature Converter Version 1.3.

Package geojsonsf. R topics documented: January 11, Type Package Title GeoJSON to Simple Feature Converter Version 1.3. Type Package Title GeoJSON to Simple Feature Converter Version 1.3.0 Date 2019-01-11 Package geojsonsf January 11, 2019 Converts Between GeoJSON and simple feature objects. License GPL-3 Encoding UTF-8

More information

Package Bergm. R topics documented: September 25, Type Package

Package Bergm. R topics documented: September 25, Type Package Type Package Package Bergm September 25, 2018 Title Bayesian Exponential Random Graph Models Version 4.2.0 Date 2018-09-25 Author Alberto Caimo [aut, cre], Lampros Bouranis [aut], Robert Krause [aut] Nial

More information

Package rdd. March 14, 2016

Package rdd. March 14, 2016 Maintainer Drew Dimmery Author Drew Dimmery Version 0.57 License Apache License (== 2.0) Title Regression Discontinuity Estimation Package rdd March 14, 2016 Provides the tools to undertake

More information

Package manet. September 19, 2017

Package manet. September 19, 2017 Package manet September 19, 2017 Title Multiple Allocation Model for Actor-Event Networks Version 1.0 Mixture model with overlapping clusters for binary actor-event data. Parameters are estimated in a

More information

Package SparseFactorAnalysis

Package SparseFactorAnalysis Type Package Package SparseFactorAnalysis July 23, 2015 Title Scaling Count and Binary Data with Sparse Factor Analysis Version 1.0 Date 2015-07-20 Author Marc Ratkovic, In Song Kim, John Londregan, and

More information

Package lcc. November 16, 2018

Package lcc. November 16, 2018 Type Package Title Longitudinal Concordance Correlation Version 1.0 Author Thiago de Paula Oliveira [aut, cre], Rafael de Andrade Moral [aut], John Hinde [aut], Silvio Sandoval Zocchi [aut, ctb], Clarice

More information

Package darksky. September 20, 2017

Package darksky. September 20, 2017 Type Package Title Tools to Work with the 'Dark Sky' 'API' Version 1.3.0 Date 2017-09-20 Maintainer Bob Rudis Package darksky September 20, 2017 Provides programmatic access to the 'Dark Sky'

More information

Package TPD. June 14, 2018

Package TPD. June 14, 2018 Type Package Package TPD June 14, 2018 Title Methods for Measuring Functional Diversity Based on Trait Probability Density Version 1.0.0 Date 2018-06-13 Author Carlos P. Carmona

More information

Package GauPro. September 11, 2017

Package GauPro. September 11, 2017 Type Package Title Gaussian Process Fitting Version 0.2.2 Author Collin Erickson Package GauPro September 11, 2017 Maintainer Collin Erickson Fits a Gaussian process model to

More information

Package ggimage. R topics documented: November 1, Title Use Image in 'ggplot2' Version 0.0.7

Package ggimage. R topics documented: November 1, Title Use Image in 'ggplot2' Version 0.0.7 Title Use Image in 'ggplot2' Version 0.0.7 Package ggimage November 1, 2017 Supports image files and graphic objects to be visualized in 'ggplot2' graphic system. Depends R (>= 3.3.0), ggplot2 Imports

More information

Package PCADSC. April 19, 2017

Package PCADSC. April 19, 2017 Type Package Package PCADSC April 19, 2017 Title Tools for Principal Component Analysis-Based Data Structure Comparisons Version 0.8.0 A suite of non-parametric, visual tools for assessing differences

More information

Package condir. R topics documented: February 15, 2017

Package condir. R topics documented: February 15, 2017 Package condir February 15, 2017 Title Computation of P Values and Bayes Factors for Conditioning Data Version 0.1.1 Author Angelos-Miltiadis Krypotos Maintainer Angelos-Miltiadis

More information

Package fbroc. August 29, 2016

Package fbroc. August 29, 2016 Type Package Package fbroc August 29, 2016 Title Fast Algorithms to Bootstrap Receiver Operating Characteristics Curves Version 0.4.0 Date 2016-06-21 Implements a very fast C++ algorithm to quickly bootstrap

More information

Package esabcv. May 29, 2015

Package esabcv. May 29, 2015 Package esabcv May 29, 2015 Title Estimate Number of Latent Factors and Factor Matrix for Factor Analysis Version 1.2.1 These functions estimate the latent factors of a given matrix, no matter it is highdimensional

More information

Package nullabor. February 20, 2015

Package nullabor. February 20, 2015 Version 0.3.1 Package nullabor February 20, 2015 Tools for visual inference. Generate null data sets and null plots using permutation and simulation. Calculate distance metrics for a lineup, and examine

More information

Package complmrob. October 18, 2015

Package complmrob. October 18, 2015 Type Package Package complmrob October 18, 2015 Title Robust Linear Regression with Compositional Data as Covariates Version 0.6.1 Date 2015-10-17 Author David Kepplinger Maintainer

More information

Package listdtr. November 29, 2016

Package listdtr. November 29, 2016 Package listdtr November 29, 2016 Type Package Title List-Based Rules for Dynamic Treatment Regimes Version 1.0 Date 2016-11-20 Author Yichi Zhang Maintainer Yichi Zhang Construction

More information

Package gggenes. R topics documented: November 7, Title Draw Gene Arrow Maps in 'ggplot2' Version 0.3.2

Package gggenes. R topics documented: November 7, Title Draw Gene Arrow Maps in 'ggplot2' Version 0.3.2 Title Draw Gene Arrow Maps in 'ggplot2' Version 0.3.2 Package gggenes November 7, 2018 Provides a 'ggplot2' geom and helper functions for drawing gene arrow maps. Depends R (>= 3.3.0) Imports grid (>=

More information

Package spikes. September 22, 2016

Package spikes. September 22, 2016 Type Package Package spikes September 22, 2016 Title Detecting Election Fraud from Irregularities in Vote-Share Distributions Version 1.1 Depends R (>= 3.2.2), emdbook Date 2016-09-21 Author Arturas Rozenas

More information

Package MTLR. March 9, 2019

Package MTLR. March 9, 2019 Type Package Package MTLR March 9, 2019 Title Survival Prediction with Multi-Task Logistic Regression Version 0.2.0 Author Humza Haider Maintainer Humza Haider URL https://github.com/haiderstats/mtlr

More information

Package EBglmnet. January 30, 2016

Package EBglmnet. January 30, 2016 Type Package Package EBglmnet January 30, 2016 Title Empirical Bayesian Lasso and Elastic Net Methods for Generalized Linear Models Version 4.1 Date 2016-01-15 Author Anhui Huang, Dianting Liu Maintainer

More information

Package edfreader. R topics documented: May 21, 2017

Package edfreader. R topics documented: May 21, 2017 Type Package Title Reading EDF(+) and BDF(+) Files Version 1.1.2 Date 2017-05-13 Maintainer Jan Vis Package edfreader May 21, 2017 Description Reads European Data Format files EDF

More information

Package loggit. April 9, 2018

Package loggit. April 9, 2018 Title Effortless Exception Logging Package loggit April 9, 2018 A very simple and easy-to-use set of suspiciously-familiar functions. 'loggit' provides a set of wrappings for base R's message(), warning(),

More information

Package gains. September 12, 2017

Package gains. September 12, 2017 Package gains September 12, 2017 Version 1.2 Date 2017-09-08 Title Lift (Gains) Tables and Charts Author Craig A. Rolling Maintainer Craig A. Rolling Depends

More information

Package MatchIt. April 18, 2017

Package MatchIt. April 18, 2017 Version 3.0.1 Date 2017-04-18 Package MatchIt April 18, 2017 Title Nonparametric Preprocessing for Parametric Casual Inference Selects matched samples of the original treated and control groups with similar

More information

Package fastdummies. January 8, 2018

Package fastdummies. January 8, 2018 Type Package Package fastdummies January 8, 2018 Title Fast Creation of Dummy (Binary) Columns and Rows from Categorical Variables Version 1.0.0 Description Creates dummy columns from columns that have

More information

Package spark. July 21, 2017

Package spark. July 21, 2017 Title 'Sparklines' in the 'R' Terminal Version 2.0.0 Author Gábor Csárdi Package spark July 21, 2017 Maintainer Gábor Csárdi A 'sparkline' is a line chart, without axes and labels.

More information

Package panelview. April 24, 2018

Package panelview. April 24, 2018 Type Package Package panelview April 24, 2018 Title Visualizing Panel Data with Dichotomous Treatments Version 1.0.1 Date 2018-04-23 Author Licheng Liu, Yiqing Xu Maintainer Yiqing Xu

More information

Package omu. August 2, 2018

Package omu. August 2, 2018 Package omu August 2, 2018 Title A Metabolomics Analysis Tool for Intuitive Figures and Convenient Metadata Collection Version 1.0.2 Facilitates the creation of intuitive figures to describe metabolomics

More information

Package qicharts2. March 3, 2018

Package qicharts2. March 3, 2018 Title Quality Improvement Charts Version 0.4.0 Date 2018-03-03 Package qicharts2 March 3, 2018 Functions for making run charts, Shewhart control charts and Pareto charts for continuous quality improvement.

More information

R topics documented: 2 genbernoullidata

R topics documented: 2 genbernoullidata Type Package Package BayesCTDesign August 14, 2018 Title Two Arm Bayesian Clinical Trial Design with and Without Historical Control Data Version 0.5.0 Description A set of functions to help clinical trial

More information

Package io. January 15, 2018

Package io. January 15, 2018 Type Package Package io January 15, 2018 Title A Unified Framework for Input-Output Operations in R Version 0.3.0 Date 2018-01-15 Author David J. H. Shih Maintainer David J. H. Shih

More information