Chapter 7 Programming Challenges II: Data
This set of programming challenges will give you hands on experience with using R for data-analysis.
7.1 Creating and Analyzing Simulated Data
Sample n values from a distribution
Summary Statistics
Mean, Median, Mode
Standard Deviation, Variance
Simulate and analyze data for a one sample t-test
Simulate and analyze data for an independent samples t-test
Simulate and analyze data for a paired samples t-test
Simulate and analyze correlated data between continuous X and Y variables
Simulate and analyze data for a chi-square test
Simulate and analyze data for a one-way ANOVA
Simulate and analyze data for a one-way repeated-measures ANOVA
Simulate and analyze data for a factorial ANOVA
Simulate and analyze data for a factorial repeated measures ANOVA
Simulate and analyze data for mixed design ANOVAs
Simulate and analyze the above by starting with simulated data for individual trials for each subject, and not simply simulated means for each condition
Monte-Carlo simulation for power-analysis
7.2 Working with Real Raw Data
Loading data-files from a file
Pre-processing
Handling Exceptions, buggy data
Outliers
Binning means
Splitting the data into subsets
Creating new conditions for exploratory analysis