Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

Predictive Analytics Exam 1 || 100% Correct Answers.

Rating
-
Sold
-
Pages
10
Grade
A+
Uploaded on
30-01-2026
Written in
2025/2026

Predictive Analytics Exam 1 || 100% Correct Answers.

Institution
Predictive Analytics
Course
Predictive Analytics

Content preview

Predictive Analytics Exam 1 || 100% Correct Answers.
Which of the following is NOT included when using "summary ()" on a dataset?

a. Mean
b. Median
c. Mode
d. 1st Quartile
e. 3rd Quartile correct answers c. Mode

What is the difference between head(boston.housing.df) and boston.housing.df[1:6,] correct
answers These are two ways of getting the same output.

True or False.

Predictive Analytics, as opposed to Statistics, is involved with macro-decisioning when dealing
with data-driven problems. correct answers False

What would the function boston.housing.df[1:3, 10] return? correct answers The first three rows
and the tenth column of the boston.housing.df data frame

Match the following situations with the methods we should use (supervised or unsupervised).


Chase bank tries to decide whether to give loan to a company based on its credit and transaction
history. correct answers supervised

Match the following situations with the methods we should use (supervised or unsupervised).

Kroger provides product coupon to the customers who purchase the bundles of shampoo and
body wash together. correct answers unsupervised

Match the following situations with the methods we should use (supervised or unsupervised).

Amazon provides purchase suggestions by stating that "customers like you also want the
following products." correct answers unsupervised

Match the following situations with the methods we should use (supervised or unsupervised).


Liberty Mutual designed a new insurance product and want to know the future sales and
profitability of it. correct answers supervised

Which of the following counts the number of missing values of the "RM" variable in a dataset?

A. count(is.na(dataset$RM)

, B. sum(is.na(dataset$RM))
C. sum(is.na(NA))
D. count(dataset$RM$NA) correct answers B. sum(is.na(dataset$RM))

Which of the following is NOT a type of data mining?

a. Prediction
b. Classification
c. Machine learning
d. Association rules correct answers c. Machine learning

Fill in the code to generate 5 normal random variables with variance 16 and mean 3.
rnorm(__________, ______________, ____________) correct answers n=5, mean=3, sd=4

If I wanted to display rows 1-10, and columns 2,6,8,9,10 from the Boston housing data set -
which of the following R scripts would give me these specified rows and columns? Select all
options that apply.

A. boston.housing.df[1:10, c(2, 6, 8:10)]
B. boston.housing.df[1:10, (2,6,8,9,10)]
C. boston.housing.df[(1:10), (2,6,8,9,10)]
D. boston.housing.df[c(1:10), c(2,6, 8, 9, 10)]
E. boston.housing.df[c(1:10), c =2,6,8,9,10]
F. boston.housing.df[1:10, c(2,6, 8, 9, 10)] correct answers A. boston.housing.df[1:10, c(2, 6,
8:10)] and
F. boston.housing.df[1:10, c(2,6, 8, 9, 10)]

Which function tells you if an element in a dataset is missing? correct answers is.na()

Which function explains how to use a certain command? correct answers help()

Which function returns the mean, max, and min of a dataset? correct answers summary()

Which function takes a random sample from a specified range of numbers? correct answers
sample()

which function sets a fixed random number generator? correct answers set.seed()

Which of the following is NOT among methods that are used in Predictive Analytics and Data
Mining?

1. Association rules
2. Patterning
3. Recommendation systems
4. Prediction
5. Classification correct answers patterning

Written for

Institution
Predictive Analytics
Course
Predictive Analytics

Document information

Uploaded on
January 30, 2026
Number of pages
10
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$11.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
SirAnton NURSING, ECONOMICS, MATHEMATICS, BIOLOGY, AND HISTORY MATERIALS BEST TUTORING, HOMEWORK HELP, EXAMS, TESTS, AND STUDY GUIDE MATERIALS WITH GUARANTEED A+ I am a dedicated medical practitioner with diverse knowledge in matters
View profile
Follow You need to be logged in order to follow users or courses
Sold
787
Member since
3 year
Number of followers
438
Documents
39304
Last sold
1 week ago
Reign Supreme Scholarly || Enlightened.

Get your revised study materials available here and elevate your educational outcomes. I have numerous verified learning materials (Research, Exams Questions and answers, Assignments, notes etc) for different courses guaranteed to boost your academic results. I am dedicated to offering you the best and unique learning content. You are encouraged to inquire further assistance from this end whenever need be. Kindly remember to leave your review, understanding your satisfaction is essential . We highly appreciate clients who always come back for more of the study content we offer, you are extremely valued. All the best.

Read more Read less
3.7

117 reviews

5
49
4
20
3
24
2
8
1
16

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions