See if you can use is.nan() to figure out which values of B, Bmax, ...,
cause
the result to be NaN (not a number). One possibility is if B were always
negative so abs(B)/max(B) could be negative: (negative)^(non-integer power)
is NaN.
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Tue, May 3, 2
> On May 3, 2016, at 3:54 AM, T.Riedle wrote:
>
> Something is wrong here. The formula
>
> pmin(psi/VaR,exp(((abs(B)/Bmax)^w2)*log((psi/VaR),2.718182)))
>
>
> provides a time series. Nevertheless, the returned values are incorrect and
> it produces NANs.
The only thing we can conclude at th
Something is wrong here. The formula
pmin(psi/VaR,exp(((abs(B)/Bmax)^w2)*log((psi/VaR),2.718182)))
provides a time series. Nevertheless, the returned values are incorrect and it
produces NANs.
From: William Dunlap
Sent: 02 May 2016 20:04
To: T.Riedle
Cc: r-h
3 matches
Mail list logo