Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results for lotus
Search options not deleted
7 votes
Accepted

Is downsampling a valid approach to compare regression results across groups with different ...

car_model %in% c('Lotus Europa', 'Ford Pantera L', 'Ferrari Dino', 'Maserati Bora', 'Volvo 142E')) model = lm(mpg ~ disp * am, data = df) summary(model) #> #> Call: #> lm(formula = mpg ~ disp * am, data …
Eoin's user avatar
  • 9,933
3 votes
2 answers
288 views

Is downsampling a valid approach to compare regression results across groups with different ...

car_model %in% c('Lotus Europa', 'Ford Pantera L', 'Ferrari Dino', 'Maserati Bora', 'Volvo 142E')) # Fit two models separately for automatic and manual cars model_big <- lm(mpg ~ disp, data = df %>% filter …
Dr. Fabian Habersack's user avatar
1 vote
2 answers
102 views

Can we express the Law of the Unconscious Statistician using the CDF instead of the PDF? [duplicate]

I have only seen LOTUS given either in terms of the density $$\mathbb{E}[g(X)] = \int g(x) f(x) dx$$ or in terms of the Lebesgue-Stieltjes integral $$\mathbb{E}[g(X)] = \int g(x) dF_X(x).$$ I have also … seen this post showing how moments can be computed using the CDF and not the PDF: Similar to computing these moments, is there a way to write the LOTUS using the CDF and not the PDF? …
Galen's user avatar
  • 9,680
1 vote

Deriving the Reparameterization Trick

\epsilon = E_{p{(\boldsymbol\epsilon)}} (f(g_{\theta}(\boldsymbol\epsilon, \mathbf{x})) ) \end{aligned} \end{equation} Within the above derivation, I have attempted to use a simplified version of the LOTUS
Gaurav Dhir's user avatar
1 vote
1 answer
119 views

Why is CIHI recommending that we multiply the multiplicative error estimate by the per-capit...

I also considered LOTUS, but that doesn't seem to work here either. …
Galen's user avatar
  • 9,680
1 vote
1 answer
628 views

What is the point of LOTUS if I can just compute the average of $g(X)$?

The law of the unconscious statistician (LOTUS), is a theorem used to calculate the expected value of a function $g(X)=Y$ of a random variable $X$ when one knows the probability distribution of $X$ but … If the point of LOTUS is to find the expectation $E[g(X)]$, then the theorem suggests using $X$'s probability density and $g(X)$'s values: $$E[g(X)]=\sum_x\,g(x)f_X(x),\;\text{(discrete)}$$ or $$E[g(X) …
user654123's user avatar
3 votes
1 answer
524 views

Notation confusion regarding Expectation in Kullback-Leibler divergence definition

Regarding the derivation of the third term, do you get it via the LOTUS, setting $g(X)$ as $\log\left(\frac{P(X)}{Q(X)}\right)$ ? …
Soltius's user avatar
  • 1,396
3 votes

Derivation of ELBO in ADVI Paper, Jacobian of Elliptical Transformation

I don't think this has anything to do with LOTUS, instead it's just a quality of the Normal distribution: Suppose $x\sim N(\mu, \Sigma)$. …
Maverick Meerkat's user avatar
4 votes
Accepted

Derivation of ELBO in ADVI Paper, Jacobian of Elliptical Transformation

The transformation of the formula from (5) in the paper to the formula at the bottom of page 9 is a consequence of the Law of the Unconscious Statistician (LOTUS) -see (28) in Monte Carlo Gradient Estimation … The proof of the LOTUS effectively involves showing that the Jacobian determinant ($|\det J_{S^{-1}}|$) arising in the modified density for $\eta$ as a result of the change of variables cancels out with …
Steve Kroon's user avatar
2 votes

Does the variance of a sum equal the sum of the variances?

{n} X_i \right) \right) + E \left( \left[ E\left( \sum_{i=1}^{n} X_i \right) \right]^2 \right) $$ The last term is the expectation of a constant which is equal to the constant itself (by means of the LOTUS
Fabio Carfora's user avatar
0 votes

What is the intuition behind an Indicator Function?

The easiest way to get it, in my opinion, is using LOTUS. $$ \mathbb{E}[\: g(x) \: ] = \int_X g(x)\cdot f(x)dx $$ Indicator function is a function, so we may put it directly instead of $g(x)$. …
garej's user avatar
  • 359
0 votes
0 answers
67 views

Why does the Law of the Unconscious Statistician work here for the pathwise estimator

boldsymbol{\epsilon})\left|\nabla_{\boldsymbol{\epsilon}} g(\boldsymbol{\epsilon} ; \boldsymbol{\theta})\right|^{-1} $$" "Equipped with the pathwise simulation property of continuous distributions and LOTUS
a12345's user avatar
  • 95
0 votes

Difference between averaging and ignoring the partial dependencies?

following form: $$F_z(z)=P(Z<z)=P(f(w)<z)=P(w<f^{-1}(z))=F_w(f^{-1}(z))$$ And p.d.f. for z will have the following form: $$f_z(z)=F_z'(z)=f_w(w)|_{w=f^{-1}(z)} \cdot (f^{-1}(z))'_{z}$$ Derivation of LOTUSLotus allows us to consider the expectation of function as the expectation of a random variable (r.v.) by itself. …
Konstantin Burlachenko's user avatar
1 vote

Expectation for a function of a discrete random variable

{v_1}p_2 + \cancelto{g(u_5)}{v_1}p_5 + \cancelto{g(u_1)}{v_2}p_1 + \cancelto{g(u_3)}{v_3}p_3 + \cancelto{g(u_4)}{v_3}p_4\\ &= \sum_i g(u_i)p_i\\ &= \sum_i g(u_i)P\{X=u_i\}\tag{2} \end{align} which is LOTUS … Anyway, that's my intuition as to why LOTUS is true. A formal proof would need to talk of an onto mapping from the set $\{u_i\}$ to the (possibly smaller) set $\{v_j\}$ etc. …
Dilip Sarwate's user avatar
1 vote
Accepted

Expected value of random walk

The first equality stems from linearity of expectation, and the second equality is LOTUS: $\mathbb E[X]=\sum_{a\in\mathscr A} a \cdot \mathbb P[X=a]$. …
John D's user avatar
  • 126

15 30 50 per page