`R/get_F_stat.R`

`get_F_stat.Rd`

This function calculates an F statistic for a test of null hypothesis LB = 0 (against an unrestricted alternative) where B is a vector of p fixed effects returned by betta() or betta_random() and L is an m x p matrix with linearly independent rows.

get_F_stat(fitted_betta, L)

fitted_betta | A fitted betta object -- i.e., the output of either betta() or betta_random() -- containing fixed effect estimates of interest. |
---|---|

L | An m x p matrix defining the null LB = 0. L must have full row rank. |

A list containing

The calculated F statistic