Monday, 16 May 2016

integration - Integrating a function over a random effect (Normal distribution)




I would like to integrate a function with a random effect.
The function is :



G(t;β)=exp(λtγexp(βZ)),



β being the random effect taken from a normal distribution of mean 0 and variance σ.
The solution would be to make a double integration, first on t and then over the distribution of the random effect.



But, I don't know ho to do in practice ! I am ready to use Monte-Carlo integration, I just need to calculate the area under the curve.




Any suggestion ?



Thanks a lot !


Answer



Define K:=λexpβZ so G=expKtγ and 0Gdt=1γΓ(1γ)K1/γ. Next integrate out the β dependence, viz. R1σ2πexp(β22σ2Zγβ)1γΓ(1γ)λ1/γdβ=1γΓ(1γ)λ1/γexp(Zσ)22γ2.


No comments:

Post a Comment

real analysis - How to find limhrightarrow0fracsin(ha)h

How to find lim without lhopital rule? I know when I use lhopital I easy get $$ \lim_{h\rightarrow 0}...