no_bias2: Bias p-value

no_bias2R Documentation

Bias p-value

Description

Extracts p-value from the model estimated by the function no_bias. If the mean of y is equal of x, p-value is expected to be higher than 0.05. In this circuntance, bias of the core inflation measure is not significant. See no_bias for more information.

Usage

no_bias2(y, x)

Arguments

y

A numeric vector or ts (inflation, \pi)

x

A numeric vector or ts (core inflation, \pi^*)

Value

A numeric vector of length one.

See Also

no_bias

Examples

inf_head <- coreinf_br[["ipca"]]
inf_corems <- coreinf_br[["ipcams"]]
no_bias2(inf_head, inf_corems)

nelson16silva/wavcoreinf documentation built on Feb. 17, 2025, 7:10 p.m.