search for: distpop

Displaying 1 result from an estimated 1 matches for "distpop".

Did you mean: dispop
2009 Mar 04
1
dividing ts objects of different frequencies
...on) and the other is quarterly (bankruptcy statistics). I would like to produce a quarterly time series object that consists of bankruptcy/population. Is there a pre-built function to intelligently divide these time series: br.ts = ts(data=br.df[,-1], frequency = 4, start=c(2001,1), end=c(2008,2)) distPop.ts = ts(data=distPop.df[,-1], frequency=1, start=(2000)) The time series I want is: br.ts[2001Q1]/distPop.ts[2001] , br.ts[2001Q2]/distPop[2001], br.ts[2001Q3]/distPop.ts[2001] , br.ts[2001Q4]/distPop[2001], br.ts[2002Q1]/distPop.ts[2002] , br.ts[2002Q2]/distPop[2002], etc. This would not be too...