Re: [R] timeseries plot

2010-04-03 Thread vibha patel
ars = list(type = "o", col = 2:1, pch = 20)) > > and read ?ts, ?start, ?ts.plot and next time please provide some > sample data using dput. See last line to every message and the > posting guide. > > On Fri, Apr 2, 2010 at 8:14 AM, vibha patel > wrote: > > Hello,

[R] timeseries plot

2010-04-02 Thread vibha patel
Hello, I am using plot( ) function to plot time-series. it takes time-series object as an argument but i want to plot predicted data with training set, to compare them. is there any function available? Vibha [[alternative HTML version deleted]] ___

[R] what is the significance of RSq in earth function??

2010-04-02 Thread vibha patel
Hello, I'm using earth function for Multivariate Adaptive Regression splines. what is the significance of RSq in earth function?? following's the code. printed value is of RSq. > tr.wage<-sample(1:nrow(HCMwage), 0.8*nrow(HCMwage)) > tst.wage<- (1:nrow(HCMwage))[-tr.wage] > HCMwageModel<-earth(V

[R] fitness of regression tree: how to measure???

2010-04-01 Thread vibha patel
Hello, I'm using rpart function for creating regression trees. now how to measure the fitness of regression tree??? thanks n Regards, Vibha [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/

[R] time series datasets

2010-03-31 Thread vibha patel
Hello, I am searching large multivariate time series datasets to use with R. Can any one help me??? Regards, Vibha [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

[R] package earth - forward pass: out of memory error, how to resolve this?

2010-03-29 Thread vibha patel
Hello, while using earth function, I'm getting the out of memory error: the dataset is too small(dimension is displayed in code). how to resole this error? > tr.sub1 <- sample(1:nrow(HCMauto), .8 * nrow(HCMauto)) > tst.sub1 <- (1:nrow(HCMauto))[-tr.sub1] > HCMm1 <- earth(V1 ~ ., data = HCMauto[tr

[R] how to measure accuracy of regression tree?

2010-03-26 Thread vibha patel
Hello, for constructing regression tree, I am using rpart function. now after dividing dataset in to training and testing, I'm using predict for forecasting. how to measure accuracy of the predicted data? Thanks and Regards, Vibha. [[alternative HTML version deleted]]

[R] how to solve error in precict( ) while using with rpart?

2010-03-23 Thread vibha patel
Hello, I am working with rpart function but geting some error in prediction. the same code works fine with iris dataset. but applying other dataset it doesn't work. sample code is given for reference. > acc_model<-rpart(V1~V2+V3+V4+V5+V6+V7+V8, data=accEx.train) > plotcp(acc_model) > acc_find_cp

[R] how to use node info generated by rpart in mars?

2010-03-23 Thread vibha patel
I am working on rpart, mars and earth. they all work fine individually. but i want to use node information generated by rpart in earth or mars. (mars is sensitive to outliers. CART deals effectively with outliers.) is there any way to perform this? Thanks. [[alternative HTML version dele

[R] how to use node info generated by rpart in mars?

2010-03-23 Thread vibha patel
I am working on rpart, mars and earth. they all work fine individually. but i want to use node information generated by rpart in earth or mars. (mars is sensitive to outliers. CART deals effectively with outliers.) is there any way to perform this? Thanks. [[alternative HTML version dele