foundations of computational agents
Suppose Kim has a camper van (a mobile home) and likes to keep it at a comfortable temperature and noticed that the energy use depended on the elevation. Kim knows that the elevation affects the outside temperature. Kim likes the camper warmer at higher elevation. Note that not all of the variables directly affect electrical usage.
Show how this can be represented as a causal network, using the variables Elevation, Electrical Usage, Outside Temperature, and Thermostat Setting.
Give an example where intervening has an effect different from conditioning for this network.
Exercise 9.2 asked to intuitively explore independence in Figure 9.37. For parts (c), (d), and (e) of Exercise 9.2, express the question in terms of conditional independence, and use d-separation to infer the answer. Show your working.
Consider the causal network of Figure 11.12. For each part, explain why the independence holds or doesn’t hold, using the definition of d-separation. The independence asked needs to hold for all probability distributions (which is what d-separation tells us).
Is independent of given (i.e., given no observations)?
Is independent of given (i.e., given only is observed)?
Is independent of given ?
Is independent of given (i.e., given only and are observed)?
Is independent of given ?
Is independent of given ?
Is independent of given ?
Is independent of given ?
What needs to be observed, and what needs to be not observed for to be independent of ? Give a complete characterization.
Consider the causal network of Figure 11.12. The following can be answered intuitively or using the do-calculus. Explain your reasoning:
Does ?
Does ?
Does ?
Does ?
Bickel et al. [1975] report on gender biases for graduate admissions at UC Berkeley. This example is based on that case, but the numbers are fictional.
There are two departments, which we will call and (so is a random variable with values and ), which students can apply to. Assume students apply to one, but not both. Students have a gender (male or female), and are either admitted or not. Consider the table of the percent of students in each category of Figure 11.13.
Dept | Gender | Admitted | Percent |
---|---|---|---|
32 | |||
18 | |||
7 | |||
3 | |||
5 | |||
14 | |||
7 | |||
14 |
In the semantics of possible worlds, we will treat the students as possible worlds, with the measure of a set of worlds corresponding to the number of students in the set.
What is ?
What is ?
Which gender is more likely to be admitted?
What is ?
What is ?
Which gender is more likely to be admitted to
?
What is ?
What is ?
Which gender is more likely to be admitted to
?
This is an instance of Simpson’s paradox. Why is it a paradox? Explain why it happened in this case.
Does this provide evidence that the university has a bias against women? See Section 11.3.4.
Give another scenario where Simpson’s paradox occurs.
Suppose someone provided the source code for a recursive conditioning program that computes conditional probabilities in belief networks. Your job is to use it to build a program that also works for interventions, that is for queries of the form . Explain how you would proceed.
Consider a two-variable causal network with Boolean variables and , where is a parent of , and the following conditional probabilities:
Consider the counterfactual: “ is observed to be true; what is the probability of if was false?”
Draw the belief network that can be used to answer this question. Give all (conditional) probabilities. What needs to be conditioned on and what is queried to answer this counterfactual question? What is the resulting answer? (This can be done by hand or using any belief network implementation.)