# NOT RUN {
# Using the Bitcoin daily returns, we estimate the parameter of the GARCH model in a robust way
param = ROBUSTGARCH(returnsexample)
# With the estimated parameters, we estimate the volatiltiy in a robust way
vol = fitted_Vol(param, returnsexample)
# }
Run the code above in your browser using DataLab