Learn R Programming

AnalyzeTS (version 2.0)

FindC3: Find the best C value for Improve Abbasov Mamedova version 1 model

Description

Finding a C value, which is the best for Improve Abbasov Mamedova version 1 models.

Usage

FindC3(ts, n = 7, w = 7, D1 = 0, D2 = 0, fty = c("ts", "f"), error = 1e-04, trace = 0, MinC.start = 0, MaxC.start = 1000, type = "MAE")

Arguments

ts
Observation series.
n
Number of fuzzy set.
w
'w' parameter.
D1
A adequate value.
D2
A adequate value.
fty
fty="f", N(length(ts)) = N(length(ts)-1) + V(length(ts)+1).

fty="ts", N(length(ts)) = ts(length(ts)) + V(length(ts)+1).

trace
Let trace=TRUE to print all of calculation results out to creen. Let trace=FALSE (default) to only print C and MAE value.
error
Error of C value from FindC2 function compare the best C value of model. Default error = 0.0001
MinC.start
Min value of C in step first. Default MinC = 0.
MaxC.start
Max value of C in step first. Default MaxC = 1000.
type
A character string specifying the accuracy of Improve Abbasov Mamedova version 1 model, must be one of "ME","MAE" (default), "MPE", "MAPE", "MSE", or "RMSE". You can specify just the initial letter.

Value

The best C values.

Details

Now, this documen are updating.

See Also

FindC2,Abbasov.Cs3,Abbasov.Cs2

Examples

Run this code
#FindC3(lh,n=7,w=7,D1=0,D2=0,fty="ts",MaxC=1000000,trace=0,error=0.0001)
#FindC3(lh,n=7,w=7,D1=0,D2=0,fty="f",MaxC=1000000,trace=1,error=0.0001)

Run the code above in your browser using DataLab