# Statistical Models

These are the available functions for statistical models. See each function's help topic in the TERR Language Reference for more information.

Function name | Title description
--- | ---
`add.scope` | Resolve Scopes for Formulas
`add1` | Compute Models by Adding One Term
`add1.default` | Compute Models by Adding One Term
`AIC` | Akaike's Information Criterion
`anova` | Anova Tables
`anova.glm` | Analysis of Deviance for Generalized Linear Model Fits
`anova.glmlist` | Analysis of Deviance for Generalized Linear Model Fits
`aov` | Fit an Analysis of Variance Model
`ar` | Fit Autoregressive Models to Time Series
`ar.yw` | Fit Autoregressive Models to Time Series
`as.data.frame.array` | Construct a Data Frame Object from an S object
`as.data.frame.character` | Construct a Data Frame Object from an S object
`as.data.frame.complex` | Construct a Data Frame Object from an S object
`as.data.frame.data.frame` | Construct a Data Frame Object from an S object
`as.data.frame.Date` | Construct a Data Frame Object from an S object
`as.data.frame.default` | Construct a Data Frame Object from an S object
`as.data.frame.difftime` | Construct a Data Frame Object from an S object
`as.data.frame.factor` | Construct a Data Frame Object from an S object
`as.data.frame.integer` | Construct a Data Frame Object from an S object
`as.data.frame.list` | Construct a Data Frame Object from an S object
`as.data.frame.logical` | Construct a Data Frame Object from an S object
`as.data.frame.matrix` | Construct a Data Frame Object from an S object
`as.data.frame.model.matrix` | Construct a Data Frame Object from an S object
`as.data.frame.numeric` | Construct a Data Frame Object from an S object
`as.data.frame.ordered` | Construct a Data Frame Object from an S object
`as.data.frame.POSIXct` | Construct a Data Frame Object from an S object
`as.data.frame.POSIXlt` | Construct a Data Frame Object from an S object
`as.data.frame.raw` | Construct a Data Frame Object from an S object
`as.data.frame.table` | Construct a Data Frame Object from an S object
`as.data.frame.ts` | Construct a Data Frame Object from an S object
`as.data.frame.vector` | Construct a Data Frame Object from an S object
`as.terms` | Create or Extract a Terms Object
`as.vector.factor` | Coerce a Factor Object into a Vector of a Given Mode
`AsIs` | Inhibit Interpretation/Conversion of Objects
`asOneSidedFormula` | Convert to One-Sided Formula
`BIC` | Akaike's Information Criterion
`cmdscale` | Classical Metric Multi-Dimensional Scaling
`coef` | Extract Information from a Model
`coef.default` | Extract Information from a Model
`coef.listof` | Extract Information from a Model
`coefficients` | Extract Information from a Model
`confint` | Confidence Intervals for Model Parameters
`confint.default` | Confidence Intervals for Model Parameters
`drop.scope` | Resolve Scopes for Formulas
`drop1` | Investigate models by dropping single terms
`drop1.default` | Investigate models by dropping single terms
`drop1.glm` | Investigate models by dropping single terms
`drop1.lm` | Investigate models by dropping single terms
`dummy.coef` | Extract Original Coefficients from a Linear Model
`dummy.coef.aovlist` | Extract Original Coefficients from a Linear Model
`dummy.coef.lm` | Extract Original Coefficients from a Linear Model
`effects` | Single Degree-of-freedom Effects from a Fitted Model
`effects.glm` | Single Degree-of-freedom Effects from a Fitted Model
`effects.lm` | Single Degree-of-freedom Effects from a Fitted Model
`estVar` | SSD Matrix and Estimated Variance Matrix in Multivariate Models
`estVar.mlm` | SSD Matrix and Estimated Variance Matrix in Multivariate Models
`estVar.SSD` | SSD Matrix and Estimated Variance Matrix in Multivariate Models
`expand.model.frame` | Add New Variables to a Model Frame
`extractAIC` | Extract AIC from a Fitted Model
`extractAIC.glm` | Extract AIC from a Fitted Model
`extractAIC.lm` | Extract AIC from a Fitted Model
`factanal` | Estimate a Factor Analysis Model
`factor.scope` | Resolve Scopes for Formulas
`fitted` | Extract Information from a Model
`fitted.default` | Extract Information from a Model
`fitted.values` | Extract Information from a Model
`get_all_vars` | Construct or Extract a Model Frame
`getCall` | Update a Fitted Model Object
`glm` | Fit a Generalized Linear Model
`I` | Inhibit Interpretation/Conversion of Objects
`is.empty.model` | Does a Model Contain any Predictors
`lm` | Fit Linear Regression Model
`logLik` | Extract Log-Likelihood
`logLik.lm` | Extract Log-Likelihood
`logLik.nls` | Extract Log-Likelihood
`loglin` | Contingency Table Analysis
`lsfit` | Linear Least-Squares Fit
`make.link` | Create a Link for GLM Families
`makepredictcall` | Utility Function for Safe Prediction
`makepredictcall.default` | Utility Function for Safe Prediction
`makepredictcall.matrix` | Utility Function for Safe Prediction
`makepredictcall.poly` | Utility Function for Safe Prediction
`model.extract` | Extract Special Information from Model Frame
`model.frame` | Construct or Extract a Model Frame
`model.frame.aovlist` | Construct or Extract a Model Frame
`model.frame.default` | Construct or Extract a Model Frame
`model.frame.lm` | Construct or Extract a Model Frame
`model.matrix` | Matrix of Predictors
`model.matrix.default` | Matrix of Predictors
`model.matrix.object` | Matrix of Predictors
`model.offset` | Extract Special Information from Model Frame
`model.response` | Extract Special Information from Model Frame
`model.weights` | Extract Special Information from Model Frame
`nobs` | Extract the Number of Observations from a Fit
`nobs.default` | Extract the Number of Observations from a Fit
`nobs.glm` | Extract the Number of Observations from a Fit
`nobs.lm` | Extract the Number of Observations from a Fit
`nobs.nls` | Extract the Number of Observations from a Fit
`numericDeriv` | Evaluate derivatives numerically
`offset` | Set an Offset Value in a Modeling Formula
`power` | Generate a Power Link Object
`predict` | Make Predictions from a Fitted Model Object
`predict.ar` | Fit Autoregressive Models to Time Series
`predict.glm` | Predict Method for a Generalized Linear Model
`predict.lm` | Predict Method for a Linear Model
`predict.mlm` | Predict Method for a Linear Model
`predict.nls` | Predicting from Nonlinear Least Squares Fits
`princomp` | Principal Components Analysis
`princomp.default` | Principal Components Analysis
`princomp.formula` | Principal Components Analysis
`print.aov` | Fit an Analysis of Variance Model
`print.aovlist` | Fit an Analysis of Variance Model
`print.ar` | Fit Autoregressive Models to Time Series
`print.dummy_coef` | Extract Original Coefficients from a Linear Model
`print.dummy_coef_list` | Extract Original Coefficients from a Linear Model
`print.factanal` | Estimate a Factor Analysis Model
`print.logLik` | Extract Log-Likelihood
`relevel` | Reorder Levels of Factor
`relevel.default` | Reorder Levels of Factor
`relevel.factor` | Reorder Levels of Factor
`relevel.ordered` | Reorder Levels of Factor
`resid` | Extract Information from a Model
`residuals` | Extract Information from a Model
`residuals.default` | Extract Information from a Model
`residuals.glm` | Compute Residuals for glm Objects
`selfStart` | Construct Self-starting Nonlinear Models
`selfStart.default` | Construct Self-starting Nonlinear Models
`selfStart.formula` | Construct Self-starting Nonlinear Models
`sigma` | Extract Residual Standard Deviation
`SSasymp` | Asymptotic Regression Model
`SSasympOff` | Asymptotic Regression Model
`SSasympOrig` | Asymptotic Regression Model
`SSbiexp` | Biexponential Model: The Sum of Two Exponentials
`SSD` | SSD Matrix and Estimated Variance Matrix in Multivariate Models
`SSD.mlm` | SSD Matrix and Estimated Variance Matrix in Multivariate Models
`SSfol` | First-order Compartment Model
`SSfpl` | Four-parameter Logistic Model
`SSgompertz` | Self-Starting Nls Gompertz Growth Model
`SSlogis` | Fitting a Logistic Curve
`SSmicmen` | Michaelis-Menten Model
`SSweibull` | Self-Starting Nls Weibull Growth Curve Model
`stat.anova` | Add Statistics Columns to an Anova Table
`str.logLik` | Extract Log-Likelihood
`terms` | Create or Extract a Terms Object
`terms.aovlist` | Create or Extract a Terms Object
`terms.default` | Create or Extract a Terms Object
`terms.formula` | Create or Extract a Terms Object
`terms.terms` | Create or Extract a Terms Object
`update` | Update a Fitted Model Object
`update.default` | Update a Fitted Model Object
`update.formula` | Update a Fitted Model Object
`vcov` | Variance-Covariance Matrix of the Estimated Coefficients
`vcov.glm` | Variance-Covariance Matrix of the Estimated Coefficients
`vcov.lm` | Variance-Covariance Matrix of the Estimated Coefficients
`vcov.mlm` | Variance-Covariance Matrix of the Estimated Coefficients
`vcov.nls` | Variance-Covariance Matrix of the Estimated Coefficients
`vcov.summary.glm` | Variance-Covariance Matrix of the Estimated Coefficients
`vcov.summary.lm` | Variance-Covariance Matrix of the Estimated Coefficients