Workflow for statistical analysis with R

Posted by:

NB: Quantitative = continuous
Categorical = Discrete

Uni-variable

Variable Charts Statistics
Category Bar Chart, Pie Chart frequencies ->Chi Square
Quantitative Box Plot, Histogram descriptive -> single mean or proportion: Hypothesis test

geom_bar. ggplot2 0.9.3.1geom_bar. ggplot2 0.9.3.1

The bar geom is used to produce 1d area plots: bar charts for categorical x, and histograms for continuous y. stat_bin explains the details of these summaries in more detail. In particular, you can use the weight aesthetic to create weighted histograms and barcharts where the height of the bar no longer represent a count of observations, but a sum over some other variable.

Bi-variables

Variable Charts Statistics
Category Bar Chart, Pie Chart comparing propotion ->Cross Table
Quantitative Box Plot, scatter plot correlation, regere, anova, t-test

Multiple-Variables

Variable Charts Statistics
Category Clustered Bar Chart for Means, Pie Chart comparing propotion ->Cross Table
Quantitative Scatter Plot (for grouped data or matrices), Histogram multiple regrssion, cluster analysis, two-factor anova
0
  Related Posts

Add a Comment