R Intermediate Quiz
1
Which symbol should you use to place comments in R?
- *
- /
- $
- #
2
Formula for Simple Linear Regression
- y=ax+b
- y=ax^2+bx^2
- y=e^x
- y=a+b1x1+b2x2
3
In simple Linear regression number of Indepent Variables
- 2
- 3
- 1
- 0
4
Which chart is used to compare data side by side
- Bar
- Line
- Gauge
- KPI
5
if emp.data is Data frame then emp.data[,1:3] will return
- All rows with first 3 columns
- First 3 columns with all rows
- first and 3rd columns of all rows
- First and 3rd Rows of all columns
6
Load data from CSV using one of the below method
- csv
- read.csv
- load
- Read
7
The structure of the data frame can be seen by using
- str
- desc
- show
- ls
8
Which of the following unsupervised Machine Learning Algorithm?
- K-means Clustering
- Simple Linear Regression
- Multiple Linear Regression
- Logistic Regression
9
By default head function in R returns first
- 5 Rows
- 6 Rows
- 7 Rows
- 3 Rows
10
Which function is used to create model in linear regression
- glm
- lm
- k-means
- clust
11
Strong Positive correlation coefficient has value
- close to 0
- close to 5
- close to 1
- close to -1
12
Strong Negative correlation coefficient has value
- close to 0
- close to 5
- close to 1
- close to -1
13
Which function is used to partition n observations into K clusters
- glm
- lm
- k-means
- clust
14
Which function is used to create model in Logistic regression
- glm
- lm
- k-means
- clust
15
Confusion Matrix is related to
- Simple Linear Regression
- Multiple Linear Regression
- Logistic Regression
- Clustering