Description Usage Arguments Note

Hypotesis test that do not depends if the instrument is weak or strong

1 | ```
ar_test(y, X, Z, beta0, intercept = F)
``` |

`y` |
The dependent variable of the second stage |

`X` |
The Endogenous variables |

`Z` |
The Instruments |

`beta0` |
The vector of the coefficients to be tested |

`intercept` |
Logical. Should an intercept be included? Default is false. |

Works with more than one endogenous variable. If used with the coefficients from TSLS, it computes the J-statistic

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.