Thanks to visit codestin.com
Credit goes to github.com

Skip to content

guhjy/sensemakr

 
 

Repository files navigation

Travis-CI Build Status

sensemakr

The goal of sensemakr is to make a simple sensitivity (to confounding) analysis widely accessible. The package defines a custom 'sensemakr' class that enables plot, summary, and print methods so that the user can make sense of unobserved confounding.

Installation

You can install sensemakr from github with:

# install.packages("devtools")
devtools::install_github("chadhazlett/sensemakr")

The accompanying vignette can be viewed here.

Additionally, if you want to install the companion vignette inside R, use the below command instead:

devtools::install_github("chadhazlett/sensemakr",build_vignettes = TRUE,force=TRUE)
vignette('sensemakr')

Example

Below is a basic example of the functionality in the sensemakr package

library(sensemakr)
lm.out  = lm(peacefactor ~ directlyharmed + age + female + village, data = darfur)
sense.out = sensemakr(model=lm.out, treatment="directlyharmed")
plot(sense.out, showvars = list("age","female"))

About

Sensitivity Analysis

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%