zpp_norm | R Documentation |
This function computes the closed-form normal ZPP assuming the price series follows a random walk with drift with normal innovations
zpp_norm(prices, n.days = 250)
prices |
is a numeric vector containing the prices series |
n.days |
is the number of time-steps |
zpp.norm is the estimated closed-form normal ZPP
btc_data<-dat<-bitcoinity_download(currency="USD", data_type="price",
exchange="coinbase",time_length = "2y")
prices<-btc_data$avg
zpp.norm<-zpp_norm(prices)
zpp.norm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.