Displaying 1 result from an estimated 1 matches for "fcdfcip".
Did you mean:
cdfcip
2010 Jul 21
1
function of an integral
...t)\right]^{I-1}du
In my case, the equation will be:
bip=cip+\frac{1}{\left[1-F\left(cip\right)\right]^{4}}\int_{cip}^{2,967}\left[1-F\left(u\right)\right]^{4}du
I am facing problem to create this variable bip because of the integral. I
am sure I am doing something wrong.
I used:
> fcdfcip <- ecdf(cip)
> f <- function(cip) (1 - fcdfcip)^4
> bip <- function(cip) cip + (1/f)*integrate(f,cip,2.967)
But when I ask for the summary of the variable bip, I find:
summary(bip)
Error in object[[i]] : object of type 'closure' is not subsettable
Sorry if I am do...