| plot.matchedwake | R Documentation |
matchedwake
Overloads the default plot() for objects of class matchedwake. Returns a contour plot: The lighter the color the larger the estimated treatment effect. The corresponding standard errors are indicated by shading out some of the estimates: No shading corresponds to p<alpha1 for the treatment effect in the diff-in-diffs analysis. Dotted lines indicate p-values between alpha1 and alpha2 and full lines indicate p>alpha2. The cells indicating effect size and significance level are arranged in a table where each field corresponds to one specific combination of spatial and temporal sizes.
## S3 method for class 'matchedwake'
plot(x, zlim = NA, plotNAs = TRUE, adjust = "none", ...)
x |
object of class |
zlim |
Manually sets the range of the color map of the contour plot, required format is c(MINIMUM,MAXIMUM). |
plotNAs |
Boolean indicating whether or not to visualize NA estimates as “no effect” (i.e. 0). |
adjust |
Select p-value adjustment method for multiple testing, |
... |
further arguments passed to or from other methods. |
The argument adjust allows to adjust p-values for multiple comparisons implementing the functionality of the p.adjust function of package stats. Given the nature of individual statistical estimation per unique combination of spatial and temporal windows, results might be vulnerable to multiple inference problems that require correction. Users can use any of the different corrections implemented in p.adjust, depending on which they think is most appropriate for their application at hand. By default no correction is applied.
Sebastian Schutte and Karsten Donnay.
Schutte, S., Donnay, K. (2014). “Matched wake analysis: Finding causal relationships in spatiotemporal event data.” Political Geography 41:1-10.
matchedwake
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.