steeptest(X, rep, names=NULL, option.console=FALSE)steeptest returns a list containing the following components:steeptest estimates statistical significance for steepness measures based on dyadic dominance index corrected for chance Dij. This procedure simulates a number of sociomatrices under a uniform distribution by means of callings to C routine steep, then computes steepness based on Dij. Specifically, it computes normalized David's scores based on Dij, see getNormDS for more details. Then it computes the steepness measure based on these indices, see getStp. After rep simulations the sampling distribution for the statistic (Stp) is estimated. Then statistical significance is computed as follows:
$p=NS+1/NOS+1$
Where NS is computed as:
getDij, getNormDSX <- matrix(c(0, 1, 2, 1, 0, 1, 3, 1, 0),nrow=3,byrow=TRUE)
rep <- 10000
names <- c("Ag1","Ag2","Ag3")Run the code above in your browser using DataLab