stats v3.4.1

The R Stats Package

R statistical functions.

Functions in stats

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

Details

Priority base
License Part of R 3.4.1
NeedsCompilation yes

Include our badge in your README

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