100% Guaranteed Results


MATH118 – Homework #2 Solved
$ 20.99
Category:

Description

5/5 – (1 vote)

Assistant: Gizem Su¨ngu¨ Student Id:
Course Policy: Read all the instructions below carefully before you start working on the assignment, and before you make a submission.
• It is not a group homework. Do not share your answers to anyone in any circumstance. Any cheating means at least -100 for both sides.
• Do not take any information from Internet.
• No late homework will be accepted.
• For any questions about the homework, send an email to gizemsungu@gtu.edu.tr.
• Submit your homework (both your latex and pdf files in a zip file) into the course page of Moodle.
• Save your latex, pdf and zip files as ”Name Surname StudentId”.{tex, pdf, zip}.
• The answer which has only calculations without any formula and any explanation will get zero.
• I strongly suggest you to write your homework on LATEX. However, hand-written paper is still accepted IFF your hand writing is clear and understandable to read, and the paper is well-organized. Otherwise, I cannot grade your homework.
• You do not need to write your Student Id on the page above. I am checking your ID from the file name.
Problem 1: (10+10+10+10+10+10+40 = 100 points)
For the question, please follow the file called manufacturing defects.txt while reading the text below.
(Note: You should implement a code for your calculations for each following subproblem. You are free to use any programming languages (Python, R, C, C++, Java) and their related library.)
Hint: When you check the file you will see: # of Defects = {0, 1, 2, 3, 4}.
(b) Estimate λ from the given data.
(c) Update Table 1 in Table 2 with Poisson predicted cases with the estimated λ.
(d) Draw a barplot for the actual cases (Table 2 in column 2) and the predicted cases (Table 2 column 3) with respect to # of defecrs. You should put the figure.
1
– Homework #2 2
# of
Defects # of cases in all company between the years
0
1
2
3
4
Table 1: Actual cases
# of
Defects # of cases in all companies between the years Predicted # of cases in all companies between the years
0
1
2
3
4
Table 2: Actual vs. Predicted Cases
(e) According to the barplot in (c), does the poisson distribution fit the data well? Compare the values of the actual cases and the values of the poisson predicted cases, and write your opinions about performance of the distribution.
(f) According to your estimations above, write your opinions considering your barplot and Table 2. Which company do you prefer to buy a car? Why?
(g) Paste your code that you implemented for the subproblems above. Do not forget to write comments on your code. Example:
• The common code block for all subproblems
Paste here. Your code should read the file and compute other things which the following subproblems need.
• The code block for (a)
Paste here. Your code should compute the values in Table 1 column 2.
• The code block for (b)
Paste here. Your code should compute λ.
• The code block for (c)
Paste here. Your code should compute the values in Table 2 column 3.
• The code block for (d)
Paste here. Your code should draw the barplot.

Reviews

There are no reviews yet.

Be the first to review “MATH118 – Homework #2 Solved”

Your email address will not be published. Required fields are marked *

Related products