stats v3.4.3

The R Stats Package

R statistical functions.

Functions in stats

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


Priority base
License Part of R 3.4.3
NeedsCompilation yes

Include our badge in your README