## Topic outline

### Introduction to R

- History behind R and some useful websites
- Installing R in windows.
R window to edit and execute R commands.

- Installation and Activation of R commander, Interface of R commander, Dataset: Activate, Edit and View , Get Help on Activated Dataset, Analysis on Activated dataset.
R commands and R syntax.

Install and load a package in R.

Getting help about R commands.

- Save and load R file in workspace.

### Data Structures

Why Data Structures ?, Types of Data Structures in R.

- Types of Vectors and their creation procedures, Assigning created Vector into an object, Basic Vector operations, Operations between Vectors.
Creating a matrix, Extracting elements rows or columns from a matrix, Combining two matrices, Basic matrix operations.

Creating an Array, Finding type and dimension of Array.

Creating a List, Extract a specific component from a list, Extracting a component from a sublist.

Create a factor, Unordered and Ordered factor.

Creating a Dataframe, Examining different parts of a dataframe, Edit and save a dataframe.

Importing and Exporting Data.

Numerical, Nominal and Ordinal Data types, Modifying Data types.

### Graphical Analysis

Using plot() command.

Using type, pch, font, cex, lty, lwd, col arguments in plot() command.

Using main, sub, col.main, col.sub, cex.main, cex.sub, font.main, font.sub arguments in plot() command.

Using xlab, ylab, col.lab, cex.lab, font.lab, xlim, ylim, col.axis, cex.axis, font.axis arguments and axis() command.

Using points(), text(), abline(), curve() commands.

Using legend() command.

Using pie(), barplot(), hist() commands.

Using mfrow or mfcol arguments in par() command and layout command.

### Frequencies

A quick introduction to frequencies.

Frequencies, Frequency table and their graphical presentation, Relative frequency, Frequency curve.

### Descriptive Statistics

Mean, Median and Mode.

Quartiles, Deciles, Percentiles and Quantiles.

Range, Median, Absolute deviation about median, Variance and Standard deviation.

Skewness and Kurtosis.

Box Plot and its parts, Using Box Plots to compare distribution.

### Comparing Populations

Concept of Hypothesis testing, Null Hypothesis and Alternative Hypothesis.

Contigency table and their use, Chi-Square test, Fisher's exact test.

Concept, Assumptions, Hypothesis, Verification of assumptions, Performing the test and interpretation of results.

Concept, Type, Assumptions, Hypothesis, Verification of assumptions, Performing the test and interpretation of results.

Concept, Assumptions, Hypothesis, Verification of assumptions, Performing the test and interpretation of results.

Concept, Assumptions, Hypothesis, Verification of assumptions, Model fit, Hypothesis testing, Post hoc tests: Fisher's LSD, Tukey's HSD.

### Relationship Between Variables

- Concept, Measures of correlation and corresponding tests: Pearson's r, Spearman's p.
Definition, Assumptions, Hypothesis, Model fit, Verification of assumptions, Hypothesis testing, Prediction.

Definition, Assumptions, Hypothesis Testing, Model fit: Manual and Automatic.

### Time Series Analysis

- Time Series Analysis, Time Series Objects in R, Graphical Representation of Time Series Data, Time Series data manipulation with 'xts' package.
- Use of as.Date() and format() commands to handel time index. Create Time Series Data for regular and irregular time points. Import Time Series Data using read.zoo() command.
- Components of a time series:Trend, Seasonal and Irregular.Time series models:Additive and Multiplicative. Decomposition of Time Series Data using decompose() command.
- Simple Exponential Smoothing, Holt's linear trend method and Holt-Winters seasonal method.

### Extras

Test your proficiency on 'Analytics with R'.

List of commands

The List of assignments