krm.score.test | R Documentation |
Adjusted score test for kernel-based regression models. This function is typically not used directly, but is called within krm.most().
krm.score.test(formula, data, K, regression.type=c("logistic","linear"), verbose=FALSE)
formula |
a formula object. Model under null. |
data |
a data frame |
K |
a n by n kernel/correlation matrix |
regression.type |
a string |
verbose |
Boolean |
dat=sim.liu.2008(n=100, a=0, seed=1) z=as.matrix(subset(dat, select=c(z.1,z.2,z.3,z.4,z.5))) rho=1 K=kyotil::getK(z,kernel="rbf",para=rho^-2) krm.score.test (y~x, dat, K, regression.type="logistic")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.