stats v3.2.1

The R Stats Package

R statistical functions.

Functions in stats

Name Description
anova Anova Tables
anova.lm ANOVA for Linear Model Fits
acf Auto- and Cross- Covariance and -Correlation Function Estimation
AIC Akaike's An Information Criterion
anova.glm Analysis of Deviance for Generalized Linear Model Fits
alias Find Aliases (Dependencies) in a Model
acf2AR Compute an AR Process Exactly Fitting an ACF
add1 Add or Drop All Possible Single Terms to a Model
aggregate Compute Summary Statistics of Data Subsets
addmargins Puts Arbitrary Margins on Multidimensional Tables or Arrays
arima.sim Simulate from an ARIMA Model
ar Fit Autoregressive Models to Time Series
aov Fit an Analysis of Variance Model
ansari.test Ansari-Bradley Test
approxfun Interpolation Functions
arima ARIMA Modelling of Time Series
arima0 ARIMA Modelling of Time Series -- Preliminary Version
ARMAacf Compute Theoretical ACF for an ARMA Process
ar.ols Fit Autoregressive Models to Time Series by OLS
anova.mlm Comparisons between Multivariate Linear Models
ARMAtoMA Convert ARMA Process to Infinite MA Process
ave Group Averages Over Level Combinations of Factors
bartlett.test Bartlett Test of Homogeneity of Variances
binom.test Exact Binomial Test
bandwidth Bandwidth Selectors for Kernel Density Estimation
as.hclust Convert Objects to Class hclust
asOneSidedFormula Convert to One-Sided Formula
biplot Biplot of Multivariate Data
Binomial The Binomial Distribution
Beta The Beta Distribution
birthday Probability of coincidences
.checkMFClasses Functions to Check the Type of Variables passed to Model Frames
Box.test Box-Pierce and Ljung-Box Tests
Cauchy The Cauchy Distribution
cancor Canonical Correlations
biplot.princomp Biplot for Principal Components
Chisquare The (non-central) Chi-Squared Distribution
chisq.test Pearson's Chi-squared Test for Count Data
case+variable.names Case and Variable Names of Fitted Models
cmdscale Classical (Metric) Multidimensional Scaling
confint Confidence Intervals for Model Parameters
coef Extract Model Coefficients
constrOptim Linearly Constrained Optimization
cor Correlation, Variance and Covariance (Matrices)
cophenetic Cophenetic Distances for a Hierarchical Clustering
convolve Convolution of Sequences via FFT
complete.cases Find Complete Cases
cor.test Test for Association/Correlation Between Paired Samples
contrast (Possibly Sparse) Contrast Matrices
contrasts Get and Set Contrast Matrices
deviance Model Deviance
deriv Symbolic and Algorithmic Derivatives of Simple Expressions
density Kernel Density Estimation
decompose Classical Seasonal Decomposition by Moving Averages
cutree Cut a Tree into Groups of Data
cov.wt Weighted Covariance Matrices
delete.response Modify Terms Objects
dendrapply Apply a Function to All Nodes of a Dendrogram
df.residual Residual Degrees-of-Freedom
cpgram Plot Cumulative Periodogram
effects Effects from Fitted Model
fligner.test Fligner-Killeen Test of Homogeneity of Variances
embed Embedding a Time Series
Distributions Distributions in the stats package
formula Model Formulae
fivenum Tukey Five-Number Summaries
fitted Extract Model Fitted Values
dummy.coef Extract Coefficients in Original Coding
ecdf Empirical Cumulative Distribution Function
eff.aovlist Compute Efficiencies of Multistratum Analysis of Variance
ftable.formula Formula Notation for Flat Contingency Tables
ftable Flat Contingency Tables
filter Linear Filtering on a Time Series
diffinv Discrete Integration: Inverse of Differencing
dist Distance Matrix Computation
formula.nls Extract Model Formula from nls Object
fisher.test Fisher's Exact Test for Count Data
FDist The F Distribution
friedman.test Friedman Rank Sum Test
fft Fast Discrete Fourier Transform (FFT)
glm Fitting Generalized Linear Models
Hypergeometric The Hypergeometric Distribution
HoltWinters Holt-Winters Filtering
glm.summaries Accessing Generalized Linear Model Fits
kmeans K-Means Clustering
getInitial Get Initial Parameter Estimates
kruskal.test Kruskal-Wallis Rank Sum Test
IQR The Interquartile Range
glm.control Auxiliary for Controlling GLM Fitting
is.empty.model Test if a Model's Formula is Empty
isoreg Isotonic / Monotone Regression
KalmanLike Kalman Filtering
hclust Hierarchical Clustering
medpolish Median Polish of a Matrix
median Median Value
ks.test Kolmogorov-Smirnov Tests
heatmap Draw a Heat Map
lm.summaries Accessing Linear Model Fits
ksmooth Kernel Regression Smoother
lm.fit Fitter Functions for Linear Models
lm.influence Regression Diagnostics
lm Fitting Linear Models
ls.print Print lsfit Regression Results
ls.diag Compute Diagnostics for lsfit Regression Results
naprint Adjust for Missing Values
mantelhaen.test Cochran-Mantel-Haenszel Chi-Squared Test for Count Data
manova Multivariate Analysis of Variance
nls.control Control the Iterations in nls
NegBinomial The Negative Binomial Distribution
NLSstAsymptotic Fit the Asymptotic Regression Model
order.dendrogram Ordering or Labels of the Leaves in a Dendrogram
power.t.test Power calculations for one and two sample t tests
power.prop.test Power Calculations for Two-Sample Test for Proportions
p.adjust Adjust P-values for Multiple Comparisons
predict.HoltWinters Prediction Function for Fitted Holt-Winters Models
predict Model Predictions
lag.plot Time Series Lag Plots
lag Lag a Time Series
loadings Print Loadings in Factor Analysis
loess.control Set Parameters for Loess
make.link Create a Link for GLM Families
mood.test Mood Two-Sample Test of Scale
makepredictcall Utility Function for Safe Prediction
Multinom The Multinomial Distribution
na.fail Handle Missing Values in Objects
plot.density Plot Method for Kernel Density Estimation
plot.acf Plot Autocovariance and Autocorrelation Functions
naresid Adjust for Missing Values
plot.spec Plotting Spectral Densities
plot.profile.nls Plot a profile.nls Object
expand.model.frame Add new variables to a model frame
factor.scope Compute Allowed Changes in Adding to or Dropping from a Formula
family Family Objects for Models
extractAIC Extract AIC from a Fitted Model
Geometric The Geometric Distribution
GammaDist The Gamma Distribution
line Robust Line Fitting
interaction.plot Two-way Interaction Plot
integrate Integration of One-Dimensional Functions
listof A Class for Lists of (Parts of) Model Fits
identify.hclust Identify Clusters in a Dendrogram
kernapply Apply Smoothing Kernel
influence.measures Regression Deletion Diagnostics
logLik Extract Log-Likelihood
Logistic The Logistic Distribution
loess Local Polynomial Regression Fitting
kernel Smoothing Kernel Objects
mahalanobis Mahalanobis Distance
lsfit Find the Least Squares Fit
mauchly.test Mauchly's Test of Sphericity
mcnemar.test McNemar's Chi-squared Test for Count Data
NLSstClosestX Inverse Interpolation
NLSstLfAsymptote Horizontal Asymptote on the Left Side
plot.ts Plotting Time-Series Objects
plot.stepfun Plot Step Functions
PP.test Phillips-Perron Test for Unit Roots
loglin Fitting Log-Linear Models
ppoints Ordinates for Probability Plotting
model.extract Extract Components from a Model Frame
model.matrix Construct Design Matrices
nextn Highly Composite Numbers
nlm Non-Linear Minimization
model.tables Compute Tables of Results from an Aov Model Fit
Lognormal The Log Normal Distribution
lowess Scatter Plot Smoothing
Normal The Normal Distribution
na.contiguous Find Longest Contiguous Stretch of non-NAs
na.action NA Action
monthplot Plot a Seasonal or other Subseries from a Time Series
NLSstRtAsymptote Horizontal Asymptote on the Right Side
offset Include an Offset in a Model Formula
oneway.test Test for Equal Means in a One-Way Layout
pairwise.table Tabulate p values for pairwise comparisons
plot.lm Plot Diagnostics for an lm Object
plot.ppr Plot Ridge Functions for Projection Pursuit Regression Fit
pairwise.wilcox.test Pairwise Wilcoxon Rank Sum Tests
nobs Extract the Number of Observations from a Fit.
plot.HoltWinters Plot function for HoltWinters objects
pairwise.prop.test Pairwise comparisons for proportions
pairwise.t.test Pairwise t tests
plot.isoreg Plot Method for isoreg Objects
predict.Arima Forecast from ARIMA fits
predict.glm Predict Method for GLM Fits
predict.lm Predict method for Linear Model Fits
prop.test Test of Equal or Given Proportions
predict.loess Predict Loess Curve or Surface
ppr Projection Pursuit Regression
prcomp Principal Components Analysis
predict.nls Predicting from Nonlinear Least Squares Fits
predict.smooth.spline Predict from Smoothing Spline Fit
shapiro.test Shapiro-Wilk Normality Test
SignRank Distribution of the Wilcoxon Signed Rank Statistic
spec.taper Taper a Time Series by a Cosine Bell
profile Generic Function for Profiling Models
printCoefmat Print Coefficient Matrices
runmed Running Medians -- Robust Scatter Plot Smoothing
rWishart Random Wishart Distributed Matrices
scatter.smooth Scatter Plot with Smooth Curve Fitted by Loess
smoothEnds End Points Smoothing (for Running Medians)
screeplot Screeplots
sortedXyData Create a sortedXyData Object
SSbiexp Self-Starting Nls Biexponential model
SSD SSD Matrix and Estimated Variance Matrix in Multivariate Models
prop.trend.test Test for trend in proportions
residuals Extract Model Residuals
reshape Reshape Grouped Data
smooth Tukey's (Running Median) Smoothing
smooth.spline Fit a Smoothing Spline
splinefun Interpolating Splines
SSasymp Self-Starting Nls Asymptotic Regression Model
SSfol Self-Starting Nls First-order Compartment Model
SSfpl Self-Starting Nls Four-Parameter Logistic Model
numericDeriv Evaluate Derivatives Numerically
stats-package The R Stats Package
optim General-purpose Optimization
optimize One Dimensional Optimization
Poisson The Poisson Distribution
power Create a Power Link Object
power.anova.test Power Calculations for Balanced One-Way Analysis of Variance Tests
poisson.test Exact Poisson tests
print.power.htest Print Methods for Hypothesis Tests and Power Calculation Objects
profile.nls Method for Profiling nls Objects
print.ts Printing and Formatting of Time-Series Objects
preplot Pre-computations for a Plotting Object
princomp Principal Components Analysis
quantile Sample Quantiles
r2dtable Random 2-way Tables with Given Marginals
reorder.default Reorder Levels of a Factor
sd Standard Deviation
replications Number of Replications of Terms
se.contrast Standard Errors for Contrasts in Model Terms
spec.ar Estimate Spectral Density of a Time Series from AR Fit
spec.pgram Estimate Spectral Density of a Time Series by a Smoothed Periodogram
proj Projections of Models
read.ftable Manipulate Flat Contingency Tables
rect.hclust Draw Rectangles Around Hierarchical Clusters
selfStart Construct Self-starting Nonlinear Models
setNames Set the Names in an Object
SSasympOff Self-Starting Nls Asymptotic Regression Model with an Offset
SSasympOrig Self-Starting Nls Asymptotic Regression Model through the Origin
termplot Plot Regression Terms
terms.formula Construct a terms Object from a Formula
stlmethods Methods for STL Objects
ts.plot Plot Multiple Time Series
StructTS Fit Structural Time Series
supsmu Friedman's SuperSmoother
terms Model Terms
symnum Symbolic Number Coding
terms.object Description of Terms Objects
update Update and Re-fit a Model Call
weighted.residuals Compute Weighted Residuals
var.test F Test to Compare Two Variances
start Encode the Terminal Times of Time Series
weights Extract Model Weights
stat.anova GLM Anova Statistics
stepfun Step Functions - Creation and Class
stl Seasonal Decomposition of Time Series by Loess
t.test Student's t-Test
TDist The Student t Distribution
TukeyHSD Compute Tukey Honest Significant Differences
step Choose a model by AIC in a Stepwise Algorithm
Uniform The Uniform Distribution
tsdiag Diagnostic Plots for Time-Series Fits
summary.nls Summarizing Non-Linear Least-Squares Model Fits
summary.princomp Summary method for Principal Components Analysis
tsp Tsp Attribute of Time-Series-like Objects
varimax Rotation Methods for Factor Analysis
qqnorm Quantile-Quantile Plots
vcov Calculate Variance-Covariance Matrix for a Fitted Model Object
quade.test Quade Test
relevel Reorder Levels of Factor
reorder.dendrogram Reorder a Dendrogram
SSgompertz Self-Starting Nls Gompertz Growth Model
summary.aov Summarize an Analysis of Variance Model
SSlogis Self-Starting Nls Logistic Model
summary.glm Summarizing Generalized Linear Model Fits
summary.lm Summarizing Linear Model Fits
summary.manova Summary Method for Multivariate Analysis of Variance
time Sampling Times of Time Series
toeplitz Form Symmetric Toeplitz Matrix
Tukey The Studentized Range Distribution
tsSmooth Use Fixed-Interval Smoothing on Time Series
window Time Windows
spectrum Spectral Density Estimation
C Sets Contrasts for a Factor
SSmicmen Self-Starting Nls Michaelis-Menten Model
SSweibull Self-Starting Nls Weibull Growth Curve Model
stats-defunct Defunct Functions in Package stats
stats-deprecated Deprecated Functions in Package stats
ts-methods Methods for Time Series Objects
ts Time-Series Objects
uniroot One Dimensional Root (Zero) Finding
update.formula Model Updating
Weibull The Weibull Distribution
wilcox.test Wilcoxon Rank Sum and Signed Rank Tests
ts.union Bind Two or More Time Series
Wilcoxon Distribution of the Wilcoxon Rank Sum Statistic
weighted.mean Weighted Arithmetic Mean
No Results!

Details

Priority base
License Part of R 3.2.1

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/stats)](http://www.rdocumentation.org/packages/stats)