search for: r1w

Displaying 1 result from an estimated 1 matches for "r1w".

Did you mean: r11
2011 Feb 18
0
Weights in bagged regression trees
...weights in the bagging call (weights <-1) produces empty output. If I run the data without the weights argument I get sensible output. Despite being possible in rpart, are case weights not possible in bagging? I know that weights are not possible in regression under randomforests. #this works r1w <- rpart(how_many ~ covariates, data=ttv.data.sk, weights, method="poisson") #this works b1 <- bagging(how_many ~ covariates, data=ttv.data.sk, method="poisson", coob=T, nbagg=30) #this fails b1w <- bagging(how_many ~ covariates, data=ttv.data.sk, weights, method=&quo...