R/tst.R

Defines functions tst

# functions for the test statistic
tst <- function(x, pert){
  return(sum(x * pert)**2/(sum(x**2)))
}
crsgls/rcpm documentation built on Sept. 28, 2024, 11:38 a.m.