• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 13 pages
Exam (elaborations)

Data Analytics Final Exam with Accurate Solutions

Document preview thumbnail
Preview 2 out of 13 pages

Data Analytics Final Exam with Accurate Solutions

Content preview

Data Analytics Final Exam with
Accurate Solutions

Three advanced data analytics techniques - ANSWER-decision trees
clustering
association rules

Decision trees - ANSWER-Type of classification method to determine membership of
cases or values of an outcome variable based on one or more predictor variables

What predicts whether a company will go bankrupt?
(using different variables to predict)
How likely is it going to rain tomorrow?

Outcome variable is categorical

In a real situation, the decision tree software has to deal with instances where -
ANSWER-The same set of predictors resulting in different outcomes
Multiple paths result in the same outcome
Not every combination of predictors is in the training set

Clustering - ANSWER-Used to determine distinct groups of data
Based on data across multiple dimensions

Uses:
-customer segmentation
-identifying patient care groups
-performance of business sectors

1. define variables
2. install and load packages
3. read csv data
4. preprocressing data
-remove missing data
-normalizing
-remove outliers
5. cluster analysis
-comparing different solutions with number of clusters
-running cluster analysis with given number of clusters
-interpreting the results

, Psych package - ANSWER-Used for descriptive statistics

Variable Assignment - ANSWER-names containers for data
= or ->
can start with letters or digits
case sensitive
rmv() removes the variable from memory

x,y, z are variables that can be manipulated

Functions - ANSWER-Performs an action, like installing a package or loading a library.
You know its a functions because there are parenthesis after the command.
Accept parameters (in parenthesis) and return a value

sqrt()
log()
abs()
exp()
c()
rep()
length()
min()
max()
mean()
median()
sd()
var()
summary()
kmeans()
require()
install.packages()
scale()

Variables - ANSWER-Named containers for data

Numeric Data Types - ANSWER-Numbers
-1
-2.5

Character Data Type - ANSWER-Text strings:
"Mark"
"red"

Boolean data Type - ANSWER-Logical:
TRUE or FALSE
female <- TRUE

Document information

Uploaded on
March 18, 2026
Number of pages
13
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$22.99

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

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.
ALVINK2022
4.3
(91)
Sold
263
Followers
157
Items
11830
Last sold
2 weeks ago



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