Example #1
0
    def _f_statistic(
            self, params: Float64Array, cov: Float64Array,
            debiased: bool) -> Union[WaldTestStatistic, InvalidTestStatistic]:
        const_loc = find_constant(cast(Float64Array, self._exog.ndarray))
        resid_df = self._nobs - self._num_params

        return f_statistic(params, cov, debiased, resid_df, const_loc)
Example #2
0
    def _f_statistic(self, params: ndarray, cov: ndarray, debiased: bool):
        const_loc = find_constant(self._exog.ndarray)
        resid_df = self._nobs - self._num_params

        return f_statistic(params, cov, debiased, resid_df, const_loc)
Example #3
0
 def _f_statistic(
         self, params: NDArray, cov: NDArray,
         debiased: bool) -> Union[WaldTestStatistic, InvalidTestStatistic]:
     const_loc = find_constant(self._x)
     nobs, nvar = self._x.shape
     return f_statistic(params, cov, debiased, nobs - nvar, const_loc)
Example #4
0
 def _f_statistic(self, params: ndarray, cov: ndarray, debiased: bool):
     const_loc = find_constant(self._x)
     nobs, nvar = self._x.shape
     return f_statistic(params, cov, debiased, nobs - nvar, const_loc)