bootSummary {generalCorr} | R Documentation |
Compute usual summary stats of 'sum' indexes from bootPairs output
Description
Begin with the output of bootPairs function, a (n999 by p-1) matrix when
there are p columns of data, bootSummary
produces a (6 by p-1) mtx
of summary of bootstrap ouput (Min, 1st Qu,Median, Mean, 3rd Qi.,Max)
Usage
bootSummary(out, per100 = TRUE)
Arguments
out |
output from bootPairs with p-1 columns and n999 rows in input here |
per100 |
logical (default per100=TRUE) to change the range of 'sum' to [-100, 100] values which are easier to interpret |
Value
summ summary output from the (n999 by p-1) matrix
output of bootPairs(mtx)
each containing resampled ‘sum’ values summarizing the weighted sums
associated with all three criteria from the
function silentPairs(mtx)
applied to each bootstrap sample separately.
Author(s)
Prof. H. D. Vinod, Economics Dept., Fordham University, NY
References
Vinod, H. D. 'Generalized Correlation and Kernel Causality with Applications in Development Economics' in Communications in Statistics -Simulation and Computation, 2015, doi:10.1080/03610918.2015.1122048
Vinod, H. D. and Lopez-de-Lacalle, J. (2009). 'Maximum entropy bootstrap for time series: The meboot R package.' Journal of Statistical Software, Vol. 29(5), pp. 1-19.
Vinod, H. D. Causal Paths and Exogeneity Tests in Generalcorr Package for Air Pollution and Monetary Policy (June 6, 2017). Available at SSRN: https://www.ssrn.com/abstract=2982128
See Also
See Also silentPairs
.
Examples
## Not run:
options(np.messages = FALSE)
set.seed(34);x=sample(1:10);y=sample(2:11)
bb=bootPairs(cbind(x,y),n999=29)
bootSummary(bb) #gives summary stats for n999 bootstrap sum computations
bb=bootPairs(airquality,n999=999);options(np.messages=FALSE)
bootSummary(bb)#signs for n999 bootstrap sum computations
data('EuroCrime')
attach(EuroCrime)
bb=bootPairs(cbind(crim,off),n999=29) #col.1= crim causes off
#hence positive signs are more intuitively meaningful.
#note that n999=29 is too small for real problems, chosen for quickness here.
bootSummary(bb)#signs for n999 bootstrap sum computations
## End(Not run)