Description Usage Arguments Value Examples
algorithmic leveraging for linear regression using uniform and leverage score based subsampling of rows
1 | algo_leverage(x, y, r, methods)
|
x |
independent variable |
y |
dependent variable |
r |
subsample size |
methods |
"UNIF", "BLEV" uniformly or proportionally(leverage scores) sample |
estimation of parameter beta in y=beta*x
1 2 3 4 | e = rnorm(500,0,1)
x = rt(500, df = 6)
y = -x+e
algo_leverage(x, y, r=10, methods="UNIF")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.