An R Introduction to Statistics

Elementary Statistics with R

Tutorials on elementary statistics with R.

Type II Error

  In hypothesis testing, a type II error is due to a failure of rejecting an invalid null hypothesis. The probability of avoiding a type II error is called the power of the hypothesis test, and is denoted by the quantity 1 - β .

Kurtosis

A tutorial on computing the kurtosis of an observation variable in statistics.

Skewness

A tutorial on computing the skewness of an observation variable in statistics.

Central Moment

A tutorial on computing the central moments of an observation variable in statistics.

Logistic Regression

fractal-12h We use the logistic regression equation to predict the probability of a dependent variable taking the dichotomy values 0 or 1. Suppose x1, x2, ..., xp are the independent variables, α and βk (k = 1, 2, ..., p) are the parameters, and E(y) is the expected value of the dependent variable y, then the logistic regression equation is:

                 ∑
E (y) = 1∕(1 +e- (α+  kβkxk))

Kruskal-Wallis Test

A tutorial of performing statistical analysis with the Kruskal-Wallis test.

Mann-Whitney-Wilcoxon Test

A tutorial of performing statistical analysis with the Mann-Whitney-Wilcoxon test.

Wilcoxon Signed-Rank Test

A tutorial of performing statistical analysis with the Wilcoxon signed-rank test.

Sign Test

A tutorial of performing statistical analysis with the sign test.

Non-parametric Methods

fractal-07h A statistical method is called non-parametric if it makes no assumption on the population distribution or sample size.

This is in contrast with most parametric methods in elementary statistics that assume the data is quantitative, the population has a normal distribution and the sample size is sufficiently large.