Question: Question 2 [ 2 5 - marks ] Instructions: Write your answers in a clear and concise manner and justify your interpretation. You are allowed

Question
2
[
2
5
-
marks
]
Instructions: Write your answers in a clear and concise manner and justify your interpretation. You are allowed to use any
environment to write and test the provided
code.
2
.
1
Consider the following
commands and output:
=
1
0
0
,
mean
=
1
0
0
,
=
(
5
=
(
(
1
,
2
)
2
.
1
.
1
Describe what the first line of code does in this code snippet.
[
2
]
2
.
1
.
2
What is the purpose of
=
(
(
1
,
2
)
?
[
1
]
2
.
1
.
3
After executing the code, two plots are created. Describe what each plot visually repre
-
[
4
]
sents in terms of the distribution of
.
2
.
1
.
4
Given that the standard deviation of
is approximately
4
.
6
5
,
what does this suggest
[
2
]
about the spread of the values around the mean?
2
.
2
Consider the output of the following statistical test applied to
(
from the previous question
)
:
=
(
9
0
One Sample
-
test
data:
=
1
9
.
7
7
7
,
=
9
9
,
-
value
<
2
.
2
-
1
6
alternative hypothesis: true mean
not equal
9
0
9
5
percent confidence interval:
9
8
.
2
6
8
5
9
1
0
0
.
1
1
2
8
1
sample estimates:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!