Mean and s.d. of product of two variables

AI Thread Summary
To calculate the mean and standard deviation of the product of two variables, the delta method can be applied, utilizing approximation methods like Taylor series or simulation. A key formula to remember is E[XY] = E[X]E[Y] + Cov[X,Y], which requires knowledge of the covariance between the two variables. The discussion highlights the first-order and second-order approximations for the function Y = g(X), emphasizing the importance of understanding the mean and variance of X. SPSS can assist in these calculations, but users may find the formulas complex. Overall, a solid grasp of covariance and approximation techniques is essential for accurate calculations.
Monique
Staff Emeritus
Science Advisor
Gold Member
Messages
4,211
Reaction score
68
I'm not a math wizard and now I need to calculate the mean and s.d. of the product of two variables. Apparently there is a delta method that should be able to do the trick, but I don't know how to apply it. I have SPSS, should that be able to help me out?
 
Physics news on Phys.org
I found this: http://www-stat.stanford.edu/~susan/courses/s200/lectures/lect5.pdf

Unfortunately the formulas are a bit too much for me. Does the second formula on page 2 make sense to anyone?
 
In general you need to use an approximation method (e.g. Taylor series) or simulation.

A useful formula is: E[XY] = E[X]E[Y] + Cov[X,Y]. This assumes you know the covariance between X and Y.

As for the formulas, Y = g(X) is approximated around the mean of X, m, as g(m) + (X - m)g'(m) + (X - m)^2 g"(m)/2. In a first order approximation the second-order term (X - m)^2 g"(m)/2 is assumed zero, so I can write Y = g(m) + (X - m)g'(m) and therefore E[Y] = E[g(m) + (X - m)g'(m)] = E[g(m)] + E[(X - m)g'(m)]. Since m is a constant, for an arbitrary function h and an arbitrary random variable Z, E[h(m)] = h(m) and E[Z h(m)] = h(m)E[Z]. Hence E[Y] = g(m) + g'(m)E[(X - m)] = g(m) + g'(m)(E[X] - m) = g(m), because E[X] = m.

In a second-order approximation, you have the additional term E[(X - m)^2 g"(m)/2] = g"(m)E[(X - m)^2]/2 = g"(m)Var[X]/2.

EnumaElish
___________________________________________
I would definitely have logged in as EnumaElish had PF administration awarded that account the privilege of posting replies, after I reset my e-mail address Tuesday, October 28, 2008.
 
Last edited:
I was reading documentation about the soundness and completeness of logic formal systems. Consider the following $$\vdash_S \phi$$ where ##S## is the proof-system making part the formal system and ##\phi## is a wff (well formed formula) of the formal language. Note the blank on left of the turnstile symbol ##\vdash_S##, as far as I can tell it actually represents the empty set. So what does it mean ? I guess it actually means ##\phi## is a theorem of the formal system, i.e. there is a...
Back
Top