Previous question that I asked was originated from this problem :

suppose I have following time series :

library(zoo)
date1 = seq(as.Date("01/01/01", format = "%m/%d/%y"), as.Date("12/31/08",
format = "%m/%d/%y"), by = 1)
len1 = length(date1); data1 = zoo(matrix(rnorm(len1, mean=0, sd=0.5), nrow =
len1),  date1)
Now I group those time series observation month wise :
data2 = split(as.data.frame(data1), format(index(data1), "%Y%m")

Now I want to perform  Levene test (
http://en.wikipedia.org/wiki/Levene's_test) to test whether the variance for
each group (here month) is significantly different or not.

Can anyone suggest me any easiest way how to construct the test statistic,
described above?

Thanks




On Wed, Apr 23, 2008 at 12:21 PM, Arun Kumar Saha <[EMAIL PROTECTED]>
wrote:

> Hi all,
>
> I am wondering how to write a 'list' object to a file. I already gone
> through some threads like
> http://mail.python.org/pipermail/python-list/2001-April/080639.html,
> however could not trace out any reliable solution. I tried following :
>
> > write.table(calc, file="c:/data.csv")
> Error in data.frame("200501" = c(-0.000387071806652095,
> -0.000387221689252648,  :
>   arguments imply differing number of rows: 25, 24, 16, 17, 18, 26, 27,
> 19, 23, 20, 11
> Anybody can help?
>
> Regards,
>



--

        [[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 http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to