Computer Science 2034A/B Lecture Notes - Lecture 3: Probability Mass Function, Data Wrangling, Binomial Distribution
Document Summary
Sampling frame all students who attempted to fill out the survey. Sample all students who completed the survey correctly (valid data) before the deadline. Most popular programming language of everyone enrolled. Voluntary response: people chose not to respond. Extreme responding: value for programming experience, people select least or most option. Acquiescence: agree w/ everything/agree when in doubt. Under coverage: non representative sample, members discriminated against. Convenience sampling, because he gave it out to anyone who could do it. Probability mass function (pmf) i. e 13% chance there are 5 students for alice. Event: i. e chance of there being 2 or 0 students is 70% (= 25% + 45% ) Expected value = sum # of students * p(x) = 3. 25. Variance = sum of last row = 11. 49. Double check why cumulative function didn"t work in example 4. 1 to 1, how well u can draw a line means more correlation. Use regular expressions" in text editors, everything is a character.