0% found this document useful (0 votes)
32 views1 page

Part 1 Assignment Statistics

statistics assignment

Uploaded by

Fathy Farouk
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views1 page

Part 1 Assignment Statistics

statistics assignment

Uploaded by

Fathy Farouk
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Nile University

Communication and Information Technology Program


Fall 2019
CIT651 –Introduction to Machine Learning and Statistical Data Analysis

Assignment #3
(Due on: Dec 15, 2019 at mid-night)

Problem 1

Implement a function that takes a vector of numbers as an input and outputs the values
needed to plot the boxplot. Specifically, the function should output the 1st quartile (q1), 2nd
quartile (q2), 3rd quartile (q3), the inter-quartile range, a vector containing the outlier
points and the vector containing the extreme outlier points as defined in the lecture. Apply
your function to the data given in the file Data1.txt.

Deliverables:
• Your code.
• The values of q1, q2, q3, inter-quartile range, outlier points, and extreme outlier
points.

Problem 2

Implement a function to verify the Central Limit Theorem using throwing a die example.
The steps of the function should be as follows:

1. Simulate the outcome of throwing a die 1000 times: Use a population of discrete
values (1, 2, 3, 4, 5, 6) with uniform distribution.

2. Plot the histogram (100 bins).

3. Simulate the outcome of throwing TWO dice 1000 times: by generating two samples
as in step 1.

4. Calculate the average of the resulting values of the two dice in each time.

5. Plot the histogram of the average value (100 bins).

6. Calculate the mean and variance.

7. Simulate the outcome of throwing TEN dice 1000 times: by generating ten samples
as in step 1.

8. Calculate the average of the resulting values of the ten dice in each time.
1/2

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy