powered by
Obtained the initial values for the parameter beta_j,sigma_j, p_j and nu the SMN distribution.
initial.values.fmr.smn.cr(cc, y, x, g=2, algorithm="k-medoids", family="T", lower=1, upper=20, space=0.1, plotLog = TRUE, searchNU=TRUE, printNU=TRUE, saveFigure = FALSE)
Vector of censoring indicators. For each observation: 0 if non-censored, 1 if censored.
Vector of responses in case of right censoring.
Matrix or vector of covariates for each component
Numbers of components
It indicates the algorithm: "trim-kmeans","MinMax_kmeans", "k-means" and "k-medoids"
"T", "Normal", "Slash" or "NormalC"
lower value of the search of the nu or gamma parameter
upper value of the search of the nu or gamma parameter
number: increment of the sequence
TRUE or FALSE the figure of profile
TRUE or FALSE the search the nu or gamma parameter
TRUE or FALSE the print the nu or gamma parameter
TRUE or FALSE save the figure of profile
# NOT RUN { #See examples for the wage.rates function linked above. # }
Run the code above in your browser using DataLab