powered by
Calculates the adjusted weight for a given sub-item of a linguistic questionnaire
adjusted.weight.SI(x, i, k, b_jk)
A numerical value giving the readjusted weight of the sub-item k of the considered main-item for the observation i.
the data set to evaluate.
an observation index.
a sub-item index.
an array referring to the initial weights given to each sub-item of the considered main-item. This array will be afterwards re-calculated.
data <- matrix(c(3,4,2,3,3,2,4,3,3,4,3,4,4,2,5,3,4,4,3,3,3,4,4,3, 3,3,4,3,3,3,3,4,4,3,5,3,4,3,3,3), ncol = 4) adjusted.weight.SI(data, 7, 1, c(0.5,0.5))
Run the code above in your browser using DataLab