| pvalue {MSCMT} | R Documentation | 
P-values for placebo studies
Description
pvalue calculates p-values for placebo studies.
Usage
pvalue(
  x,
  what,
  range.pre,
  range.post,
  alternative = c("two.sided", "less", "greater"),
  exclude.ratio = Inf,
  ratio.type = c("rmspe", "mspe")
)
Arguments
| x | An object of class  | 
| what | A character vector. Name of the variable to be considered. If missing, the (first) dependent variable will be used. | 
| range.pre | A vector of length 2 defining the range of the pre-treatment period with start and end time given as 
 corresponding to the format of the respective column of the  | 
| range.post | A vector of length 2 defining the range of the post-treatment period with start and end time given as 
 corresponding to the format of the respective column of the  | 
| alternative | A character string giving the alternative of the test. 
Either  | 
| exclude.ratio | A numerical scalar (default:  | 
| ratio.type | A character string. Either  | 
Details
pvalue calculates p-values for placebo studies based
on Synthetic Control Methods.
Value
A time series containing the p-values for the post-treatment periods.
Examples
## Not run: 
## for an example, see the main package vignette:
 vignette("WorkingWithMSCMT",package="MSCMT")
## End(Not run)