Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

LS 40 Practice Midterm Exam Solutions -REVISED ANSWERS . ALL CORRECT

Beoordeling
-
Verkocht
-
Pagina's
16
Cijfer
A+
Geüpload op
14-02-2022
Geschreven in
2021/2022

Solutions to Practice Midterm Exam 1. Write the letters of the plots in the left panels below that match each of the plots in the right panels. Then answer questions a-e below. 2. The first step to responsible data analysis is to visualize the raw data . 3. The median and mean are measures of the central tendency of the data, while the MADAM and standard deviation are measures of the spread/variability . 4. Use the data below, which are lengths in mm, to answer the following questions: [86,95,97,99,100,102,104,105,106,106,109,113,113,125] a. Calculate the median. Since we have 14 numbers, the median is the average of the 7th and 8th values when sorted from minimum to maximum as shown below. Thus, the median is 104.5. [86,95,97,99,100,102,104,||105,106,106,109,113,113,125] b. Calculate the MADAM. Calculate absolute deviations from median by subtracting the median from each data value and taking absolute value of those. Absolute values of deviations are [18.5,9.5,7.5,5.5,4.5,2.5,0.5,0.5,1.5,1.5,4.5,8.5,8.5,20.5]. The MADAM (median of those absolute deviations) is 5. Note: if you want more practice on this, make up your own list of numbers (shorter is fine!) and confirm your answer using the Python function we wrote in Homework 2 Solutions! c. Complete the histogram below by drawing the heights for each provided bin. d. Label both axes and indicate the median on the graph. Note: Your histogram might look a little different if you included the minimum part of each bin rather than the maximum. Either is fine. It’s probably a good idea to include a title or caption too, but the title for this would be really boring like “Histogram of Lengths” so we didn’t ask for it.

Meer zien Lees minder
Instelling
Vak

Voorbeeld van de inhoud

Solutions to Practice Midterm Exam

1. Write the letters of the plots in the left panels below that match each of the plots in the
right panels. Then answer questions a-e below.




2. The first step to responsible data analysis is to visualize the raw data .

3. The median and mean are measures of the central tendency of the data, while the
MADAM and standard deviation are measures of the spread/variability .

,4. Use the data below, which are lengths in mm, to answer the following questions:
[86,95,97,99,100,102,104,105,106,106,109,113,113,125]

a. Calculate the median.

Since we have 14 numbers, the median is the average of the 7th and 8th values
when sorted from minimum to maximum as shown below. Thus, the median is
104.5.

[86,95,97,99,100,102,104,||105,106,106,109,113,113,125]

b. Calculate the MADAM.

Calculate absolute deviations from median by subtracting the median from each
data value and taking absolute value of those. Absolute values of deviations are
[18.5,9.5,7.5,5.5,4.5,2.5,0.5,0.5,1.5,1.5,4.5,8.5,8.5,20.5]. The MADAM (median
of those absolute deviations) is 5.

Note: if you want more practice on this, make up your own list of numbers
(shorter is fine!) and confirm your answer using the Python function we wrote in
Homework 2 Solutions!

c. Complete the histogram below by drawing the heights for each provided bin.

d. Label both axes and indicate the median on the graph.




Note: Your histogram might look a little different if you included the minimum part of
each bin rather than the maximum. Either is fine. It’s probably a good idea to include a
title or caption too, but the title for this would be really boring like “Histogram of Lengths”
so we didn’t ask for it.

5. “We compared two groups and calculated p = 0.2, so there is no difference between the
two groups.” Is this interpretation correct? Justify your answer.

, This interpretation is incorrect because all we can say is "we were not able to detect a
statistically significant difference" or “we fail to reject the null hypothesis” at ⍺=0.01 or
whatever. It’s the difference between “our study found no life on Mars” and “there is no
life on Mars”. If we had a larger sample size, we might find a statistically significant
difference. We didn’t provide the specific ⍺, but we almost always use ⍺=0.05 or smaller.

6. Give an example of a false positive and a false negative in the context of weather
prediction.

An example of a false positive would be if the weather forecast predicted rain yesterday
and there was no rain.

An example of a false negative would be if the weather forecast predicted no rain
yesterday, but there actually was rain then.

Note: Although these terms are also known as Type I and II error, we find these terms
confusing, so we will provide “false positive” and “false negative” on assignments and
exams from now on.

Geschreven voor

Vak

Documentinformatie

Geüpload op
14 februari 2022
Aantal pagina's
16
Geschreven in
2021/2022
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

$13.99
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
Examhack Stanford University
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
297
Lid sinds
4 jaar
Aantal volgers
238
Documenten
999
Laatst verkocht
21 uur geleden
EASY A GRADE!!

Here, you will find simple, articulate well-researched education material for you. .... ALL WORK HAS PASSED WITHOUT NEEDING REVISIONS AND BY THE RUBRIC.

3.8

61 beoordelingen

5
31
4
11
3
5
2
4
1
10

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen