Completed: / exercises

QUIZ 5: Filtering

Due date: 2026-02-14 23:59.
Recommended Resources:
%T: π‘‹β‚–β‚Šβ‚([0,1]) = [1,3] %F: π‘‹β‚–β‚Šβ‚([βˆ’1,1]) = [βˆ’1,1] %T: 𝑓(𝑓(𝑓(1))) = 15 %F: π‘‹β‚–β‚Šβ‚(π‘‹β‚–β‚Šβ‚([βˆ’1,1])) = [βˆ’1,1] %T: π‘‹β‚–β‚Šβ‚(ℝ) = ℝ %T: π‘‹β‚–β‚Šβ‚(βˆ…) = βˆ… %F: π‘‹β‚–β‚Šβ‚(βˆ…) = {0} %T: π‘‹β‚–β‚Šβ‚(π‘‹β‚–β‚Šβ‚([βˆ’1,1])) = [βˆ’1,7] %T: π‘‹β‚–β‚Šβ‚({βˆ’1}) = {βˆ’1} %F: 𝑓(𝑓([0,1])) = 𝑓(𝑓(𝑓(𝑓([0,1]))))

Question 1: Deterministic state flow

Let 𝑋 = ℝ be the state space. Let 𝑓 : 𝑋 β†’ 𝑋 be the deterministic state flow defined as 𝑓(π‘₯) = 2π‘₯ + 1.
Let
X_{k+1}(X_k) = \{x_{k+1} \in X \mid x_k \in X_k \text{ and } x_{k+1} = f(x_k) \}. \\\
Warning: You have not logged in. You cannot answer.
%T: 𝑓(0) = [βˆ’1,1] %F: 𝑓(1) = [βˆ’1,1] %F: π‘‹β‚–β‚Šβ‚([βˆ’2,2]) = [βˆ’4,4] %T: π‘‹β‚–β‚Šβ‚([βˆ’1,1]) = [βˆ’2,2] %T: If 𝐴 βŠ‚ 𝐡, then 𝑓(𝐴) βŠ‚ 𝑓(𝐡) %T: If 𝐴 βŠ‚ 𝐡, then π‘‹β‚–β‚Šβ‚(𝐴) βŠ‚ π‘‹β‚–β‚Šβ‚(𝐡) %F: π‘‹β‚–β‚Šβ‚([0,∞)) = ℝ %F: π‘‹β‚–β‚Šβ‚(π‘‹β‚–β‚Šβ‚((βˆ’1,1))) = [βˆ’4.4] %F: π‘‹β‚–β‚Šβ‚({0}) = [0,1] %F: π‘‹β‚–β‚Šβ‚([βˆ’1,0]) = π‘‹β‚–β‚Šβ‚([0,1])

Question 2: Nondeterministic state flow

Let 𝑋 = ℝ be the state space. Let 𝑓 : 𝑋 β†’ pow(𝑋) be the nondeterministic state flow defined as:
f(x) = \{x + d \in X \;|\; d \in [-1,1] \}. \\\
Let
X_{k+1}(X_k) = \{x_{k+1} \in X \mid x_k \in X_k \text{ and } x_{k+1} \in f(x_k) \}. \\\
Warning: You have not logged in. You cannot answer.
% F: The preimage of 0 yields β„Žβ»ΒΉ(0) = [βˆ’1/2, 1/2]. % F: The preimage of 0 yields β„Žβ»ΒΉ(0) = (βˆ’1/2, 1/2). % T: The preimage of 0 yields β„Žβ»ΒΉ(0) = [βˆ’1/2, 1/2). % F: The preimage of 0 yields β„Žβ»ΒΉ(0) = (βˆ’1/2, 1/2). % T: If 𝑋ₖ = [0, 1] and the next observation is π‘¦β‚–β‚Šβ‚ = 1, then π‘‹β‚–β‚Šβ‚ = [1/2, 3/2). % F: If 𝑋ₖ = [0, 1] and the next observation is π‘¦β‚–β‚Šβ‚ = 1, then π‘‹β‚–β‚Šβ‚ = (1/2, 3/2). % T: If 𝑋ₖ = [0, 1/2] and the next observation is π‘¦β‚–β‚Šβ‚ = 2, then π‘‹β‚–β‚Šβ‚ = {3/2}. % F: If 𝑋ₖ = [0, 1/2] and the next observation is π‘¦β‚–β‚Šβ‚ = 2, then π‘‹β‚–β‚Šβ‚ = βˆ…. % F: If 𝑋ₖ = [0, 1] and the next observation is π‘¦β‚–β‚Šβ‚ = 2, then π‘‹β‚–β‚Šβ‚ = [5/2, 2]. % T: If 𝑋ₖ = ℝ, then π‘‹β‚–β‚Šβ‚ = β„Žβ»ΒΉ(π‘¦β‚–β‚Šβ‚).

Question 3: Nondeterministic temporal filtering

Consider the same setup as in the previous problem, but now include a sensor mapping β„Ž : 𝑋 β†’ π‘Œ defined by:
y = \lfloor x + \tfrac{1}{2} \rfloor, \\\
in which βŒŠΒ·βŒ‹ denotes the floor function (equivalent to the floor function in Python).
Warning: You have not logged in. You cannot answer.
% T: If 𝑝(π‘Žβˆ£π‘) β‰  𝑝(π‘Ž) and 𝑝(π‘βˆ£π‘Ž) β‰  𝑝(𝑏), but 𝑝(π‘Ž,π‘βˆ£π‘) = 𝑝(π‘Žβˆ£π‘)𝑝(π‘βˆ£π‘), then π‘Ž and 𝑏 are conditionally independent given 𝑐 % F: Independence without conditioning does not imply conditional independence % T: 𝑝(π‘Žβˆ£π‘)𝑝(𝑏) = 𝑝(π‘Ž)𝑝(π‘βˆ£π‘Ž) % F: For any π‘Ž and 𝑏, 𝑃(π‘ŽβŸ|βŸπ‘) β‰₯ 𝑃(π‘Ž). % T: If π‘Ž and 𝑏 are independent, then 𝑝(π‘Ž,𝑏) = 𝑝(π‘Ž)𝑝(𝑏) % F: 𝑝(π‘Žβˆ£π‘,𝑐) = 𝑝(π‘Žβˆ£π‘) % T: 𝑝(π‘Žβˆ£π‘,𝑐) = 𝑝(π‘Žβˆ£π‘)

Question 4: Discrete probability statements

Select ALL correct statements:
Warning: You have not logged in. You cannot answer.
% T: By marginalization, 𝑝(π‘Ž) = βˆ‘α΅¦ 𝑝(π‘Žβˆ£π‘) p(b) % T: By marginalization, 𝑝(π‘Žβˆ£π‘) = βˆ‘α΅¦ 𝑝(π‘Žβˆ£π‘,𝑐) p(b|c) % F: 𝑝(π‘Žβˆ£π‘) = 𝑝(π‘βˆ£π‘Ž) % T: If π‘Ž and 𝑏 are independent, then 𝑃(π‘ŽβŸ|βŸπ‘) = 𝑃(π‘Ž). % T: If π‘Ž and 𝑏 are independent, then 𝑃(π‘βŸ|βŸπ‘Ž) = 𝑃(𝑏). % T: If 𝑃(π‘ŽβŸ|βŸπ‘) = 𝑃(π‘Ž), then π‘Ž and 𝑐 are independent. % F: If 𝑃(π‘Ž, 𝑏) = 0, then at least one of 𝑃(π‘Ž) or 𝑃(𝑏) must be 0.

Question 5: More discrete probability statements

Select ALL correct statements:
Warning: You have not logged in. You cannot answer.
%T: πœ‡β‚ = πœ‡ + 1. %T: πœ‡β‚‚ = 2πœ‡. %F: πœ‡β‚‚ = 2πœ‡β‚ βˆ’ 1. %F: πœ‡β‚ = πœ‡β‚‚. %F: πœŽβ‚ = 𝜎 + 1. %T: πœŽβ‚ = 𝜎. %T: πœŽβ‚‚ = 2𝜎. %F: πœŽβ‚‚ = 4𝜎. %F: πœ‡β‚ = πœ‡ + 1 only if the samples are drawn from a Gaussian distribution. %F: πœ‡β‚‚ = 2πœ‡ only if the samples are drawn from a Gaussian distribution.

