This is my FTSE column
To calculate log return of the FTSE; R code is given below.
log_return = diff(log(FTSE))*100
How to change it to JULIA further I need to do adf.test
adf.test(log(FTSE))
adf.test(log_return)
I had tried this
ADFTest(FTSE::AbstractVector{T}, deterministic::Symbol, lag::Int) where T<:Real
But I got an error.
in the same way I tried for this line
Box.test(log_return,lag=10,type = "Ljung-Box")
But error occurred.
Can anyone help me write the julia version of these, TIA
