Question
1. Select two (2) answer choices that apply: To understand the distribution of univariate, continuous data, which of the following is/are the best data visualization
1. Select two (2) answer choices that apply: To understand the distribution of univariate, continuous data, which of the following is/are the best data visualization option(s)?
Answers:
Forest Plots, Heat map, Histograms, Tree map, Bar plots, Boxplots, Unordered Dot Plots
2. To understand the distribution of a univariate, discrete data, which of the following is the best data visualiztion option?
Answers:
Bar plot, Tree Dendrogram, Histogram, Heat map, Unordered Dot Plot
3. Which python libraries can you use to compute mean (arithmetic average)? Assume your data is a Python list, e.g. my_data = [1, 2, 3, 4, 5]
Answers:
Numpy, myFavoritePython, Built-in Python, Scipy, Pandas
4. When visualizing a dataset's distribution with a Density Plot (Kernel Density Estimate) using Python library matplotlib, which of the following steps is the most essential in obtaining a meaningful graph?
a. Ensure the x-axis limit is set to some range
b. Ensure missing (NA) values are excluded before visualization
c. Ensure the y-axis title is "Density"
d. Ensure x-axis have some kind of text labels
e. Cannot be determined from the information given
5. SELECT ALL THAT APPLY: In contrast to a mathematical function, a function in a programming language including Python may different in that:
a. There might not be any input to the Python function
b. Python functions may have side effect, intended or unintended
c. Python functions can only do real-valued computations
d. There might not be return values (output)
6. SELECT ALL THAT APPLY: Which of the following is/are advantage(s) of using functions as opposed to scripting (i.e. programming without writing functions)?
a. Functions always make your programs run faster.
b. A function allow a piece of code to be re-used easily and consistently
c. Functions can be written as lambda expressions
d. Functions may be more easy to debug (i.e. troubleshooting when there is an error)
e. Use of functions can keep your code more organized
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started