# Sys.setlocale(category="LC_ALL","")   #Sys.setlocale(category="LC_ALL", locale = "English_United States.1252")
######################################################################
### Common parameters:
######################################################################
	###============================================================###
	### ..ET.name: x-axis label from the diagnosis to extrapolation time
	### ..fileEncoding: if not empty, the character data can be re-encoded.
	### ..encoding: encoding to be assumed for input strings ("latin1" or "UTF-8" or "bytes" or "unknown")
	###============================================================###
	..ET.name = "extrapolation end time" 
	..fileEncoding = "" 
	..Encoding = "unknown" 
	
######################################################################
### Parameters used only for the estimation of LE 
######################################################################
	###============================================================###
	### ..VirtualRef = 0, not simulate virtual survival time of the healthy reference as S(index) <= S(general reference) or S(index) > S(general reference)
	###              = 1, simulate virtual survival time of the healthy reference as #[S(index) > S(general reference)] >= 12(=MinFreq)
	###              = 2, simulate virtual survival time of the healthy reference as S(index) <= S(general reference) or S(index) > S(general reference)
	### ..FT.Sname: x-axis label from the diagnosis to the last month before starting survival extrapolation 
	### ..step.Len: parameter for rcsGet function
	### ..w.t.start: parameter for RatioF.Check function
	### ..n.ref: number of the reference population generated from the life tables
	###============================================================###
	..VirtualRef = c(VirtualRef=1, MinFreq=12)
	..FT.Sname = "last month before starting extrapolation"    
	..step.Len = c(MaxStep=12, PreMonth.max=3)   
	..w.t.start = 12   
	..n.ref = 100000
	..MaxAge = 110
	..SaveBootRandPosi = FALSE

	###============================================================###
	### ..HRefSel: Method for generating healthy reference population
	###            = 1(<=ver5.3), 2(new method, >=ver6.0)
	### ..RefAdjSur : TRUE (using weights to estimate adjusted survival function   
	###                    for the age- and gender-matched reference polulation)
	###               FALSE (weight=1 for all individuals of the reference group) 
	###============================================================###
	..HRefSel = 2
	..RefAdjSur = TRUE

	###============================================================###
	### *** Method for generating survival function (S(t|s,a)) of the references with sex=s, age=a and onset year=y *** 
	### *** S(t|s,a)=S(t-1|s,a)*[1-q(a+t-1,s,y*)], where q(a+t-1,s,y*) is the probability that someone with sex s and
	### *** aged exactly a+t-1 years old will die before reaching age a+t based on the standard life table of year y*                                        
	### ..LifetableType = 0 or 1(default), where
	###                 0 as y*=y                                             
	###                 1 as y*=y+t-1                                         
	###============================================================###
	..LifetableType = 1
	
######################################################################
### Parameters used only for the estimation of COST
######################################################################
	###============================================================###
	### ..FT.Cname: x-axis label from the diagnosis to the last month before starting the extrapolation of mean cost function
	### ..FirstN.Cdel: The cost data in the first ..FirstN.Cdel months are excluded for estimating c_k(t). (12 <= ..FirstN.Cdel << F)
	### ..MeanCost.Ref: average cost per month for the reference group
	### ..MeanCostF.Method=1(calculated as the extrapolated mean cost function), 2(Average of th observed costs)
	###============================================================###
	..FT.Cname = "last month before starting extrapolation" 
	..FirstN.Cdel = 12 
	..MeanCost.Ref = 10 
	..MeanCostF.Method = 2

######################################################################
### Parameters used only for the estimation of QALE 
######################################################################
	###============================================================###
	### ..FT.Qname: x-axis label from the diagnosis to the maximum assessment time
	### ..FirstN.Qdel: The QoL data in the first ..FirstN.Qdel months are excluded for estimating D[k]. (12 <= ..FirstN.Qdel << F)
	### ..MinNumForQk: The minimum number of the QoL observations for calculating D[k]
	### ..AdjFT.MeanQ = FALSE (extrapolate mean QoL function after the maximum assessment time(Fq))
	###                 TRUE (extrapolate mean QoL function after (100-1*bandwidth)th percentile of the observed assessment times)
	###============================================================###
	..FT.Qname = "maximum assessment time"
	..FirstN.Qdel = 12 
	..MinNumForQk = 5
	..AdjFT.MeanQ = TRUE 