Question 6: Gaussians and sampling

Let 𝑆 βŠ‚ ℝ be a collection of 10,000 distinct samples that have mean πœ‡ and variance 𝜎².
Make a set 𝑆₁ = { π‘₯ ∈ ℝ ∣ π‘₯ βˆ’ 1 ∈ 𝑆 } by adding 1 to all of the samples. Make another set 𝑆₂ = { π‘₯ ∈ ℝ ∣ π‘₯ / 2 ∈ 𝑆 } by multiplying all of the samples by 2. Let πœ‡α΅’ and 𝜎ᡒ² denote the mean and variance, respectively, of 𝑆ᡒ for 𝑖 = 1, 2.
Warning: You have not logged in. You cannot answer.
%T: 𝑝(π‘₯β‚–β‚Šβ‚ ∣ 𝑦̃ₖ) is the pdf of the state at stage π‘˜+1, given observations up to stage π‘˜. %F: 𝑝(π‘₯β‚–β‚Šβ‚ ∣ 𝑦̃ₖ) is the pdf of the state at stage π‘˜+1, given the observation at stage π‘˜. %T: 𝑝(π‘₯β‚–β‚Šβ‚ ∣ π‘₯β‚–, 𝑦̃ₖ) = 𝑝(π‘₯β‚–β‚Šβ‚ ∣ π‘₯β‚–, 𝑦̃ₖ) because π‘₯β‚–β‚Šβ‚ is assumed to be conditionally independent of 𝑦̃ₖ, given π‘₯β‚–. %F: 𝑝(π‘₯β‚–β‚Šβ‚ ∣ π‘₯β‚–, 𝑦̃ₖ) = 𝑝(π‘₯β‚–β‚Šβ‚ ∣ π‘₯β‚–) because π‘₯β‚–β‚Šβ‚ is assumed to be conditionally independent of π‘₯β‚–, given 𝑦̃ₖ. %T: When π‘¦β‚–β‚Šβ‚ is taken into account, the probabilistic sensing model is (π‘¦β‚–β‚Šβ‚ ∣ π‘₯β‚–β‚Šβ‚).

Question 7: Probabilistic filters

Select all correct statements:
Warning: You have not logged in. You cannot answer.
%T: 𝑃(π‘¦β‚–β‚Šβ‚ ∣ π‘₯β‚–β‚Šβ‚, 𝑦̃ₖ) = 𝑃(π‘¦β‚–β‚Šβ‚ ∣ π‘₯β‚–β‚Šβ‚) because π‘¦β‚–β‚Šβ‚ is assumed to be conditionally independent of 𝑦̃ₖ, given π‘₯β‚–β‚Šβ‚. %F: 𝑃(π‘¦β‚–β‚Šβ‚ ∣ π‘₯β‚–β‚Šβ‚, 𝑦̃ₖ) = 𝑃(π‘¦β‚–β‚Šβ‚ ∣ π‘₯β‚–β‚Šβ‚) because π‘¦β‚–β‚Šβ‚ is assumed to be conditionally independent of π‘₯β‚–β‚Šβ‚, given 𝑦̃ₖ. %F: If 𝑋 = {1,2,3,4,5,6,7}, then the dimension of π‘°β‚šα΅£β‚’α΅¦ is 7. %T: If 𝑋 = {1,2,3,4,5,6,7}, then the dimension of π‘°β‚šα΅£β‚’α΅¦ is 6. %F: We must always have that 𝑝(π‘₯β‚– ∣ 𝑦̃ₖ) > 0 for all π‘˜, π‘₯β‚–, and 𝑦̃ₖ.

Question 8: More probabilistic filters

Select all correct statements:
Warning: You have not logged in. You cannot answer.

Authors

Steven M. LaValle.
?