public class FGMCopulaGLModel extends GeneralizedLinearModel
| Modifier and Type | Class and Description |
|---|---|
protected static class |
FGMCopulaGLModel.LikelihoodValue |
individualLLK, linkFunctionType, matrixX, ycompleteLLK| Constructor and Description |
|---|
FGMCopulaGLModel(GeneralizedLinearModel glm,
CopulaExpression copula)
Constructor for this class
|
| Modifier and Type | Method and Description |
|---|---|
protected CopulaExpression |
getCopula() |
HierarchicalStatisticalDataStructure |
getDataStructure()
This method returns the data structure.
|
protected HierarchicalStatisticalDataStructure |
getDataStructureFromDataSet(DataSet dataSet)
This method returns the appropriate StatisticalDataStructure from the dataSet.
|
Matrix |
getParameters() |
void |
getSummary()
This method returns the results of the fit on screen.
|
void |
gridSearch(int parameterName,
double start,
double end,
double step)
This method scans the log likelihood function within a range of values for a particular parameter.
|
protected void |
setCompleteLLK()
This method sets the log-likelihood function of the model.
|
void |
setParameters(Matrix beta) |
java.lang.String |
toString() |
getLinearPredictions, getLinkFunctionType, getPredicted, getResiduals, initializeLinkFunction, instantiateDefaultEstimator, setModelDefinitiondoEstimation, getCompleteLogLikelihood, getConvergenceCriterion, getEstimator, getModelDefinition, getOptimizerParameters, setConvergenceCriterion, setOptimizer, setOptimizerParameterspublic FGMCopulaGLModel(GeneralizedLinearModel glm, CopulaExpression copula) throws StatisticalDataException
glm - a GeneralizedLinearModel instancecopula - a CopulaExpression instanceStatisticalDataException - if the hierarchical level specification in the copula is not found in the data setpublic Matrix getParameters()
getParameters in interface StatisticalModel<HierarchicalStatisticalDataStructure>getParameters in class GeneralizedLinearModelpublic void setParameters(Matrix beta)
setParameters in interface StatisticalModel<HierarchicalStatisticalDataStructure>setParameters in class GeneralizedLinearModelpublic void gridSearch(int parameterName,
double start,
double end,
double step)
parameterName - the index of the parameterstart - the starting valueend - the ending valuestep - the step between these two values.protected void setCompleteLLK()
AbstractStatisticalModelsetCompleteLLK in class GeneralizedLinearModelpublic java.lang.String toString()
toString in class GeneralizedLinearModelpublic HierarchicalStatisticalDataStructure getDataStructure()
StatisticalModelgetDataStructure in interface StatisticalModel<HierarchicalStatisticalDataStructure>getDataStructure in class AbstractStatisticalModel<HierarchicalStatisticalDataStructure>public void getSummary()
StatisticalModelgetSummary in interface StatisticalModel<HierarchicalStatisticalDataStructure>getSummary in class AbstractStatisticalModel<HierarchicalStatisticalDataStructure>protected CopulaExpression getCopula()
protected HierarchicalStatisticalDataStructure getDataStructureFromDataSet(DataSet dataSet)
AbstractStatisticalModelgetDataStructureFromDataSet in class GeneralizedLinearModeldataSet - a DataSet instance