Ri {FuzzySTs}R Documentation

Calculates the indicator of information's rate of the data base for a given unit

Description

Calculates the indicator of information's rate of the data base for a given unit

Usage

Ri(x, i, b_jk, SI)

Arguments

x

the data set to evaluate.

i

an observation index.

b_jk

a matrix of length(b_j) rows and max(SI) columns expressing the initial weights of each sub-item of a given main-item.

SI

an array representing the total numbers of sub-items per main-item.

Value

A numerical value giving the indicator of information's rate of the complete linguistic questionnaire for a particular observation. Note that the obtained value is interpreted as the more it tends to the value 1, the less the observation i contains missing values.

Examples

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)
data <- as.data.frame(data)
SI1 <- 2
SI2 <- 2
SI <- c(SI1,SI2)
b_jk <- matrix(c(0.5,0.5,0.5,0.5),nrow=2) 
Ri(data, 7, b_jk, SI)

[Package FuzzySTs version 0.2 Index]