compcorr: Compare two correlation coefficients

Description Usage Arguments Value Author(s) References Examples

Description

Compare two correlation coefficients using Fisher's Z-transformation

Usage

1
compcorr(n1, r1, n2, r2)

Arguments

n1

sample size under condition 1

r1

correlation coefficient under condition 1

n2

sample size under condition 2

r2

correlation coefficient under condition 1

Value

list of result (diff and p-value)

Author(s)

Atsushi Fukushima

References

http://www.fon.hum.uva.nl/Service/Statistics/Two_Correlations.html http://support.sas.com/ctx/samples/index.jsp?sid=494 http://support.sas.com/ctx/samples/index.jsp?sid=494

Examples

1
compcorr(10, 0.1, 10, 0.9)

Example output

Loading required package: pcaMethods
Loading required package: Biobase
Loading required package: BiocGenerics
Loading required package: parallel

Attaching package:BiocGenericsThe following objects are masked frompackage:parallel:

    clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
    clusterExport, clusterMap, parApply, parCapply, parLapply,
    parLapplyLB, parRapply, parSapply, parSapplyLB

The following objects are masked frompackage:stats:

    IQR, mad, sd, var, xtabs

The following objects are masked frompackage:base:

    anyDuplicated, append, as.data.frame, basename, cbind, colnames,
    dirname, do.call, duplicated, eval, evalq, Filter, Find, get, grep,
    grepl, intersect, is.unsorted, lapply, Map, mapply, match, mget,
    order, paste, pmax, pmax.int, pmin, pmin.int, Position, rank,
    rbind, Reduce, rownames, sapply, setdiff, sort, table, tapply,
    union, unique, unsplit, which.max, which.min

Welcome to Bioconductor

    Vignettes contain introductory material; view with
    'browseVignettes()'. To cite Bioconductor, see
    'citation("Biobase")', and for packages 'citation("pkgname")'.


Attaching package:pcaMethodsThe following object is masked frompackage:stats:

    loadings

Loading required package: igraph

Attaching package:igraphThe following objects are masked frompackage:BiocGenerics:

    normalize, path, union

The following objects are masked frompackage:stats:

    decompose, spectrum

The following object is masked frompackage:base:

    union

Loading required package: fdrtool
Loading required package: multtest
$diff
[1] -2.56656

$pval
[1] 0.01027128

DiffCorr documentation built on May 2, 2019, 3:46 p.m.