Group-lasso with overlapping groups

Perform a partial F-test

1 | ```
partialFtest(X, y, varToTest)
``` |

`X` |
design matrix of size n*p |

`y` |
response vector of length n |

`varToTest` |
vector containing the index of the column of X to test |

y = X * beta + epsilon

null hypothesis : beta[varToTest] = 0 alternative hypothesis : it exists an index k in varToTest such that beta[k] != 0

The test statistic is based on a full and a reduced model. full : y = X * beta + epsilon reduced : y = X * beta[-varToTest] + epsilon

a vector of the same length as varToTest containing the p-values of the test.

partialFtest

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.