Score: 0%
Enter your full name.
Answer all parts, then click “Check Q1”.
It still costs 30¢ to play, but the coin is not fair. Enter the probability of heads that makes the expected value exactly 30¢.
Let X take on values 0 through 4 with equal probability. Enter the expected value and the variance.
The sample is x <- c(1,1,1,2,2,2,2,3,3,3). Enter your estimates for E[X] and Var(X). Also paste the R code you used. Your code should use sum() and length().
Take the line y = 3x + 5.
Enter your values for b1 and b0, then paste the R code you used. Your code should use cov(), var(), and mean().
First paste the R code you used to fit the model. Then fill in the two interpretation blanks.
Download a completion PDF that includes your name, a timestamp, and your score.