BIG Txh, vector as parameter is something new ;/
Paul
W dniu 2016-01-08 o 20:19, Kristoffer Carlsson pisze:
Good thing with opensource is that you can look yourself:

https://github.com/JuliaStats/StatsBase.jl/blob/1090db25cc3afae3c3b737a853a6309b973f839a/src/signalcorr.jl#L124

On Friday, January 8, 2016 at 8:00:00 PM UTC+1, paul analyst wrote:

    Thx,
    how to insert lags ?

    julia> autocor(y,5)
    ERROR: MethodError: `autocor` has no method matching
    autocor(::Array{Float64,1}, ::Int64)
    Closest candidates are:
       autocor{T<:Real}(::Array{T<:Real,1},
    ::AbstractArray{T<:Integer,1})
    autocor{T<:Real}(::Union{Array{T<:Real,1},Array{T<:Real,2}})

    julia>
    W dniu 2016-01-08 o 19:07, Kristoffer Carlsson pisze:
    > Because it depends on what lag you use. Presumably you have to
    change the default lag.


Reply via email to