summarize.parameters {Pomic} | R Documentation |
This function do parameter averaging.
summarize.parameters(dataset,colnbparameters,colnbweight,colnbvarparam=NULL)
dataset |
Numerical, a dataset containing the parameter values and pomic weights |
colnbparameters |
Numerical, index of columns where the parameters are found |
colnbweight |
Numerical, index of column where the pomic weights are found |
colnbvarparam |
Numerical, index of columns where the variances of parameters given each model can be found (should be of same length than colnbparameters) |
The pomic weights should sum up to 1.
Return a data set of best parameter values, averaged parameter values and standard deviation of parameters
Cyril Piou
cyril.piou@yahoo.fr
dataset<-data.frame(P1=rep(1:5,each=5),P2=rep(seq(0,5,length=5),5) ,wPomics=(1:25)/sum(1:25)) summarize.parameters(dataset,c(1,2),3)