Midterm Exam 2 – Open Book Section – Part 2 Instructions…

Midterm Exam 2 – Open Book Section – Part 2 Instructions Save the .ipynb file in your working directory – the same directory where you will download the data files into. Read the question and create the code necessary within the code chunk section immediately below each question. Type your answer to the questions in the text block provided immediately after the response prompt. Once you’ve finished answering all questions, submit the file as a HTML on Canvas.  Ready? Let’s begin… Data Sets For Questions 1-5: Use the dataset “fraud_detection”. For Question 6: Use the dataset “poisson_data”.  The files of the two datasets are provided below: fraud_detection.csv poisson_data.csv Jupyter Notebook Python starter template: Spring2025_Midterm2_Python_Starter_Template-2.ipynb   Jupyter Notebook R starter template: Spring2025_Midterm2_R_Starter_Template-2.ipynb

Q1 Data Exploration (9 points) Use the dataset “fraud_…

Q1 Data Exploration (9 points) Use the dataset “fraud_detection” for this question. a.(3 points) What is the overall proportion of fraudulent vs. non-fraudulent transactions? Is the dataset imbalanced? b. (3 points) Compare the percentage of fraud cases with respect to the type of device used for transaction? Use also a visual approach to compare the percentage values. Which devices are more vulnerable? c. (3 points) If we group transactions by Transaction_Hour, can we identify fraud-prone time windows? Also use a visual apporach for your analysis.

Questions must be Multiple Choice (one answer choice) or Mul…

Questions must be Multiple Choice (one answer choice) or Multiple Answer (more than one answer choice). If the question is multiple, answer choices can not be “A or B” etc (This makes it difficult when answer choices are shuffled). A choice *can* be “all of the above.”  Use the following format for credit. Ensure that your correct answer is CLEARLY MARKED for credit. Question: What color is the grass Answers: 1) Green

IV. Kultur A. Kultur im Bild: Wie lebt man gesund? Was gehör…

IV. Kultur A. Kultur im Bild: Wie lebt man gesund? Was gehört zu einem gesunden Leben?  Was muss man tun, um fit zu bleiben? Schreiben Sie fünf Sätze über das Thema: „Wie lebt man gesund in Deutschland?“ Denken Sie an Ernährung, Übergewicht, Stress, Sport, Krankheit und Fitness.   

B. Die Morgenroutine. Morgens bei der Familie Weidig. Alle w…

B. Die Morgenroutine. Morgens bei der Familie Weidig. Alle wollen sich fertig (ready) machen. Ergänzen Sie den Dialog mit den richtigen Reflexivpronomen. Fill in the correct accusative and dative reflexive pronouns. Herr Weidig:          (am Frühstückstisch) Wo sind die Kinder? Sie müssen eigentlich beeilen, sonst verpassen sie den Bus. Frau Weidig:          Tobias hat wieder ins Bett gelegt. Ich glaube, er hat   erkältet. Lara:                       Es gibt kein heißes Wasser! Ich kann   nicht duschen. Herr Weidig:          Du hast jetzt sowieso keine Zeit – du musst   jetzt anziehen, sonst kommst du zu spät zur Schule. Lara:                       Ich muss aber unbedingt die Haare waschen! Frau Weidig:          Ich glaube, ein bisschen Zeit hat sie noch. Sie kann   noch schnell duschen. Herr Weidig:           Aber ich muss ins Bad. Ich muss   noch rasieren! Frau Weidig:          Und ich muss die Zähne putzen. Lara:                       Mama, darf ich das Spaghetti-Top anziehen? Frau Weidig:          Nein!

III. Lesen Jan ist krank. Lesen Sie die SMS-Nachrichten zwis…

III. Lesen Jan ist krank. Lesen Sie die SMS-Nachrichten zwischen Annika und Jan und beantworten Sie die Fragen auf Deutsch.  ANSWER IN COMPLETE SENTENCES nützliche wörter Schnupfen sniffles literweise by the liter versuche try   Was hat Jan? Nennen Sie (name) drei Symptome. Was tut er dagegen? Nennen Sie zwei Dinge. Was rät (advises) ihm Annika? Was findet Jan nett?