sandbox.descstats.descstats()

statsmodels.sandbox.descstats.descstats

statsmodels.sandbox.descstats.descstats(data, cols=None, axis=0) [source]

Prints descriptive statistics for one or multiple variables.

Parameters:

data: numpy array

x is the data

v: list, optional

A list of the column number or field names (for a recarray) of variables. Default is all columns.

axis: 1 or 0

axis order of data. Default is 0 for column-ordered data.

Examples

>>> descstats(data.exog,v=['x_1','x_2','x_3'])

© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3-clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.sandbox.descstats.descstats.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部