no_bias | R Documentation |
Estimates a regression model of
y
(healine inflation, \pi
)
in x
(core inflation, \pi^*
),
\pi_{it} = a + b\pi^*_{it} + e_{it}
,
and
gives statistics for a, b, \overline{R}^2
and F-test H0:
a = 0, b = 1
. no_bias
is useful to find out
whether or not the bias in a core inflation measure (\pi^*
) is
significant.
no_bias(y, x)
y |
A numeric vector or |
x |
A numeric vector or |
A (1 x 4) tibble.
no_bias2
inf_head <- coreinf_br[["ipca"]]
inf_corems <- coreinf_br[["ipcams"]]
no_bias(inf_head, inf_corems)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.