fwd.probs | R Documentation |
probability that forward return is positive given predictor is positive
fwd.probs(x, y, n, w, h, u, v, g, r)
x |
= a matrix/data frame (predictors) |
y |
= a matrix/data frame (total return indices) |
n |
= a positive integer (flow window in days/months) |
w |
= a boolean (sum/compound) |
h |
= a non-negative integer (lag in days/months) |
u |
= a non-negative integer (delay in days/months) |
v |
= a non-negative integer (0 = Sun, 1 = Mon, etc., the day you trade) |
g |
= a positive integer (return window in days/months) |
r |
= a string (index within which you trade) |
Other fwd: fwd.probs.wrapper
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.