heter.QRank: Heterogeneity index for "QRank"

Description Usage Arguments Value See Also Examples

Description

Calculate the heterogeneity index of quantile regression coefficients at multiple quantile levels. It measures the variation of the quantile coefficients across quantile levels.

heterogeneity=log(sd(β)/abs(mean(β)))

where β is the vector of quantile regression coefficients at multiple quantile levels.

Usage

1
heter.QRank(object, newtaus=NULL)

Arguments

object

Object returned from "QRank"

newtaus

a vector of quantile levels based on which heterogeneity index are calculated. Default is NULL, in which case the quantile levels inherited from "QRank" will be used.

Value

heterogeneity index

one hetergeneity index

See Also

QRank

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
# continuted from "QRank"

taus=c( 0.25, 0.5, 0.75)
q = QRank(gene=y, snp=x, cov=z, tau=taus)  
heter.QRank(q) # default uses taus inherited from "QRank"
# - output
#Heterogeneity index:
#[1] 2.474184
heter.QRank(q,newtaus = 1:9/10) # calculate based on new taus values
# - output
#Heterogeneity index:
#[1] 2.69242


Search within the QRank package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.