Description Usage Arguments Value Examples
GetWeight Calculate weights on standardized data us the entropy method.
1 |
data |
A Normalized data set |
WeightEij is Ej value of Index,weight is weight value of Index
1 2 3 4 5 6 7 8 | sampleData<-sampleData
mth<-c("ZH","ZJ","QJ","ZH","FU","ZH","QJ","FU","FU","ZH")
zmth<-c(NA,NA,NA,NA,"CZ",NA,NA,"DS","CZ",NA)
xbest<-c(NA,4,NA,NA,NA,NA,NA,NA,NA,NA)
qup<-c(NA,NA,5,NA,NA,NA,5,NA,NA,NA)
qlow<-c(NA,NA,3,NA,NA,NA,3,NA,NA,NA)
weightdata<-data2max(sampleData,mth,zmth,xbest,qlow,qup)
GetWeight(weightdata)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.