[R] Tree() and confidence intervals
Briggs, Meredith M
Meredith.Briggs at team.telstra.com
Tue Jun 1 01:44:22 CEST 2004
I'm currently using Monte Carlo techniques to estimate prices (variable not static) from the following type of data:
Each row is a record from group A and the cells in all but the last column are the volumes of 'widgets' in the record. The last column is the cost of all the widgets in the record. Any widget can have a different prices in each record but the price is assumed to be normally distributed with a starting price and deviation.
The aim is to apply the estimated prices to eg an average record (in terms of volumes of widgets per record) from group B and compare the cost of this average record against the cost of an average record from group A.
I've used a Monte Carlo approach to estimate confidence intervals but thought another view could be obtained by using tree() to split the records into two disparate groups and run these two groups separately through the Monte Carlo model.
Is this feasible?
More information about the R-help