
Last chance! 50% off unlimited learning
Sale ends in
beta.mod(target, dataset, wei = NULL, xnew= NULL)
beta.reg(target, dataset, wei = NULL)
beta.regs, testIndBeta, reg.fit, ridge.reg
y <- rbeta(500, 3, 5)
x <- matrix( rnorm(500 * 2), ncol = 2)
a1 <- beta.mod(y, x)
w <- runif(500)
a2 <- beta.mod(y, x, w)
Run the code above in your browser using DataLab