Skip to contents

Print method for class "bnf"

Usage

# S3 method for class 'bnfClass'
print(x, digits = max(3L, getOption("digits") - 3L), ...)

Arguments

x

object of class bnf output of bnf

digits

integer, significant digits in print, default getOption("digits") - 3

...

further arguments, not used

Value

Nothing

Examples

data(usdata)
y <- transform_series(y = usdata$GDPC1, take_log = TRUE, pcode = "p1")
bnfOutput <- bnf(as.vector(y),
        delta_select = 2,
        demean = "dm",
        iterative = 100,
        dynamic_bands = TRUE,
        adjusted_bands = TRUE,
        outliers = c(293, 294),
        window = 40,
        ib = TRUE)
print(bnfOutput)
#> 
#> Call: bnf(y = as.vector(y), delta_select = 2, demean = "dm", iterative = 100, 
#>     dynamic_bands = TRUE, adjusted_bands = TRUE, outliers = c(293, 
#>         294), window = 40, ib = TRUE)
#> 
#> 	Intuitive and Reliable Estimates of the Output Gap from a Beveridge-Nelson Filter
#> 
#> Automatic Delta: 0.0295
#> 
#> Demean method: Rolling mean
#> 
#> Iterations: 5
#> 
#> Cycle:
#>               Cycle
#>   [1,]  1.552784582
#>   [2,]  0.338539117
#>   [3,] -0.639605644
#>   [4,] -0.102530858
#>   [5,]  0.222439619
#>   [6,]  0.629243242
#>   [7,]  0.130316074
#>   [8,] -0.645510563
#>   [9,] -2.564356334
#>  [10,] -3.266651100
#>  [11,] -2.641808339
#>  [12,] -3.762315854
#>  [13,] -0.671348367
#>  [14,]  1.192172186
#>  [15,]  3.471761133
#>  [16,]  3.761626817
#>  [17,]  3.507640555
#>  [18,]  3.427290460
#>  [19,]  3.510466824
#>  [20,]  2.034382316
#>  [21,]  1.503712282
#>  [22,]  0.315903107
#>  [23,] -0.209924632
#>  [24,]  1.536494071
#>  [25,]  1.826266266
#>  [26,]  1.262739300
#>  [27,] -0.326754990
#>  [28,] -2.424927761
#>  [29,] -3.317680121
#>  [30,] -3.585564868
#>  [31,] -2.904732518
#>  [32,] -1.590239008
#>  [33,]  0.294995588
#>  [34,]  0.936264346
#>  [35,]  1.238481396
#>  [36,]  0.771718346
#>  [37,] -0.515408405
#>  [38,] -0.649332612
#>  [39,] -1.534634291
#>  [40,] -0.820580416
#>  [41,] -1.033030887
#>  [42,] -1.839643978
#>  [43,] -1.497030259
#>  [44,] -2.860933982
#>  [45,] -5.270880938
#>  [46,] -4.505537538
#>  [47,] -2.513471453
#>  [48,] -0.775803387
#>  [49,]  0.377577027
#>  [50,]  1.798463165
#>  [51,]  0.734372256
#>  [52,]  0.232245184
#>  [53,]  1.249500426
#>  [54,] -0.133130627
#>  [55,] -0.792816516
#>  [56,] -2.488094412
#>  [57,] -2.224015217
#>  [58,] -1.066076787
#>  [59,] -0.157368798
#>  [60,]  0.968548002
#>  [61,]  1.721547994
#>  [62,]  1.723406784
#>  [63,]  1.632924645
#>  [64,]  1.033710027
#>  [65,]  1.045781035
#>  [66,]  1.201052453
#>  [67,]  1.859409663
#>  [68,]  1.432238054
#>  [69,]  2.241058468
#>  [70,]  2.068138925
#>  [71,]  2.058693440
#>  [72,]  1.187150891
#>  [73,]  2.174815340
#>  [74,]  2.052398886
#>  [75,]  2.515263667
#>  [76,]  3.168558805
#>  [77,]  3.766520253
#>  [78,]  2.539569374
#>  [79,]  1.757240881
#>  [80,]  1.196144346
#>  [81,]  0.711744185
#>  [82,] -0.346577403
#>  [83,] -0.532310907
#>  [84,] -0.713075966
#>  [85,]  0.119922247
#>  [86,]  0.582000708
#>  [87,]  0.192589000
#>  [88,] -0.386795658
#>  [89,] -0.002882082
#>  [90,] -0.688584172
#>  [91,] -1.000831706
#>  [92,] -2.139798873
#>  [93,] -2.851703804
#>  [94,] -3.116885045
#>  [95,] -2.696115573
#>  [96,] -3.877911454
#>  [97,] -1.793302136
#>  [98,] -1.787789432
#>  [99,] -1.532593238
#> [100,] -1.729314414
#> [101,] -0.696361124
#> [102,]  0.527083967
#> [103,]  0.391638626
#> [104,]  0.912576434
#> [105,]  1.909482826
#> [106,]  1.592646586
#> [107,] -0.052632009
#> [108,] -0.174375137
#> [109,] -1.860348306
#> [110,] -2.284509675
#> [111,] -3.591620738
#> [112,] -4.089600983
#> [113,] -5.152157575
#> [114,] -4.276691768
#> [115,] -2.716646319
#> [116,] -1.609580246
#> [117,]  0.089678271
#> [118,]  0.289673582
#> [119,]  0.242534824
#> [120,]  0.302081402
#> [121,]  0.659964800
#> [122,]  1.521771982
#> [123,]  2.068930868
#> [124,]  1.078996823
#> [125,]  0.559072157
#> [126,]  2.934775289
#> [127,]  2.510690493
#> [128,]  2.508334187
#> [129,]  1.522159736
#> [130,]  0.624906200
#> [131,]  0.332150499
#> [132,] -0.248140212
#> [133,] -0.650105435
#> [134,] -2.964262084
#> [135,] -3.239790361
#> [136,] -1.763850224
#> [137,] -0.314436314
#> [138,] -1.396400232
#> [139,] -0.647272262
#> [140,] -2.026784468
#> [141,] -3.576159537
#> [142,] -2.996683348
#> [143,] -3.265458118
#> [144,] -3.076555165
#> [145,] -1.846765591
#> [146,]  0.094923735
#> [147,]  1.417624944
#> [148,]  2.572883549
#> [149,]  3.415077534
#> [150,]  3.840024558
#> [151,]  3.407553949
#> [152,]  2.853641578
#> [153,]  2.461266176
#> [154,]  1.962968941
#> [155,]  2.084544144
#> [156,]  1.535069204
#> [157,]  1.235847571
#> [158,]  0.597053915
#> [159,]  0.546399388
#> [160,]  0.106206076
#> [161,] -0.084840773
#> [162,]  0.120372203
#> [163,]  0.144489588
#> [164,]  0.798554384
#> [165,]  0.455781294
#> [166,]  0.816668115
#> [167,]  0.474248951
#> [168,]  0.822865412
#> [169,]  0.833118837
#> [170,]  0.672330123
#> [171,]  0.490976011
#> [172,] -0.094157691
#> [173,]  0.147889553
#> [174,] -0.252069298
#> [175,] -0.865114497
#> [176,] -2.106934081
#> [177,] -2.777363229
#> [178,] -2.307001327
#> [179,] -2.109977902
#> [180,] -1.936412643
#> [181,] -1.158596938
#> [182,] -0.591314723
#> [183,] -0.240791081
#> [184,]  0.058897549
#> [185,] -0.431169040
#> [186,] -0.553245066
#> [187,] -0.774303914
#> [188,] -0.240860929
#> [189,] -0.093447889
#> [190,]  0.354668466
#> [191,]  0.112337690
#> [192,]  0.374876838
#> [193,] -0.077795379
#> [194,] -0.433772287
#> [195,] -0.315196401
#> [196,] -0.335117628
#> [197,] -0.357539273
#> [198,]  0.534107234
#> [199,]  0.614756840
#> [200,]  0.787509369
#> [201,]  0.684096627
#> [202,]  1.186581366
#> [203,]  1.379019448
#> [204,]  1.118934122
#> [205,]  1.084689315
#> [206,]  1.011813134
#> [207,]  1.210078879
#> [208,]  1.655651931
#> [209,]  1.343038749
#> [210,]  1.082820270
#> [211,]  1.219395669
#> [212,]  1.707262652
#> [213,]  0.929484901
#> [214,]  1.590588124
#> [215,]  0.656312527
#> [216,]  0.259618066
#> [217,] -0.792332369
#> [218,] -0.971477425
#> [219,] -1.841839610
#> [220,] -2.035359047
#> [221,] -1.614619941
#> [222,] -1.536393817
#> [223,] -1.490578513
#> [224,] -1.778045194
#> [225,] -1.614931835
#> [226,] -1.192671635
#> [227,] -0.200666207
#> [228,]  0.197400672
#> [229,]  0.048035105
#> [230,]  0.020051486
#> [231,]  0.125301719
#> [232,]  0.143388152
#> [233,]  0.302527623
#> [234,] -0.018756153
#> [235,] -0.030239015
#> [236,] -0.255679051
#> [237,]  0.084588623
#> [238,] -0.380284642
#> [239,] -0.935335474
#> [240,] -0.815663022
#> [241,] -1.297172592
#> [242,] -1.086241907
#> [243,] -0.966893421
#> [244,] -1.099388487
#> [245,] -2.057294446
#> [246,] -1.832477342
#> [247,] -2.452747556
#> [248,] -4.286637097
#> [249,] -5.146500125
#> [250,] -4.762435735
#> [251,] -4.004246451
#> [252,] -2.748450558
#> [253,] -2.040329114
#> [254,] -1.004174871
#> [255,] -0.408992933
#> [256,]  0.044821512
#> [257,] -0.455302080
#> [258,] -0.038508246
#> [259,] -0.171601644
#> [260,]  0.494136802
#> [261,]  0.653131933
#> [262,]  0.620252958
#> [263,]  0.286466475
#> [264,] -0.085344919
#> [265,]  0.165580717
#> [266,] -0.063839862
#> [267,]  0.245031015
#> [268,]  0.674793096
#> [269,]  0.014819855
#> [270,]  0.520730160
#> [271,]  1.134785951
#> [272,]  1.099661098
#> [273,]  1.027666893
#> [274,]  1.081764492
#> [275,]  0.982048812
#> [276,]  0.666651075
#> [277,]  0.411155682
#> [278,]  0.262381738