BCA-SEP-lesson plan -R-Programming
BCA-SEP-lesson plan -R-Programming
UNIVERSITY
TAMAKA, KOLAR- 563103
Curriculum/
Syllabus for
Undergraduate Programme
Bachelor of Computer
Applications
In
DATA SCIENCE
Faculty of Science
(With Effect from Academic Year 2024-25)
Version 1.0 (12th August, 2024)
2nd Semesters
DS2T2: Statistical Computing and R Programming
Course Code: DS2T2 Course Title: Statistical Computing and R Programming
Course Credits: 04 Teaching Hours/Week: 04
Total Contact Hours: 60 Exam Duration : 3 Hours
Internal Assessment: 20 Marks Semester End Exam: 80 Marks
Course Outcomes (COs):
After the successful completion of the course, the student will be able to:
Explore fundamentals of statistical analysis in R environment.
Describe key terminologies, concepts and techniques employed
in Statistical Analysis.
Define Calculate, Implement Probability and Probability Distributions to
solve a wide variety of problems.
Conduct and interpret a variety of Hypothesis Tests to aid Decision Making.
Understand, Analyse, and Interpret Correlation Probability and
Regression to analyse the underlying relationships between different
variables.
Course Content Hours
Unit-I 15
The Language: Introduction – Advantages of R over Other Programming Languages, R
Studio: R script file, Handling Packages in R: Installing R Package, Syntax, Comments,
Operators, R Keywords, R Data Types - numeric, Integer, logical, complex, character and
raw, Variables, Input and Output statement, Data Structures – Strings, Vectors, Matrices,
Arrays, Non-numeric Values, Lists and Data Frames, Special Values, Classes, and Coercion,
Reading and Writing Files.
Unit-II 15
Programming: Conditions and Loops - If statements - Stand-Alone Statement, Using If Else,
Nesting and Stacking Statements, The Switch Function. Coding Loops - For Loops, While
Loops, Repeat Loop, Other Control Flow Mechanisms - Declaring Break, Next and goto
statement, R-Function: function definition, Built-in functions: Basic Math function - min(),
max(), sum(), sqrt(),abs(),ceiling(),floor(), trunc(), round(), cos(), sin(), tan(), String function -
grep(), nchar() , paste(), sprintf(), substr(), strsplit(), regex() gregexpr(), toupper(), tolower(),
paste(), User Defined Function, Exception Handling, Progress and Timing, Visibility.
Unit-III 15
Statistics and Probability: Elementary Statistics, Basic data visualisation, probability,
common probability distributions: common probability mass functions - Bernoulli, Binomial,
Poisson distributions, common probability density functions - Uniform, Normal, Student’s t-
distribution.
Unit-IV 15
Statistical Testing and Modelling: Sampling distributions, hypothesis testing, Analysis of
variance, Simple linear regression, multiple linear regressions. Advanced graphics: Basic
Plotting, plot customization, plotting regions and margins, point and click coordinate
interaction, customizing traditional R plots, specialized text and label notation, Defining
colors and plotting in higher dimensions.
References:
1 Tilman M. Davies, “The book of R: A first course in programming and statistics”, San
Francisco, 2016.
2 Vishwas R. Pawgi, “Statistical computing using R software”, Nirali prakashan publisher,
e1 edition, 2022.
3 https://www.geeksforgeeks.org/r-tutorial/
4. https://www.tutorialspoint.com/r/index.htm
akil
[Type here]