Self-Quiz Unit 3 - Attempt Review2
Self-Quiz Unit 3 - Attempt Review2
Dashboard / My courses /
CS 4407-01 - AY2023-T2 / 24 November - 30 November /
Self-Quiz Unit 3
Question 1
Correct
Select one:
a. KNN Classifier
b. Bayes Classifier
c. Linear Regression
https://my.uopeople.edu/mod/quiz/review.php?attempt=9179121&cmid=329627 1/12
11/28/22, 8:19 PM Self-Quiz Unit 3: Attempt review
Question 2
Correct
A linear regression model is expressed as y ≈ β0+ β1x where β0 is the intercept and β1 is the slope of the line. The following equations
can be used to compute the value of the coefficients β0 and β1.
Using the following set of data, find the coefficients β0 and β1rounded to the nearest thousandths place and the predicted value of y
when x is 10.
β0 =
1.9
β1 =
1.7
y=
18.9
when x is 10
Question 3
Correct
Which command will provide descriptive statistics for the Boston data frame?
Select one:
a. summary(Boston)
b. eval(Boston)
c. coef(Boston)
d. stats(Boston)
https://my.uopeople.edu/mod/quiz/review.php?attempt=9179121&cmid=329627 2/12
11/28/22, 8:19 PM Self-Quiz Unit 3: Attempt review
Question 4
Correct
True or False: The fix() function identifies values that contain data within a data frame that are inconsistent and automatically corrects
these values.
Select one:
True
False
https://my.uopeople.edu/mod/quiz/review.php?attempt=9179121&cmid=329627 3/12
11/28/22, 8:19 PM Self-Quiz Unit 3: Attempt review
Question 5
Correct
You have a dataset which produces the following plot and you need to create a predictive model. Which of the following techniques
are you most likely to use?
Select one:
a. Linear Regression
b. Curvilinear Regression
c. K-Nearest Neighbors
d. Logistic Regression
https://my.uopeople.edu/mod/quiz/review.php?attempt=9179121&cmid=329627 4/12
11/28/22, 8:19 PM Self-Quiz Unit 3: Attempt review
Question 6
Correct
Select one:
a. Non-linearity
b. Linearity
c. Polynomial relationships
d. Non-parametric relationships
Question 7
Correct
True or False: Residual plots are a useful tool for identifying non-linearity.
Select one:
True
False
https://my.uopeople.edu/mod/quiz/review.php?attempt=9179121&cmid=329627 5/12
11/28/22, 8:19 PM Self-Quiz Unit 3: Attempt review
Question 8
Correct
The income of a company that produces disaster equipment has been expressed as a linear regression model based upon the input
variable which is the number of hurricanes projected for the upcoming hurricane season. The model is express as Y = mX + b where Y
is the estimated sales in millions of dollars, m = .76 and b = 5. Assuming that the weather service is predicting 6 hurricanes during the
season what are the sales in millions of dollars expected to be?
Question 9
Correct
True or False: The library() function lists all of the libraries that are loaded into memory within R.
Select one:
True
False
https://my.uopeople.edu/mod/quiz/review.php?attempt=9179121&cmid=329627 6/12
11/28/22, 8:19 PM Self-Quiz Unit 3: Attempt review
Question 10
Correct
What R command could we use to generate a scatterplot diagram of our data to determine if it forms a linear pattern that would be
suitable for linear regression or a non-linear pattern that would require some other technique?
Select one:
a. plot()
b. hist()
c. matrix()
d. summary()
Question 11
Correct
Select one:
a. Lists all of the column names in the data frame provided as an argument to the function.
b. Attaches the names to make the variables in the data frame available by name.
c. Displays the names of the classes identified by the K means clustering algorithm.
https://my.uopeople.edu/mod/quiz/review.php?attempt=9179121&cmid=329627 7/12
11/28/22, 8:19 PM Self-Quiz Unit 3: Attempt review
Question 12
Correct
True or False: Colinearity refers to a situation in which two or more predictor variables are closely related to each other.
Select one:
True
False
Question 13
Correct
Select one:
True
False
https://my.uopeople.edu/mod/quiz/review.php?attempt=9179121&cmid=329627 8/12
11/28/22, 8:19 PM Self-Quiz Unit 3: Attempt review
Question 14
Correct
Which of the following functions is used to generate a linear regression model within R?
Select one:
a. lredict()
b. lm()
c. lstat()
d. glm()
Question 15
Correct
Select one:
True
False
https://my.uopeople.edu/mod/quiz/review.php?attempt=9179121&cmid=329627 9/12
11/28/22, 8:19 PM Self-Quiz Unit 3: Attempt review
Question 16
Correct
A farmer’s yield of corn is expressed as a linear regression model based upon the input variable which is the number of days of
sunlight during the growing season. The model is express as Y = mX + b where Y is the estimated corn yield in bushels per acre, m =
1.38 and b = 42. Assuming that during the growing season it is predicted that there will be 67 days of sun, what will the corn yield be
in bushels per acre?
Question 17
Correct
The values of x and their corresponding values of y are shown in the table below, identify the linear regression model in the form
y=mx+b and report the values of m(slope) and b(intercept) as well as the estimated value of y when the value of x is 10.
b=
2.2
m=
0.9
y=
11.2
https://my.uopeople.edu/mod/quiz/review.php?attempt=9179121&cmid=329627 10/12
11/28/22, 8:19 PM Self-Quiz Unit 3: Attempt review
Question 18
Correct
The values of y and their corresponding values of y are shown in the table below, identify the linear regression model in the form
y=mx+b and report the values of m (slope) and b (intercept) as well as the estimated value of y when the value of x is 3. Round to the
nearest hundreds place.
b=
4.48
m=
0.66
y=
6.48
Question 19
Correct
True or False: In the KNN algorithm, a small value for K provides the most flexible fit (low bias/high variance).
Select one:
True
False
https://my.uopeople.edu/mod/quiz/review.php?attempt=9179121&cmid=329627 11/12
11/28/22, 8:19 PM Self-Quiz Unit 3: Attempt review
Question 20
Correct
True or False: The following data plot represents data that is linearly separable?
Select one:
True
False
Jump to...
https://my.uopeople.edu/mod/quiz/review.php?attempt=9179121&cmid=329627 12/12