help(integrate)
Nathalie Gimenes <ncgmsanc...@gmail.com> Sent by: r-help-boun...@r-project.org 07/19/2010 04:59 PM To r-help@r-project.org cc Subject [R] integral in R 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 donât 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. [[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.