### Navigation

- index
- modules |
- next |
- previous |
- statsmodels v0.2.0 documentation »
- Internal Classes »
- scikits.statsmodels.model.LikelihoodModelResults »

# scikits.statsmodels.model.LikelihoodModelResults.t

`LikelihoodModelResults.``t`(column=None)

  Return the t-statistic for a given parameter estimate.

  Parameters: | column : array-like The columns for which you would like the t-value. Note that this uses Python’s indexing conventions.

  See also

  `Use`

  Examples

      >>> import scikits.statsmodels as sm
      >>> data = sm.datasets.longley.Load()
      >>> data.exog = sm.add_constant(data.exog)
      >>> results = sm.OLS(data.endog, data.exog).fit()
      >>> results.t()
      array([ 0.17737603, -1.06951632, -4.13642736, -4.82198531, -0.22605114,
      4.01588981, -3.91080292])
      >>> results.t([1,2,4])
      array([-1.06951632, -4.13642736, -0.22605114])
      >>> import numpy as np
      >>> results.t(np.array([1,2,4]))
      array([-1.06951632, -4.13642736, -0.22605114])

### Navigation

- index
- modules |
- next |
- previous |
- statsmodels v0.2.0 documentation »
- Internal Classes »
- scikits.statsmodels.model.LikelihoodModelResults »