Publications by Xi Jing

Assignment #1

18.05.2020

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) and (4) are correct. 2E2. Which of the following statements corresponds to the expression: Pr(Monday|rain)? (1) The probability of rain on Monday. (2) The pr...

5053 sym R (4261 sym/16 pcs) 6 img

Assignment #4

15.06.2020

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),(5) are multiple linear regression models....

4094 sym R (6739 sym/27 pcs) 5 img

Document

03.08.2020

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 (13615 sym/38 pcs)

505- Assignment #7

12.07.2020

title: ‘Assignment #7’ author: “Xi Jing” date: “2020-07-12” output: html_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. #1. The yeast can be effect...

3677 sym R (7135 sym/31 pcs) 1 img

Assignment #6

06.07.2020

7E1. State the three motivating criteria that define information entropy. Try to express each in your own words. #The motivating criteria are a measure of uncertainty which (1) should be measured on a continuous scale such that the spacing between adjacent values is consistent, (2) capture the size of the possibility space such that its value sca...

1547 sym R (6540 sym/29 pcs)

Assignment #5

23.06.2020

6E1. List three mechanisms by which multiple regression can produce false inferences about causal effects. #The three mechanisms are multicollinearity, post-treatment bias, and collider bias. 6E2. For one of the mechanisms in the previous problem, provide an example of your choice, perhaps from your own research. library(rethinking) ## Loading re...

1229 sym R (7209 sym/34 pcs) 1 img

Document

20.07.2020

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 is a requirement of the simple Metropolis algorithm 9E2. Gibbs sampling is more efficient than the Metropolis algorithm. How does it achieve t...

2417 sym R (29541 sym/57 pcs) 6 img