tF: Valid t-Ratio Procedure

View source: R/tF.R

tFR Documentation

Valid t-Ratio Procedure

Description

Performs the valid t-ratio procedure.

Usage

tF(coef, se, Fstat, prec = 4)

Arguments

coef

a 2SLS coefficient.

se

a standard error estimate for the estimated 2SLS coefficient.

Fstat

a first-stage partial F statistic.

prec

precision of results (4 by default).

Details

The critical value cF is interpolated from the table in Lee et al. (2022) by the square root of Fstat. It is 1.96 for Fstat of 106.09 (10.3 squared) and above. Below Fstat = 4, where the table starts, cF is Inf: the valid critical value is infinite for Fstat up to 3.84 (1.96 squared) and above 18.66 between 3.84 and 4. The confidence interval is then the whole real line and the p-value is 1.

Value

A named vector: the F statistic (F), the critical value (cF), the coefficient, its SE, the t statistic, the confidence interval (Coef plus or minus cF times SE) and the adjusted p-value.

References

Lee, David S, Justin McCrary, Marcelo J Moreira, and Jack Porter. 2022. "Valid t-Ratio Inference for IV." American Economic Review 112 (10): 3260–90.

Examples

tF(coef = 0.3149, se = 0.0890, Fstat = 207.18)

ivDiag documentation built on Nov. 12, 2026, 5:06 p.m.