Internal function that adaptively adjusts the candidate xi set by removing low-weight candidates and adding new candidates near boundary or dominant regions to improve weight coverage.
new.kpar2(
wtgd = NULL,
numk = NULL,
kpar = NULL,
remove = 0.004,
dist = 0.02,
tre1 = 0.01,
tre8 = 0.5
)A list containing:
Updated candidate xi values
Adjustment indicator (0 = no change needed)
Updated number of candidates
Numeric vector of current weights.
Number of candidate submodels.
Numeric vector of candidate xi values.
Threshold below which candidates are removed. Default is 0.004.
Spacing for new candidates. Default is 0.02.
Lower threshold for boundary detection. Default is 0.01.
Upper threshold for dominant candidate. Default is 0.5.