[R] Rounding parameter values in genoud(), Rgenoud package

From: Waichler, Scott R <Scott.Waichler_at_pnl.gov>
Date: Thu 03 Mar 2005 - 06:01:01 EST

I would like to limit the significant figures of the calibrated parameters determined by genoud() in the Rgenoud package. Below is some example output, where column 1 is model run number, columns 2-7 are the parameter values, and columns 8-12 are model fit statistics. I would like genoud to internally limit parameters to 4 decimal places as shown in this output. It is clear that the function is generating many parameter sets that are identical after rounding. Can I impose rounding on the function and thereby lessen processing time? The only function argument that seems related is the solution.tolerance, but this is not for the parameter values.

Run  par1    par2     par3     par4    par5     par6     Bias    MAE
R2       E2       E1'

507 0.0239 0.0219 0.0267 0.0274 0.0283 0.0245 -0.0112 0.0804 0.9994 0.9994 0.9792
508 0.0239 0.0219 0.0267 0.0274 0.0283 0.0245 -0.0112 0.0804 0.9994 0.9994 0.9792
509 0.0239 0.0219 0.0267 0.0274 0.0283 0.0245 -0.0112 0.0804 0.9994 0.9994 0.9792
510 0.0239 0.0219 0.0267 0.0274 0.0283 0.0245 -0.0112 0.0804 0.9994 0.9994 0.9792
511 0.0239 0.0219 0.0267 0.0274 0.0283 0.0245 -0.0112 0.0804 0.9994 0.9994 0.9792
512 0.0239 0.0219 0.0267 0.0274 0.0283 0.0245 -0.0112 0.0804 0.9994 0.9994 0.9792
513 0.0239 0.0219 0.0267 0.0274 0.0283 0.0245 -0.0112 0.0804 0.9994 0.9994 0.9792
514 0.0239 0.0219 0.0267 0.0274 0.0283 0.0245 -0.0112 0.0804 0.9994 0.9994 0.9792
515 0.0239 0.0219 0.0267 0.0274 0.0283 0.0245 -0.0112 0.0804 0.9994 0.9994 0.9792
516 0.0239 0.0219 0.0267 0.0274 0.0283 0.0245 -0.0112 0.0804 0.9994 0.9994 0.9792

Thanks,
Scott Waichler
Senior Research Scientist
Pacific Northwest National Laboratory
Richland, WA USA
scott.waichler@pnl.gov



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Mar 03 06:21:36 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:39 EST