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
Document preview thumbnail
Preview 2 out of 5 pages
Exam (elaborations)

Misy262 FINAL EXAM QUESTIONS AND ANSWERS

Document preview thumbnail
Preview 2 out of 5 pages

Misy262 FINAL EXAM QUESTIONS AND ANSWERS

Content preview

Misy262 FINAL EXAM QUESTIONS
AND ANSWERS
what do you use $ for ? - ANSWER-use $ to find statistics for a specific column

unlike other types of data analysis, descriptive statistics does NOT attempt to ...... -
ANSWER-unlike other types of data analysis, descriptive statistics does NOT
attempt to make predictions about the future

what does the attch() method do? - ANSWER-attach() is used to specify the dataset
using and let R know we are reffering to it so so we dont need to keep repeating the
dataset name

an outlier is an ____ value in a dataset - ANSWER-unusual

categorical values need to be stored as ..... - ANSWER-factors

missing values in datasets have no effect on calculations such as mean or std
calculations - ANSWER-false

the use of mean value ito impute the data is simple and considered the best practice
to deal with missing data - ANSWER-false

what data imputation method is best for dealing with missing values in the
categorical variables ? - ANSWER-imputation by random forest

____ means that missing data systematically differs from the observed values -
ANSWER-MNAR

what package do we use to deal with missing values ? - ANSWER-mice package

which packages can we use to get statistics for a dataset ? - ANSWER-pastecs and
psych

which method do we use to get the summary statistics for all variables by group
based on categorical variables ? - ANSWER-describeBy()

What method is used to create a linear regression model ? - ANSWER-lm( )
the box plot in the x axis , must it be categorical or factor variable ? - ANSWER-
categorical

by default will the box plot give you the mean ? - ANSWER-no

what method do we use to write titles? - ANSWER-labs()

what is the second step of EDA? - ANSWER-data visualization

, how do you plot a histogram ? - ANSWER-geom_histogram

if it is pre counted you use what ?

if it is NOT pre counted you use what ? - ANSWER-pre counted = column chart

NOT pre counted = bar chart

geom_bar only needs 1 variable in the X axis, y will already be provided - ANSWER-
true

if you do geom_bar with 2 variables, what will happen - ANSWER-it will give an error

to change the width so its equal, what code do you use ? - ANSWER-
geom_bar(position=position_dodge(preserve="single")

to change the legend position to the top do theme(legend.position='top') - ANSWER-
true

to have no legend at all do theme(legend.positon='none') - ANSWER-true

geom_col and geom_bar have no differences - ANSWER-false

you can change the background color for the bar of the plot - ANSWER-false

how to save - ANSWER-ggsave

what does which(is.na()) do? - ANSWER-returns indices(the place) of the missing
values

what does na.rm=TRUE do ? - ANSWER-it removes the missing values from a
specific calculation

what does n_miss() do ? - ANSWER-returns the number of missing values

what does pct_miss() do ? - ANSWER-returns the percentage of missing values

what does pct_miss_case() do ? - ANSWER-returns the percentage of rows WITH
missing values

what does vis _miss() do ? - ANSWER-returns a heat map of missing values

what does gg_ miss_ var(dataset_ name, show _pct=TRUE) do ? - ANSWER-
returns the percentage of missing values in each variable in a dataset in a form of a
graph
the box plot in the x axis , must it be categorical or factor variable ? - ANSWER-
categorical

by default will the box plot give you the mean ? - ANSWER-no

Document information

Uploaded on
October 11, 2025
Number of pages
5
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$15.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.
biggdreamer
4.0
(47)
Sold
289
Followers
67
Items
18421
Last sold
11 hours 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