Hello All, I have to create a variable that is a function of another one (already created), its cumulative distribution function and the integral of this cumulative distribution, with limits: 0 and the value of the variable.
To be clear, I have the variable called cip. And its cdf called cdfcip I need to create the variable: bip = cip + ((1 cdfcip)^4)*integral((1-cdf(u))^4*du, 0, value of the variable cip) The problem: I dont know how to do this integral. It is like a integral of ((1 F(u))^4*du with limits 0 and a value c of individual i in case p of the variable cip. Does anybody knows how to do it? Am I clear with the question? Thank you very much! Nathalie [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.