assessBsFun {TOSI} | R Documentation |
Evaluate the model selection consistency rate (SCR), F-measure and the smallest canonical correlation and the larger values mean better peformance in model selection and parameter estimation.
assessBsFun(hB, B0)
hB |
a |
B0 |
a |
return a vecotor with three compoents whose names are scr,fmea, ccorB.
nothing
Liu Wei
dat <- gendata_Fac(n = 300, p = 500)
res <- gsspFactorm(dat$X)
assessBsFun(res$sphB, dat$B0)
n <- nrow(dat$X)
res <- gsspFactorm(dat$X, lambda1=0.05*n^(1/4), lambda2=9*n^(1/4))
assessBsFun(res$sphB, dat$B0)