Description Usage Arguments Value See Also Examples
sir is a method used to fit sliced-inverse regression models
1 |
Y |
numerical vector of size n containing the response to predict. |
X |
numerical matrix of dimension n by p regressors |
H |
integer (by default 10) which set the number of slices |
K |
integer (by default 1) which set the number of component taken. Only 1 is possible right now. |
Ylabel |
a character value containing the name of the Y varaible |
An object with S3 class "sir" with the following components:
beta |
|
index |
|
H |
H parameter passed througth the function |
K |
K parameter passed througth the function |
hopt |
bandwidth value of the kernel tuned to smooth the points and predict new values.
For more explaination see |
Xlabels |
a character vector containing the p regessor names |
Ylabel |
a character value containing the response variable name |
x_train |
the training matrix X of dimension |
y_train |
the training response vector Y of length |
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.