Description Usage Arguments Value
View source: R/pure_soda_par.R
S-SODA assumes within each slice the X vector follow multivariate normal distribution. This function estimates the mean vector and covariance matrix of X for each slice.
1 | s_soda_model(x, y, H = 10)
|
x |
The design matrix, of dimensions n * p, without an intercept. Each row is an observation vector. |
y |
The response vector of dimension n * 1. |
H |
The number of slices. |
int_h |
Slice index. |
int_p |
Proportion of samples in each slice. |
int_l |
Length of each slice (max - min response). |
int_m |
Mean vector of covariates in each slice. |
int_v |
Covariance matrix of covariates in each slice. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.