[R] rpart weight prior

2007-07-09 Thread Aurélie Davranche
Hi! Could you please explain the difference between prior and weight in rpart? It seems to be the same. But in this case why including a weight option in the latest versions? For an unbalanced sampling what is the best to use : weight, prior or the both together? Thanks a lot. Aurélie

Re: [R] rpart weight prior

2007-07-09 Thread Prof Brian Ripley
On Sun, 8 Jul 2007, Aurélie Davranche wrote: Hi! Could you please explain the difference between prior and weight in rpart? It seems to be the same. But in this case why including a weight option in the latest versions? For an unbalanced sampling what is the best to use : weight, prior or