Set<String> covariateList = GeneralRegressionUtil.createCovariates( model );
Set<String> factorsList = GeneralRegressionUtil.createFactors( model );
RegressionTable regressionTable = GeneralRegressionUtil.createPPMatrix( model, parameterList, factorsList, covariateList );
LinkFunction linkFunction = LinkFunction.getFunction( model.getLinkFunction().value() );
GeneralRegressionSpec modelParam = new GeneralRegressionSpec( modelSchema, regressionTable, linkFunction );
return create( tail, modelSchema, new PredictionRegressionFunction( modelParam ) );
}