Do Indicator Functions Require Independence of Variables?

  • Context: Graduate 
  • Thread starter Thread starter quema
  • Start date Start date
  • Tags Tags
    Functions
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 3K views
quema
Messages
1
Reaction score
0
Hi,

If [tex]X[/tex] and [tex]Y[/tex] are two random variables. Let [tex]Z=max\left\{{X,Y}\right\}[/tex]. Can I write:



[tex]E(X-Y)max\left\{{X,Y}\right\}=E(X-Y)X1_{\left\{{X\geq{}Y}\right\}}+E(X-Y)Y1_{\left\{{X\leq{}Y}\right\}}[/tex]

Do I need to assume that both random variables are independent?

Thanks.
 
Physics news on Phys.org
quema said:
Can I write:
[tex]E(X-Y)max\left\{{X,Y}\right\}=E(X-Y)X1_{\left\{{X\geq{}Y}\right\}}+E(X-Y)Y1_{\left\{{X\leq{}Y}\right\}}[/tex]

Change the <= to < so you're not double-counting the case where X=Y, and it'll hold true regardless of dependence or whether they are discrete or continuous.