Class ImplicitModelPCA.Result
- java.lang.Object
-
- dev.nm.stat.factor.implicitmodelpca.ImplicitModelPCA.Result
-
- Enclosing class:
- ImplicitModelPCA
public static class ImplicitModelPCA.Result extends Object
the regression results
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Vector
b(int n)
Gets the factor loading for the n-th subject.Matrix
B()
Gets B, the factor loading matrix.Matrix
E()
Gets E, the residual matrix.Vector
e_t(int t)
Gets the residual of all subject at time t.Vector
f(int t)
Gets the factor values at time t.Matrix
F()
Gets F, the factor value matrix.Vector
R_bar()
Gets R_bar, the average of observations over time per subject.
-
-
-
Method Detail
-
R_bar
public Vector R_bar()
Gets R_bar, the average of observations over time per subject.- Returns:
- R_bar
-
B
public Matrix B()
Gets B, the factor loading matrix.- Returns:
- B
-
F
public Matrix F()
Gets F, the factor value matrix.- Returns:
- F
-
E
public Matrix E()
Gets E, the residual matrix.- Returns:
- E
-
b
public Vector b(int n)
Gets the factor loading for the n-th subject.- Parameters:
n
-- Returns:
- the factor loading for the n-th subject
-
f
public Vector f(int t)
Gets the factor values at time t.- Parameters:
t
- time starts counting from 1- Returns:
- the factor values at time t
-
e_t
public Vector e_t(int t)
Gets the residual of all subject at time t.- Parameters:
t
- time starts counting from 1- Returns:
- residual of all subject at time t
-
-