i
Exploring R
Evolution of R
Programming Features of R
R for Machine Learning
R for Data Analysis
Application of R
R vs. Python vs. SAS
R vs. Excel vs.Tableau
Install R base on Windows
Install R Studio on Windows
Install R base on Ubuntu
Install R Studio on Ubuntu
R Starter
First R Program
Working with R Packages
R Workplace and R Sessions
Manage working directory
Customize R studio
RStudio Debugger
RStudio History and Environment variables
R Syntax
R Variables
R Data Types & Structures
R Arithmetic Operators
R Logical Operators
R If Statement
R - If…Else Statement
If…else if…Else Statement
R for loop
R while loop
R repeat loop
R String Construction
R String Manipulation Functions
Creating Character Strings
R Functions
R built-in functions
Working with Vector
R Vector Indexing
R Vector Modification
R Arithmetic Vector Operations
R Lists
Access List elements (List Slicing)
List modification
R Matrix construction
Access Matrix elements
R Matrix Modification
R Matrix Operations
R Array Construction
Accessing Array Elements
Manipulating Array Elements
R Data Frames
Data Extraction
Data Frame Expansion
R Built-in Data frames
R Factors
Manage Factor levels
Factor Functions
R Contingency Tables
R Data Visualization
R – Charts and Graphs
R Density Plot
R Strip Charts
R Boxplots
R Violin Plots
R Bar Charts
R Pie Charts
R Area Plots
R Time Series
Graphics with ggplot2
Ggplot2 Structure
ggplot2 Bar Charts
ggplot2 Pie Chart
ggplot2 Area Plot
ggplot2 Histogram
ggplot2 Scatter Plot
ggplot2 Box Plot
Mean & Median
Standard Deviation
Normal Distribution
Correlation
T-Tests
Chi-Square Test
ANOVA Test
Survival Analysis
Data Pre-processing and Missing Value Analysis
Missing data treatment
Missing value analysis with mice package
Outlier Analysis
Problems with outliers
Outlier Detection
Outlier Treatment
Simple Linear Regression
Mathematical Computation
Linear Regression in R
A complete Simple Regression Analysis
Multiple Linear Regression
Mathematical Analysis
Model Interpretation
A complete Multiple Regression Analysis
Logistic Regression
Mathematical Computation in R
Logistic Regression in R
Heart Risk Analysis using LR
Support Vector Machine
Heart Risk Analysis using SVM
Decision Trees
Random Forest
K means Clustering
Big data Analytics using R-Hadoop
RHADOOP Packages:
rJava: Low-Level R to Java Interface
rhdfs: Integrate R with HDFS
rmr2: MapReduce job in R
plyrmr: Data Manipulation with MapReduce job
rhbase: Integrate HBase with R
Environment setup for RHADOOP
Getting Started with RHADOOP
Machine Learning with R
Machine learning provides systems the ability to learn and improve from experience without being explicitly programmed automatically. Machine learning focuses on the development of computer programs that can access data and use it to learn for themselves. R has a powerful package set to work with different Machine learning algorithms.
Simple Linear Regression
Linear Regression is a supervised machine learning algorithm.It is mostly used for finding out the relationship between variables and forecasting (prediction). Regression models are only used to predict a continuous value, so it is not possible to use it for classification problems. Regression analysis for one predictor is known as Simple Linear Regression, and for multiple predictors, it is Multiple Linear Regression.
In Simple Linear Regression, we have only one predictor (feature) and one target variable. And we use the statistical equation, Y=b0+b1X, where b0 (intercept) and b1 (slope) are model coefficients. X is our predictor, and Y is our target variable.
Example:
We have a data set of a group of people with their weight and height.
These blue points are our data points, and the line is our regression line.
From this Regression line, we can easily predict our target variable. Suppose for the height of 150 cm; the predicted weight will be around 62 Kg.
Application of Linear Regression
Linear Regression is a machine learning technique that is used everywhere, from scientific research to Retail market analysis. There are hundreds of examples, and I choose only a few from them.
Predicting prices of an apartment given the features of an apartment like size, location, number of rooms.
Studying engine performance from test data in automobiles.
Least squares regression is used to model causal relationships between parameters in biological systems.
Can be used in weather data prediction.
Can be used in market research studies to analyze the marketing effectiveness, pricing, and promotions on sales of a product.
If a company's sales have increased steadily every month for the past few years, by conducting a linear analysis of the sales data with monthly sales, the company could forecast sales in the coming months.
If a company wants to know if the funds that they have invested in marketing a particular brand has given them a substantial return on investment, they can use linear Regression.
Don't miss out!