327C5B R Programming
327C5B R Programming
Course Outcomes: (for students: To know what they are going to learn)
CO1: To understand the problem solving approaches
CO2: To learn the basic programming constructs in R Programming
CO3: To learn the basic programming constructs inR Programming
CO4: To use R Programming data structures - lists, tuples, dictionaries.
CO5: To do input/output with files in R Programming.
Units Contents
Introduction to R programming: What is R? - Installing R and R Studio –
R Studio Overview - Working in the Console - Arithmetic Operators –
I LogicalOperations - Using Functions - Data structures, variables, and data typesin R:
Creating Variables - Numeric, Character and Logical Data - Vectors -Data Frames -
Factors -Sorting Numeric, Character, and Factor Vectors -Special Values.
CONTROL STRUCTURES AND VECTORS -Control structures, functions, scoping
rules, dates and times, Introduction to Functions, preview of Some Important R Data
Structures, Vectors, Character Strings, Matrices, Lists, Data Frames, Classes Vectors:
Generating sequences, Vectors and subscripts, Extracting elements of a vector using
II
subscripts, Working with logical subscripts, Scalars, Vectors, Arrays, and Matrices,
Adding and Deleting Vector Elements, Obtaining the Length of a Vector, Matrices
and Arrays as Vectors Vector Arithmetic and Logical Operations, Vector Indexing,
Common Vector Operations
Math Functions, Calculating a Probability, Cumulative Sums and Products, Minima
and Maxima, Calculus, Functions for Statistical Distributions
III
Data Visualization using R: Scatter Plots - Box Plots - Scatter Plots and Box and-
Whisker Plots Together -Customize plot axes, labels, add legends, and add colours
Descriptive statistics in R: Measures of central tendency - Measures of
variability - Skewness and kurtosis - Summary functions, describe functions,and
IV descriptive statistics by group.
Testing of Hypothesis using R: T-test, Paired Test, correlation, Chi Square
test, Analysis of Variance and Correlation
Predictive Analytics: linear Regression model, Non-Linear Least Square,
V multiple regression analysis, Logistic Regression, Panel Regression Analysis,ARCH
Model, GARCH models, VIF model
UNIVERSITY OF MADRAS
B.Sc. DEGREE PROGRAMME IN COMPUTER SCIENCE WITH
DATA SCIENCE
SYLLABUS WITH EFFECT FROM 2023-2024
Learning Resources:
Recommended Texts
1. Roger D. Peng,” R Programming for in“, 2012
2. Norman Matloff,”The Art of R Programming- A Tour of Statistical Software Design”,
2011
Reference Books
1. Garrett Grolemund, Hadley Wickham,”Hands-On Programming with R: Write Your
Own Functions and Simulations” , 1st Edition, 2014
2. Venables , W.N.,and Ripley,”S programming“, Springer, 2000.