- etahat
The fitted systematic component \(\eta\).
- muhat
The fitted mean value, obtained by transforming the systematic component \(\eta\) by the inverse of the link function.
- vcoefs
The estimated coefficients for the basis spanning the null space of the constraint set.
- xcoefs
The estimated coefficients for the edges corresponding to the smooth predictors with no shape constraint and shape-restricted predictors.
- zcoefs
The estimated coefficients for the parametrically modelled covariate, i.e., the estimation for the vector \(\beta\).
- ucoefs
The estimated coefficients for the edges corresponding to the predictors with an umbrella-ordering constraint.
- tcoefs
The estimated coefficients for the edges corresponding to the predictors with a tree-ordering constraint.
- coefs
The estimated coefficients for the basis spanning the null space of the constraint set and edges corresponding to the shape-restricted and order-restricted predictors.
- cic
The cone information criterion proposed in Meyer(2013a). It uses the "null expected degrees of freedom" as a measure of the complexity of the model. See Meyer(2013a) for further details of cic.
- d0
The dimension of the linear space contained in the cone generated by all constraint conditions.
- edf0
The estimated "null expected degrees of freedom". It is a measure of the complexity of the model. See Meyer (2013a) and Meyer (2013b) for further details.
- edf
The constrained effective degrees of freedom.
- etacomps
The fitted systematic component value for non-parametrically modelled predictors. It is a matrix of which each row is the fitted systematic component value for a non-parametrically modelled predictor. If there are more than one such predictors, the order of the rows is the same as the order that the user defines such predictors in the formula argument of cgam.
- y
The response variable.
- xmat_add
A matrix whose columns represent the shape-restricted predictors and smooth predictors with no shape constraint.
- zmat
A matrix whose columns represent the basis for the parametrically modelled covariate. The user can choose to include a constant vector in it or not. It must have full column rank.
- ztb
A list keeping track of the order of the parametrically modelled covariate.
- tr
A matrix whose columns represent the predictors with a tree-ordering constraint.
- umb
A matrix whose columns represent the predictors with an umbrella-ordering constraint.
- tree.delta
A matrix whose rows are the edges corresponding to the predictors with a tree-ordering constraint.
- umbrella.delta
A matrix whose rows are the edges corresponding to the predictors with an umbrella-ordering constraint.
- bigmat
A matrix whose rows are the basis spanning the null space of the constraint set and the edges corresponding to the shape-restricted and order-restricted predictors.
- shapes
A vector including the shape and partial-ordering constraints in a cgam fit.
- shapesx
A vector including the shape constraints in a cgam fit.
- prior.w
User-defined weights.
- wt
The weights in the final iteration of the iteratively re-weighted cone projections.
- wt.iter
Logical flag indicating if or not iteratively re-weighted cone projections may be used. If the response is gaussian, then wt.iter = FALSE; if the response is binomial or poisson, then wt.iter = TRUE.
- family
The family parameter defined in a cgam formula.
- SSE0
The sum of squared residuals for the linear part.
- SSE1
The sum of squared residuals for the full model.
- pvals.beta
The approximate p-values for the estimation of the vector \(\beta\). A t-distribution is used as the approximate distribution.
- se.beta
The standard errors for the estimation of the vector \(\beta\).
- null_df
The degree of freedom for the null model of a cgam fit, i.e., the model only containing a constant vector.
- df
The degree of freedom for the null space of a cgam fit.
- resid_df_obs
The observed degree of freedom for the residuals of a cgam fit.
- null_deviance
The deviance for the null model of a cgam fit, i.e., the model only containing a constant vector.
- deviance
The residual deviance of a cgam fit.
- tms
The terms objects extracted by the generic function terms from a cgam fit.
- capm
The number of edges corresponding to the shape-restricted predictors.
- capms
The number of edges corresponding to the smooth predictors with no shape constraint.
- capk
The number of non-constant columns of zmat.
- capt
The number of edges corresponding to the tree-ordering predictors.
- capu
The number of edges corresponding to the umbrella-ordering predictors.
- xid1
A vector keeping track of the beginning position of the set of edges in bigmat for each shape-restricted predictor and smooth predictor with no shape constraint in xmat.
- xid2
A vector keeping track of the end position of the set of edges in bigmat for each shape-restricted predictor and smooth predictor with no shape constraint in xmat.
- tid1
A vector keeping track of the beginning position of the set of edges in bigmat for each tree-ordering factor in tr.
- tid2
A vector keeping track of the end position of the set of edges in bigmat for each tree-ordering factor in tr.
- uid1
A vector keeping track of the beginning position of the set of edges in bigmat for each umbrella-ordering factor in umb.
- uid2
A vector keeping track of the end position of the set of edges in bigmat for each umbrella-ordering factor in umb.
- zid
A vector keeping track of the positions of the parametrically modelled covariate.
- vals
A vector storing the levels of each variable used as a factor.
- zid1
A vector keeping track of the beginning position of the levels of each variable used as a factor.
- zid2
A vector keeping track of the end position of the levels of each variable used as a factor.
- nsim
The number of simulations used to get the cic parameter.
- xnms
A vector storing the names of the shape-restricted predictors and the smooth predictors with no shape constraint in xmat.
- ynm
The name of the response variable.
- znms
A vector storing the names of the parametrically modelled covariate.
- is_param
A logical scalar showing if or not a variable is a parametrically modelled covariate, which could be a linear term or a factor.
- is_fac
A logical scalar showing if or not a variable is a factor.
- knots
A list storing the knots used for each shape-restricted predictor and smooth predictor with no shape constraint. For a smooth, constrained and a smooth, unconstrainted predictor, knots is a vector of more than \(1\) elements, and for a shape-restricted predictor without smoothing, knots = \(0\).
- numknots
A vector storing the number of knots for each shape-restricted predictor and smooth predictor with no shape constraint. For a smooth, constrained and a smooth, unconstrainted predictor, numknots > \(1\), and for a shape-restricted predictor without smoothing, numknots = \(0\).
- sps
A character vector storing the space parameter to create knots for each shape-restricted predictor.
- ms
The centering terms used to make edges for shape-restricted predictors.
- cpar
The cpar argument in the cgam formula
- vh
The estimated monotonic variance function.
- kts.var
The knots used in monotonic variance function estimation.
- call
The matched call.