Translate

Saturday 26 November 2016

13 statistical functions In R Language

statistical functions

sum()
length()
min
max
min(a,b)
range()
range()[1]
range()[2]
Mean

It is calculated by taking the sum of the values and dividing with the number of values in a data series.

mean()
median()
The median is the value separating the higher half of a data sample, a population, or a probability distribution, from the lower half.
mad()
In statistics, the median absolute deviation (MAD) is a robust measure of the variability of a univariate sample of quantitative data. It can also refer to the population parameter that is estimated by the MAD calculated from a sample.
var()
Variance

The variance is a numerical measure of how the data values is dispersed around the mean. In particular, the sample variance is defined as:
sd()
In statistics, the standard deviation (SD, also represented by the Greek letter sigma σ or the Latin letter s) is a measure that is used to quantify the amount of variation or dispersion of a set of data values.[
corelation
a mutual relationship or connection between two or more things.
cor(,)
covariance is a measure of how much two random variables change together.
cov()
--------
table()
table() function uses the cross-classifying factors to build a contingency table of the counts at each combination of factor levels.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.