oos_partial | R Documentation |
Uses tef_rlm_boot()
to get out-of-sample variance explained as well as bootstrapped p values.
The latter is two times the proportion of the bootstrapped distribution is on the opposite side of
zero than the median coefficient.
oos_partial(xvars, partialvars = c(), data, nBoots = 200)
xvars |
Vector of variable names, with which to estimate bivariate relations. |
partialvars |
If a vector of variable names are provided, then the lower triangle of the output is the out-of-sample variance explained when controlling for the variables in |
data |
Data to use |
nBoots |
Number of resamples |
Returns a list with two matrices: The first reports the bivariate out-of-sample variance explained (upper triangle) and partial out-of-sample variance explained (lower triangle). The second reports the pseudo-p-values, as described above.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.