Description Usage Arguments Value References
View source: R/suffDimReduct2.R
This is similar to the gOLS function in the sSDR package, but slightly simplified in usage and better handling of ill-conditioned matrices. Note that the covariates in this method must be numeric, and not grouped dummy variable representing a factor.
1 |
X |
a model matrix (must be numeric, not categorical) |
Y |
the outcome variable (must be numeric, not categorical) |
idx |
group id labels |
ranks |
an indicator for each group whether the covariates of said group are active. |
an sdr object
Liu, Y., Chiaromonte, F. and Li, B. (2017) Structured Ordinary Least Squares: A Sufficient Dimension Reduction approach for regressions with partitioned predictors and heterogeneous units. Biom, 73: 529-539. doi:10.1111/biom.12579
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.