两个时间序列相关的Bootstrap置信区间

时间:2017-05-30 07:47:04

标签: r statistics

我有两个时间序列(ts_a和ts_b),我想获得两个系列之间相关性的自举置信区间(在R中)。关于如何进行的任何建议?

谢谢你提前

1 个答案:

答案 0 :(得分:-1)

这不是我的代码,您可以找到原始的here

<Viewbox Grid.Row="7" HorizontalAlignment="Left" Width="150">
    <DatePicker CalendarStyle="{StaticResource styleCalendar}"/>
</Viewbox>

require(boot) xy <- data.frame(cbind(ts_a,ts_b))

# Bootstrap the Pearson correlation coefficient