Chapter 11 Statistic

11.1 Mean

11.2 Median

11.3 Standard Deviations

11.4 Variance

11.5 P-Value

11.6 T-Test

11.7 Anova test

11.8 GGplot2

GGplot 2 is an open-source data visualization package for the statistical programming language R that provides helpful commands to create complex plots from data in a data frame.

  • Aesthetic specifications “aes()” This vignette summarises the various formats that grid drawing functions take.

can be specified by using a “name” (e.g. red), a rgb specification with a string of the form “#RRGGBB”; NA, for a completely transparent colour.

can be chosen by using one of the following integer or name: 0 = blank, 1 = solid, 2 = dashed, 3 = dotted, 4 = dotdash, 5 = longdash, 6 = twodash, shown below:

11.8.1 geompoint

The point geom is used to create scatterplots. The scatterplot is most useful for displaying the relationship between two continuous variables. It can be used to compare one continuous and one categorical variable, or two categorical variables.