public interface StatisticalDataStructure
Modifier and Type | Method and Description |
---|---|
void |
constructMatrices(java.lang.String modelDefinition)
This method builds the matrices that are required to fit the model.
|
DataSet |
getDataSet()
This method returns the DataSet instance behind the StatisticalDataStructure.
|
Matrix |
getMatrixX()
Return the design matrix of the fixed effects.
|
int |
getNumberOfObservations()
Returns the number of observations in the data structure.
|
Matrix |
getVectorY()
Return the vector of response variables.
|
boolean |
isInterceptModel()
This method returns true if the model has an intercept or false otherwise.
|
void |
setInterceptModel(boolean isInterceptModel)
This method determines whether the model has an intercept
|
int getNumberOfObservations()
void constructMatrices(java.lang.String modelDefinition) throws StatisticalDataException
modelDefinition
- the definition of the model that serves to design the matricesStatisticalDataException
Matrix getMatrixX()
Matrix getVectorY()
boolean isInterceptModel()
void setInterceptModel(boolean isInterceptModel)
isInterceptModel
- true if the model has an intercept or false otherwiseDataSet getDataSet()