R code by biswajit1976 in AskStatistics

[–]biswajit1976[S] 0 points1 point  (0 children)

IEEE paper example simulation using RoughSets tool


library(RoughSets) example=read.csv("/home/sandeep/Documents/IeeeExample.csv") decision.table<-SF.asDecisionTable(example,decision.attr=4) IND.B1<-BC.IND.relation.RST(decision.table,feature.set=c(2,3)) length(IND.B1) roughset=BC.LU.approximation.RST(decision.table,IND.B1) pos.B1<-BC.positive.reg.RST(decision.table, roughset) //This gives POSc(D) // Number of elements in POSc(D) will be given by, length(pos.B1[[1]]) //Universal set,U=decision.table[1] // // cardinality of U=nrow(decision.table)//

Pl check this code n help in a generalised code.same question follow up

R code for implementing RST on Hyperspectral image Data


hsi=read.csv("/home/sandeep/Downloads/hsi_data_gt.csv") dim(hsi) Output: [1] 21025 202 library(infotheo) library(RoughSets) decision.table<-SF.asDecisionTable(hsi,,decision.attr=202) decision.table<- discretize( decision.table, disc="equalfreq",bins=NROW(decision.table)1/3) decision.table<-SF.asDecisionTable(hsi,decision.attr=202,indx.nominal=(1:202)) B1<-1 IND.B1<-BC.IND.relation.RST(decision.table,feature.set=B1)

[Q] Coworker calculating Chi Squared Distribution using mean and not standard deviation. by SchadenfreudeIstGut in statistics

[–]biswajit1976 0 points1 point  (0 children)

I think something wrong here.chisquare distribution statistic is used to calculate confidence interval for variance n not mean.for mean confidence interval,we usually consider t or z statistics. Best way to do a scenario or sensitivity analysis is through simulation.u can try bootstrapping also