Data 8 Midterm Reference Sheet Spring 2019.pdf - Data 8 Midterm Reference Guide \u2014 Page 1 Statements more_than_1 = 2 3 Name Any expression \u25cf

Data 8 Midterm Reference Sheet Spring 2019.pdf - Data 8...

This preview shows page 1 - 2 out of 2 pages.

*&UUJ²V ± sequences of the same type that can be manipulated Arithmetic and comparisons are applied to each element of an array individually Elementwise operations can be done on arrays of the same size Statements don²t have a value they perform an action An assignment statement changes the meaning of the name to the left of the " symbol The name is bound to a value ³not an equation´µ more_than_1 = 2 + 3 Name Any expression < and > mean what you expect ³less than¶ greater than´ <= means ·less than or equal· likewise for >= == means ·equal· != means ·not equal· Comparing strings compares their alphabetical order A KLVWRJUJP has a few defining properties¸ The bins are continuous ³though some might be empty´ and are drawn to scale The JUHJ of each bar is equal to the percent of entries in the bin The total area is ¹ºº» The histogram on the left represents the theoretical probabilities in the distribution of the face that appears on one roll of a fair die The histogram on the right represents the observed distribution of the faces after rolling the die many times If we keep rolling¶ the right hand histogram is likely to look more like the one on the left Probability Histogram Empirical Histogram The body is executed IRU every item in a sequence The body of the statement can have multiple lines The body should do something¸ assign¶ sample¶ print¶ etcµ ,(JOLXOJWLQJ 559URKJKLOLWLHV 0TVRTUWQSJLRTJLSUY[ ?Z\QSJL7 P³event does not happen´ " ¹ ± P³event happens´ :Z\QSY[NPUWQSNPHFY[NPTVSU ?Z\QSJL ¸ P³two events both happen´ " P³one happens´ ¼ P³the other happens¶ given that the first happened´ $IINPY[NPTVSU ?Z\QSJL ¸ If an event can happen in ONLY one of two ways¸
Image of page 1
Image of page 2

You've reached the end of your free preview.

Want to read both pages?

  • Fall '17

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors