Re: [R] QQ plot

2012-02-17 Thread nandan amar
Feb 17, 2012 at 3:01 PM, Rolf Turner wrote: > On 17/02/12 21:32, nandan amar wrote: > >> Hello, >> I am having two data set original and predicted. >> I want to dind QQ-plot fot it. >> I tried in following manner : >> >>> qq(original~predicted) >>

[R] QQ plot

2012-02-17 Thread nandan amar
What is the correct way for plotting QQ-plot or am I missing something. -- Amar Kumar Nandan [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

Re: [R] sorting data

2011-10-28 Thread nandan amar
Ph.D. > Chief, Biostatistics and Informatics > University of Maryland School of Medicine Division of Gerontology > Baltimore VA Medical Center > 10 North Greene Street > GRECC (BT/18/GR) > Baltimore, MD 21201-1524 > (Phone) 410-605-7119 > (Fax) 410-605-7913 (Please call ph

[R] sorting data

2011-10-28 Thread nandan amar
; and > sort(a[4]) Error in `[.data.frame`(x, order(x, na.last = na.last, decreasing = decreasing)) : undefined columns selected How can I sort the data according to value in 4th column and print along with other columns -- Amar Kumar Nandan Karnataka, India, 560100 ☎:+91-901905447

Re: [R] construct a data set

2011-07-28 Thread nandan amar
Dear Michael and Vettorazzi, Thanks. It was really helpful. I got the desired answer . Actually I had some weekly data and i wanted to put in ts class for some time series related test. Thanks a lot :) On Thu, Jul 28, 2011 at 8:20 PM, Eik Vettorazzi wrote: > Hi Amar, > you might have a l

Re: [R] construct a data set

2011-07-28 Thread nandan amar
or if you care to provide more info on what you want to do. > > Cheers and good luck getting started in R. > > Michael Weylandt > > On Jul 28, 2011, at 5:27 AM, nandan amar wrote: > >> Hi, >> i want to construct a data set similar to  "AirPassengers". >&g

[R] construct a data set

2011-07-28 Thread nandan amar
Hi, i want to construct a data set similar to "AirPassengers". Its attributes are following. > attributes(AirPassengers) $tsp [1] 1949.000 1960.917 12.000 $class [1] "ts" How Can I construct a data set similar to it having same class and attributes. Thanks -- Amar

Re: [R] Plot cdf, pdf

2011-06-02 Thread nandan amar
> > Regards > Alex > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducib

Re: [R] finding derivative of a data series in R

2011-05-27 Thread nandan amar
Geriatric Medicine and Gerontology School of Medicine Johns > Hopkins University > > Ph. (410) 502-2619 > email: rvarad...@jhmi.edu > > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf Of nandan amar

Re: [R] finding derivative of a data series in R

2011-05-27 Thread nandan amar
However if we have some discrete data set like daily temperature etc how can we can differentiate it because as.expression(D()) will not work then On 27 May 2011 16:52, nandan amar wrote: > Thanks Dennis. > I got you. > My main consern was how to differentiate a series correctly. >

Re: [R] finding derivative of a data series in R

2011-05-27 Thread nandan amar
) > > Notice that the peaks and troughs of the derivatives of the spline > approximation are not at the same x locations as in the original > function. Also notice the linearity in the derivatives when x is > between 9 and 10. > > I suppose you could improve the approximations by set

[R] finding derivative of a data series in R

2011-05-27 Thread nandan amar
+ 6*i and 6*i + 6 the plot was not same for first deivative. where as the 2nd derivative was same Is this a correct method for getting derivative. where am I doing wrong as first derivative  lines(x,fx_spline(x, deriv=1), col='green') is not correct. amar -- Amar Kumar Nandan __

Re: [R] comparing ARIMA model to data

2011-04-07 Thread nandan amar
posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Amar Kumar Nandan Karnataka, India, 560100 http://aknandan.co.nr [[alternative HTML version deleted]] ___

Re: [R] system() command in R

2011-04-05 Thread nandan amar
man/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Amar Kumar Nandan Karnataka, India, 560100 http://aknandan.co.nr [[alternative HTML version deleted]]

Re: [R] help

2011-04-02 Thread nandan amar
t; http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Amar Kumar Nandan Karnataka, India, 560100 http://aknandan.co.nr [[alternative HTML version deleted]] __ R-help@r

Re: [R] finding model order components for arima()

2011-03-02 Thread Amar
Amar gmail.com> writes: > > Hi, > I am trying to model a time series using arima(). For getting the > model order components(p, d, q and P,D,Q) I am using procedure > discussed in [1] in section 3.2 . It is most likely hit and trial > method based on lower AIC value. >

[R] finding model order components for arima()

2011-03-02 Thread Amar
Hi, I am trying to model a time series using arima(). For getting the model order components(p, d, q and P,D,Q) I am using procedure discussed in [1] in section 3.2 . It is most likely hit and trial method based on lower AIC value. I want to know what is the correct way to find model order compon

[R] finding model order components for arima()

2011-02-27 Thread nandan amar
Greetings, I am trying to model a time series using arima(). For getting the model order components(p, d, q and P,D,Q) I am using procedure discussed in [1] in section 3.2 . It is most likely hit and trial method based on lower AIC value. I want to know what is the correct way to find model order

[R] using gsarima package with R

2011-01-23 Thread nandan amar
I am trying to use function garsim from package gsarima. I can download gsarima package from http://cran.fyxm.net/web/packages/gsarima/index.html for linux. But how I can add it to R. I have compiled and installed R from its R source code under Ubuntu. regards. -- Amar Kumar Nandan Karnataka