search for: period1

Displaying 3 results from an estimated 3 matches for "period1".

Did you mean: period
2010 Jun 09
3
Extracting Elements By Date
...the variable for the extracted dates Returns.period, it would get overwritten every iteration of the loop, and I cant name something Returns.n, where n is the index for the loop) Thus, I tried to adjust by dynamically assigning each period to a column. However, I get the error: object 'Returns.period1' not found. And R is not like Java where you can simply declare a variable by typing say Returns.period1. I do not know how to create a flexible empty matrix that would allow this code to work. If anyone knows how to do this without a loop, that would be even better! ##Filtering by Period n...
2012 May 12
1
access the se of a forecast
Hi everybody, I am currently trying to forecast some double seasonal time series by using the function dshw. I want to access the standard errors to build the confident interval for my forecast. I am using to following code : fit<-dshw(eem,period1=7,period2=48,h=48) then by using summary(fit), I see that my se are contained in the vector : $s20 but when I call fit$s20, I get NULL. I don't understand why this happens. How should I proceed to get these se? By advance, thank you very much for your help! -- View this message in context:...
2017 Jul 30
1
Add Anova statistics in each figure
...) long<-melt(dat, id=c('Sites', 'Period', 'Group')) head(long) df<-ddply(long, c("Period", "Group","variable"), summarise, N = length(value), mean = mean(value, na.rm=TRUE), sd = sd(value, na.rm=TRUE), se = sd / sqrt(N)) df$Period1 <- factor(df$Period, levels=c("Before", "After")) gp <- ggplot(df, aes(x=Period1, y=mean, colour=Group, group=Group)) gp<-gp + geom_line(aes(linetype=Group), size=.6) + geom_point(aes(shape=Group), size=3) + geom_errorbar(aes(ymax=mean+se, ymin=mean-se), w...