Re: [R] auto.arima function in R

2014-11-20 Thread Akhil dua
o give credit/blame where it is due (probably package 'forecast'). Without the reproducible example the posting guide asked for, we can only guess wildly. I at least decline to do so. On 20/11/2014 10:52, Akhil dua wrote: > Hello every one, > > I am using daily data

[R] auto.arima function in R

2014-11-20 Thread Akhil dua
data for forecasting the load for the next day flight. I am using auto.arima function in R. Residuals and fitted values that I am getting from auto.arima has NAs whereas I don't have any NA in my original data. Can anyone please help me with the probable reason for this. -- Akhil Dua Consu

[R] Unbalance to balance panel

2013-04-08 Thread Akhil dua
Is there any package to balance the unbalance panel data? -- Akhil Dua Mo:+91-7827-662-202 Consultant National Institute of Public Finance and Policy [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https

[R] Problem in summary of var results

2012-12-05 Thread Akhil dua
in merge(lhs, rhs, all = FALSE) : error in evaluating the argument 'y' in selecting a method for function 'merge': Error: argument "rhs" is missing, with no default Please help me how to solve this :-( Regards -- Akhil Dua Consultant National Institute of Public F

[R] shading line plot

2012-08-06 Thread Akhil dua
Hi everyone, I have a time series data set and I want to fill my line plot of this time series with different colors e.g I want to fill portion related to 1995-1996 with blue , portion related to 1996-1997 with orange and then portion related to 1997-1998 with red can anyone please help me.

[R] Subseting

2012-08-02 Thread Akhil dua
Hi everyone I have banking data set in long format with 4 columns.One of these columns is bank name which consist of 49 banks and I want the data for only 40 banks out of these 49 so can anyone help me on how to get this 40 banks data My data looks like Year Name totalliabilties assets 1990 a

[R] Contour

2012-07-18 Thread Akhil dua
Hello every one can any one tell me how to draw contour with this data set c zshock 1 0.45450237 0 2 0.02663337 0 3 -2.08444556 0 4 -0.12715275 0 5 0.67066360 0 6 -0.73540081 0 I want to draw contour for shock i.e my z matrix is shock

[R] contour

2012-07-18 Thread Akhil dua
Hello Everyone I have the data long format and I want to draw the contour plot with it x1 x2 x3 0 12 0 21 0 35 1 14 1 22 1 33 when I am using contour(x1,x2,x3,col=heat.colors) or fill.contour its giving me an error that increasing x and y expected So please

[R] Return on Stock Market

2012-07-05 Thread Akhil dua
Hello Every one I have data on Stock prices and I want to calculate the return on all the stocks and then replace all the stock prices with the returns can any one tell me how to do My data is in the format given below Date Stock1 Stock2 Stock3 01/01/20001 2

[R] Return

2012-07-04 Thread Akhil dua
Hello Every one I have data on Stock prices and I want to calculate the return on all the stocks and then replace all the stock prices with the returns can any one tell me how to do My data is in the format given below Date Stock1 Stock2 Stock3 01/01/20001 2

[R] loop for regression

2012-07-03 Thread Akhil dua
-- Forwarded message -- From: Akhil dua Date: Wed, Jul 4, 2012 at 10:33 AM Subject: To: r-help@r-project.org Hi everyone I have data on stock prices and market indices and I need to run a seperate regression of every stock on market so I want to write a "for loop"

[R] (no subject)

2012-07-03 Thread Akhil dua
Hi everyone I have data on stock prices and market indices and I need to run a seperate regression of every stock on market so I want to write a "for loop" so that I wont have to write codes again and again to run the regression... my data is in the format given below Date Stock

[R] Date

2012-07-03 Thread Akhil dua
Hi I have monthly data and the dates are in MM/YY Format I need to convert them into DD/MM/YY format by pasting 01 in place of DD to all the observations in my Year Column ex: YearStock Prices 01/2000 1 02/2000 2 03/2000 3 I need to convert them to Yea

Re: [R] Heat Maps

2012-07-02 Thread Akhil dua
Thanks Joseph but see i am not able to get heat maps with this code \ can u please give me the full codes to generate heat map on the same graph where i have drawn contour lines [[alternative HTML version deleted]] __ R-help@r-project.org mai

[R] Heat Maps

2012-07-01 Thread Akhil dua
Hello Everyone I am new to R I have drawn indifference curves using the program below (Contour Plot) u <- function(x, y) x^0.5 + y^0.5 x <- seq(0, 1000, by=1) y <- seq(0, 1000, by=1) a <- c(10, 20, 30) contour(x, y, outer(x, y, u),levels=a,col="blue") Now can any body please tell me how to

[R] Indifference curve

2012-06-28 Thread Akhil dua
Hello everyone I am new to R I need to plot 3 indifference curve for the level 100, 200 and 300 my utility function is of the form u(x,y)=3x^2+2y I also need to draw contour line on it can any one please tell me how to do it [[alternative HTML version deleted]] ___