Publications by Ting-I Lin
ANLY505 Assignment #1
2E1. Which of the expressions below correspond to the statement: the probability of rain on Monday? (1) Pr(rain) (2) Pr(rain|Monday) (3) Pr(Monday|rain) (4) Pr(rain, Monday)/ Pr(Monday) # (2),(4) 2E2. Which of the following statements corresponds to the expression: Pr(Monday|rain)? (1) The probability of rain on Monday. (2) The probability of rai...
5053 sym R (3084 sym/16 pcs) 6 img
#3
4E1. In the model definition below, which line is the likelihood? \[\begin{align} \ y_i ∼ Normal(μ, σ) \\ \ μ ∼ Normal(0, 10) \\ \ σ ∼ Exponential(1) \\ \end{align}\] #y_i ∼ Normal(μ, σ) 4E2. In the model definition just above, how many parameters are in the posterior distribution? # 2:μ & σ 4E3. Using the model definition abov...
3265 sym R (5034 sym/26 pcs) 2 img
#4
5E1. Which of the linear models below are multiple linear regressions? \[\begin{align} {μ_i = α + βx_i} \tag{1}\\ μ_i = β_xx_i + β_zz_i \tag{2} \\ μ_i = β_xx_i + β_zz_i \tag{3} \\ μ_i = α + β(x_i − z_i) \tag{4} \\ μ_i = α + β_xx_i + β_zz_i \tag{5} \\ \end{align}\] #{2}{3}{4} are multiple linear regression 5E2. Write do...
3908 sym R (4056 sym/14 pcs) 2 img
Document
11E1. If an event has probability 0.35, what are the log-odds of this event? p <- 0.35 p/(1-p) ## [1] 0.5384615 11E2. If an event has log-odds 3.2, what is the probability of this event? lo <- 3.2 lo/(1+lo) ## [1] 0.7619048 11E3. Suppose that a coefficient in a logistic regression has value 1.7. What does this imply about the proportional change ...
2148 sym R (2025 sym/14 pcs)
Document
9E1. Which of the following is a requirement of the simple Metropolis algorithm? The parameters must be discrete. The likelihood function must be Gaussian. The proposal distribution must be symmetric. #3. the proposal distribution must be symmetric 9E2. Gibbs sampling is more efficient than the Metropolis algorithm. How does it achieve this ext...
2111 sym R (4704 sym/17 pcs) 3 img
Document
8E1. For each of the causal relationships below, name a hypothetical third variable that would lead to an interaction effect: Bread dough rises because of yeast. Education leads to higher income. Gasoline makes a car go. #Bread dough rises because of yeast:sugar, since the yeast needs some food to grow; temperature, if it's too hot, the yeast d...
2549 sym R (5089 sym/27 pcs) 2 img
#6
7E1. State the three motivating criteria that define information entropy. Try to express each in your own words. #1) with a continuous scale which the spacing between adjacent values is consistent #2) the size of the possibility space is the value scales with the number of possible outcomes #3) events are independent 7E2. Suppose a coin is weigh...
1547 sym R (5037 sym/34 pcs)