search for: megh

Displaying 20 results from an estimated 95 matches for "megh".

Did you mean: mech
2007 May 04
2
Analysis for Binary time series
...y outputs like : 0001011110100.................etc. Now I want to forecast the future values of that. Can anyone please tell me whether there is any tools exist in literature for dealing with this kind of binary observation? If possible please provide me some good references in net as well. rgd, Megh __________________________________________________ [[alternative HTML version deleted]]
2008 Mar 15
1
Fwd: Re: How to create following chart for visualizing multivariate time series
...0.png Previously I tried with image() function [however there is also no option to put a color pallet :( ], there is a option 'zlim' to trim the not-required values. Is there any option in levelplot() function as well? I already gone through it's help file, however got nothing on that Megh Dal <megh700004@yahoo.com> wrote: Date: Sat, 15 Mar 2008 00:58:02 -0700 (PDT) From: Megh Dal <megh700004@yahoo.com> Subject: Re: How to create following chart for visualizing multivariate time series To: r-help@stat.math.ethz.ch Let me take an artifical matrix : dat = matrix(rno...
2008 Oct 11
5
Extracting subset of a vector
I have 2 vecros : x<-c(100,96,88,100,100,96,80,68,92,96,88,92,68,84,84,88,72,88,72,88) x1 = sample(x, 5, replace=FALSE) Now i want to get remaining values of vector "x" those are not member of vector "x1". Can anyone please tell me how to do that?
2008 Mar 15
1
How to create following chart for visualizing multivariate time series
...got following advice : ?plot.im Z <- setcov(owin()) plot(Z) .................... etc However I can not reproduce this example in my problem. How I can change my data matrix 'dat' to 'Z' ? If anyone show me some light it would be great for me. Regards, Megh Dal <megh700004@yahoo.com> wrote: Roy Mendelssohn <Roy.Mendelssohn@noaa.gov> wrote: Date: Thu, 28 Feb 2008 20:55:23 -0800 From: Roy Mendelssohn <Roy.Mendelssohn@noaa.gov> Subject: Re: [R] Fwd: Re: How to create following chart for visualizing multivariate time series To: Meg...
2007 Jun 12
3
Panel data
...data is a type of data that is collected over time and subjects. Vector Autoregressive Model (VAR) model used on this type of data. Therefore can I say that, one of statistical tools used for analysis of panel data is VAR model? If you clarify my doubt I will be very grateful. Thanks and regards, Megh ____________________________________________________________________________________ Looking for earth-friendly autos? Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center. [[alternative HTML version deleted]]
2009 Jul 22
6
A question on operation on list
Hi, I have created a list object like that : x = vector("list") for (i in 1:5) x[[i]] = rnorm(2) x Now I want to do two things : 1. for each i, I want to do following matrix calculation : t(x[[i]]) %*% x[[i]] i.e. for each i, I want to get a 2x2 matrix 2. Next I want to get x[[1]] + x[[2]] +.... I did following : res=vector("list"); res = sapply(x, function(i) t(x[[i]]) %*%
2006 Nov 18
3
Random sample from log-normal distribution
...question is too trivial. Suppose I have two variables, (x,y) which is log-normally distributed with expected value (mu1, mu2) and some variance-covariance matrix. Now I want to draw a random sample of size 1000 from this distribution. Is there any function available to do this? Thanks and regards, Megh
2009 Feb 16
5
Alternate to for-loop
Hi, I am trying to create a vector of length 10 (say), wherein each element will be average of random sample of size 100, from a distribution, say Normal. Can anyone please tell me without creating a "for" loop, how I can do that? Regards, -- View this message in context: http://www.nabble.com/Alternate-to-for-loop-tp22035954p22035954.html Sent from the R help mailing list archive at
2007 Jun 18
2
Calculating Percentile in R
...3916414 -3876878 [97] -3765340 -3729338 -3713670 -3634991 Now the 5th percentile should be value corresponding to 0.05*(100+1) = 5.05 = 5 (rounded) hence : -13443436 But R give the value : > quantile(data1, 0.05) 5% -13245189 Can anyone clarify me on this regards? Thanks Megh ____________________________________________________________________________________ Comedy with an Edge to see what's on, when. [[alternative HTML version deleted]]
2008 May 07
0
Fwd: Re: Solution of function
Forgot to send one copy to R help. Sorry Megh Dal <megh700004@yahoo.com> wrote: Date: Wed, 7 May 2008 02:45:09 -0700 (PDT) From: Megh Dal <megh700004@yahoo.com> Subject: Re: [R] Solution of function To: Berwin A Turlach <berwin@maths.uwa.edu.au> Hi Berwin, Thanks for having look on my problem. However on ipop() func...
2008 Sep 17
5
Loop on vector name
[My previous message rejected, therefore I am sending same one with some modification] I have 3 vectors with object name : dat1, dat2, dat3 Now I want to create a loop, like : for (i in 1:3) { cat(sd(dati)) } How I can do this in R? Regards,
2008 Sep 09
4
Compiling date
Hi, I have following kind of dataset (all are dates) in my Excel sheet. 09/08/08 09/05/08 09/04/08 09/02/08 09/01/08 29/08/2008 28/08/2008 27/08/2008 26/08/2008 25/08/2008 22/08/2008 21/08/2008 20/08/2008 18/08/2008 14/08/2008 13/08/2008 08/12/08 08/11/08 08/08/08 08/07/08 However I want to use R to compile those data to make all dates in same format. Can anyone please tell me any automated way
2008 Oct 22
4
A matrix automation problem
[I am really sorry if it is double posted, I doubt me previous post could not reach forum due to some problem with net] Suppose I have a matrix : a = matrix(1:9, 3) >From this matrix, I construct 9 additional matrices : i = 1:9 bi = a * i Now combining all those 9 new matrices, I construct a final metrix as : c = b1 b4 b7 b2 b5 b8 b3 b6 b8 I want to automate this procedure for any
2007 Aug 16
2
ADF test
...hesis: stationary But surprisingly it leads towards rejestion of NULL [p-value is less than 0.05], i.e. indicates a possible stationary series. However ploting a graph of actual data set it doesn't seem so. Am I making any mistakes ? Can anyone give me any suggestion? Regards, Megh --------------------------------- [[alternative HTML version deleted]]
2010 Oct 15
7
Problem with merging two zoo objects
Dear all, I have following 2 zoo objects. However when I try to merge those 2 objects into one, nothing is coming as intended. Please see below the objects as well as the merged object: > dat11 V2 V3 V4 V5 2010-10-15 13:43:54 73.8 73.8 73.8 73.8 2010-10-15 13:44:15 73.8 73.8 73.8 73.8 2010-10-15 13:45:51 73.8 73.8 73.8 73.8 2010-10-15 13:46:21 73.8 73.8 73.8 73.8
2007 Aug 05
1
Understanding of Johansen test.
...3]*y1[t-1] = 0 therefore number of co-integrating relationship is 3 am I correct? Therefore in my understanding : if variables in a system show some co-integrating relationship thenrank should be close to zero. Am I making any mistakes? Can anyone here clarify me? Regards, Megh --------------------------------- [[alternative HTML version deleted]]
2008 Feb 29
1
Fwd: Re: How to create following chart for visualizing multivariate time series
...s x <- y <- seq(-4*pi, 4*pi, len=27) r <- sqrt(outer(x^2, y^2, "+")) image(x, y, r, col=gray((0:32)/32)) However my next problem to add a color pallet for color description [as shown in following link]. If anyone here tell me how to do that, it will be good for me. Regards, Megh Dal <megh700004@yahoo.com> wrote: Hi all, Can anyone here please tell me whether is it possible to produce a chart displayed in http://www.datawolf.blogspot.com/ in R for visualizing multivariate time series? If possible how? Regards, ---------------------------------...
2008 Sep 10
3
How to find where is the <space> in data
I have following " 1975 01 7711.16" Here I need to identify where the <space> is there and then concatenate rest of the digits without <space>, i.e. I want to have "1975017711.16". Is there any R function? Regards,
2008 Sep 21
2
Symmetric matrix
I have following matrix : a = matrix(rnorm(36), 6) Now I want to replace the lower-triangular elements with it's upper-triangular elements. That is I want to make a symmetric matrix from a. I have tried with lower.tri() and upper.tri() function, but got desired result. Can anyone please tell me how to do that?
2009 Feb 11
2
Loop on characters
Hi, suppose I have three vectors like : l1 = 1:4 l2 = 4:9 l3 = 16:67 now I want to construct a loop like : for (i in 1:3) { count1[i] = length(li) # i.e. it will take l1, l2, l3 according to value of i } Can anyone please tell me how to do that? Regards, -- View this message in context: http://www.nabble.com/Loop-on-characters-tp21949173p21949173.html Sent from the R help