statsmodels の API リファレンス
statsmodels (statsmodels/statsmodels) の公開 API 168 件 —— クラス 123、関数 20、メソッド 25。実際のソースを静的解析して抽出した正確なシグネチャを掲載しています。
リポジトリ: statsmodels/statsmodels
| 種別 | 件数 |
|---|---|
| クラス | 123 |
| 関数 | 20 |
| メソッド | 25 |
API 一覧
class
archive.bspline.BSplineBsplines of a given order and specified knots.
class
archive.datarich.factormodels.FactorModelUnivariateTodo: check treatment of const, make it optional ?
class
archive.distributions.gof_new.NewNormjust a holder for modified distributions
class
archive.distributions.transform_functions.AbsFuncclass for absolute value transformation
class
archive.distributions.transform_functions.NegSquareFuncnegative quadratic function
class
archive.distributions.try_max.MaxDistmax of n of scipy.stats normal expon ...
func
archive.infotheo.bitstonats(X)Converts from bits to nats
func
archive.infotheo.natstobits(X)Converts from nats to bits
func
archive.linalg_covmat.ar2transform(x, arcoefs)(Greene eq 12-30)
func
archive.mle.Rp(v)Gradient
func
archive.mle.Rpp(v)Hessian
class
archive.nonparametric.dgp_examples.UnivariateFanGijbels1EUEubank p.179f
class
archive.nonparametric.dgp_examples.UnivariateFunc1made up, with sin and quadratic trend
func
archive.nonparametric.dgp_examples.fg1(x)Fan and Gijbels example function 1
func
archive.nonparametric.dgp_examples.fg2(x)Fan and Gijbels example function 2
func
archive.nonparametric.dgp_examples.func1(x)made up example with sin, square
class
archive.nonparametric.kernel_extras.TestFFormNonparametric test for functional form.
class
archive.panel.mixed.OneWayMixedResultsResults class for OneWayMixed models
class
archive.pca.PcaA basic class for Principal Component Analysis (PCA).
func
archive.regression.try_treewalker.branch(tree)walking a tree bottom-up
func
archive.stats.stats_dhuard.empiricalcdf(data, method='Hazen')Return the empirical cdf.
class
archive.sysreg.SysResultsNot implemented yet.
class
archive.tsa.diffusion.ArithmeticBrownian:math:: dx_t &= \mu dt + \sigma dW_t
class
archive.tsa.diffusion.DiffusionWiener Process, Brownian Motion with mu=0 and sigma=1
class
archive.tsa.diffusion2.CIRSubordinatedBrownianCIR subordinated Brownian Motion
class
archive.tsa.diffusion2.HestonHeston Stochastic Volatility
class
archive.tsa.diffusion2.IGinverse-Gaussian ???
class
archive.tsa.diffusion2.NIGnormal-inverse-Gaussian
class
archive.tsa.diffusion2.VGvariance gamma process
func
archive.tsa.example_arma.detrend_mean(x)Return x minus the mean(x)
func
archive.tsa.example_arma.detrend_none(x)Return x: no detrending
class
statsmodels.base._penalties.L2The L2 (ridge) penalty.
class
statsmodels.base._penalties.L2UnivariateThe L2 (ridge) penalty applied to each parameter.
class
statsmodels.base._penalties.NonePenaltyA penalty that does not penalize.
class
statsmodels.base._penalties.PenaltyA class for representing a scalar-value penalty.
class
statsmodels.base._penalties.PseudoHuberThe pseudo-Huber penalty.
class
statsmodels.base._penalties.SCADThe SCAD penalty of Fan and Li.
class
statsmodels.base._prediction_inference.PredictionResultsBaseBase class for get_prediction results
class
statsmodels.base._prediction_inference.PredictionResultsDeltaPrediction results based on delta method
class
statsmodels.base.model.LikelihoodModelLikelihood model is a subclass of Model
method
statsmodels.base.model.Model.endog_names()Names of endogenous variables
method
statsmodels.base.model.Model.exog_names() -> list[str] | NoneNames of exogenous variables
method
statsmodels.base.model.Model.fit()Fit a model to data
class
statsmodels.base.transform.BoxCoxMixin class to allow for a Box-Cox transformation.
class
statsmodels.discrete.discrete_margins.MarginsMostly a do nothing class.
class
statsmodels.discrete.discrete_model.DiscreteModelAbstract class for discrete choice models.
class
statsmodels.distributions.copula._special.Sterling1Stirling numbers of the first kind
class
statsmodels.distributions.copula._special.Sterling2Stirling numbers of the second kind
class
statsmodels.distributions.copula.archimedean.ClaytonCopulaClayton copula.
class
statsmodels.distributions.copula.archimedean.FrankCopulaFrank copula.
class
statsmodels.distributions.copula.archimedean.GumbelCopulaGumbel copula.
class
statsmodels.distributions.copula.copulas.CopulaA generic Copula class meant for subclassing.
method
statsmodels.distributions.copula.copulas.Copula.plot_pdf(ticks_nbr=10, ax=None)Plot the PDF.
class
statsmodels.distributions.copula.elliptical.GaussianCopulaGaussian copula.
class
statsmodels.distributions.copula.elliptical.StudentTCopulaStudent t copula.
class
statsmodels.distributions.copula.other_copulas.IndependenceCopulaIndependence copula.
class
statsmodels.distributions.copula.transforms.TransfGumbelrequires theta >=1
class
statsmodels.distributions.discrete.genpoisson_p_genGeneralized Poisson distribution
class
statsmodels.distributions.discrete.truncatedpoisson_genTruncated Poisson discrete random variable
class
statsmodels.distributions.discrete.zigeneralizedpoisson_genZero Inflated Generalized Poisson distribution
class
statsmodels.distributions.discrete.zipoisson_genZero Inflated Poisson distribution
class
statsmodels.distributions.empirical_distribution.StepFunctionA basic step function.
class
statsmodels.emplike.descriptive.EmpLikeTestResultResult of an empirical likelihood hypothesis test.
class
statsmodels.emplike.elanova.ANOVAResultResult of :meth:`ANOVA.compute_ANOVA`.
func
statsmodels.gam.smooth_basis.make_bsplines_basis(x, df, degree)Make a spline basis for x.
class
statsmodels.genmod.cov_struct.CovStructBase class for correlation and covariance structures.
class
statsmodels.genmod.cov_struct.ExchangeableAn exchangeable working dependence structure.
class
statsmodels.genmod.cov_struct.IndependenceAn independence working dependence structure.
class
statsmodels.genmod.cov_struct.NestedA nested working dependence structure.
class
statsmodels.genmod.cov_struct.StationaryA stationary covariance structure.
class
statsmodels.genmod.cov_struct.UnstructuredAn unstructured dependence structure.
class
statsmodels.genmod.families.family.BinomialBinomial exponential family distribution.
class
statsmodels.genmod.families.family.FamilyThe parent class for one-parameter exponential families.
class
statsmodels.genmod.families.family.GammaGamma exponential family distribution.
class
statsmodels.genmod.families.family.GaussianGaussian exponential family distribution.
class
statsmodels.genmod.families.family.InverseGaussianInverseGaussian exponential family.
class
statsmodels.genmod.families.family.PoissonPoisson exponential family.
class
statsmodels.genmod.families.family.TweedieTweedie family.
method
statsmodels.genmod.families.links.Link.inverse(z)Inverse of the link function.
class
statsmodels.genmod.families.links.cauchyThe Cauchy (standard Cauchy CDF) transform ..
class
statsmodels.genmod.families.links.cloglogThe CLogLog transform link function.
class
statsmodels.genmod.families.links.identityDeprecated alias of Identity.
class
statsmodels.genmod.families.links.inverse_powerDeprecated alias of InversePower.
class
statsmodels.genmod.families.links.inverse_squaredDeprecated alias of InverseSquared.
class
statsmodels.genmod.families.links.logThe log transform ..
class
statsmodels.genmod.families.links.logcThe log-complement transform ..
class
statsmodels.genmod.families.links.logitAlias of Logit ..
class
statsmodels.genmod.families.links.loglogThe LogLog transform link function.
class
statsmodels.genmod.families.links.nbinomThe negative binomial link function.
class
statsmodels.genmod.families.links.probitThe probit (standard normal CDF) transform ..
class
statsmodels.genmod.families.links.sqrtDeprecated alias of Sqrt.
class
statsmodels.genmod.generalized_linear_model.GLMResultsClass to contain GLM results.
method
statsmodels.genmod.generalized_linear_model.GLMResults.mu()See GLM docstring.
method
statsmodels.genmod.generalized_linear_model.GLMResults.resid_anscombe()Anscombe residuals.
method
statsmodels.genmod.generalized_linear_model.GLMResults.resid_deviance()Deviance residuals.
method
statsmodels.genmod.generalized_linear_model.GLMResults.resid_pearson()Pearson residuals.
method
statsmodels.genmod.generalized_linear_model.GLMResults.resid_response()Response residuals.
method
statsmodels.genmod.generalized_linear_model.GLMResults.resid_working()Working residuals.
class
statsmodels.genmod.qif.QIFAutoregressiveAutoregressive working covariance for QIF regression.
class
statsmodels.genmod.qif.QIFCovarianceA covariance model for quadratic inference function regression.
class
statsmodels.genmod.qif.QIFExchangeableExchangeable working covariance for QIF regression.
class
statsmodels.genmod.qif.QIFIndependenceIndependent working covariance for QIF regression.
class
statsmodels.genmod.qif.QIFResultsResults class for QIF Regression
class
statsmodels.graphics.functional.HdrResultsWrap results and pretty print them
func
statsmodels.iolib.smpickle.load_pickle(fname)Load a previously saved object ..
class
statsmodels.iolib.summary.SummaryResult summary Construction does not take any parameters.
func
statsmodels.iolib.summary.ols_printer()print summary table for ols models
class
statsmodels.iolib.summary2.SummaryResult summary Construction does not take any parameters.
method
statsmodels.iolib.summary2.Summary.as_html()Generate HTML summary table
method
statsmodels.iolib.summary2.Summary.as_text()Generate ASCII summary table
method
statsmodels.multivariate.factor.Factor.endog_names()Names of endogenous variables
class
statsmodels.multivariate.multivariate_ols.MultivariateLSResultsResults for multivariate linear regression
class
statsmodels.nonparametric.kde.KDEResultResult of :func:`kdensity` and :func:`kdensityfft`.
class
statsmodels.nonparametric.kde.KDEUnivariateUnivariate Kernel Density Estimator.
class
statsmodels.regression.linear_model.ELTestResultResult of :meth:`RegressionResults.el_test`.
class
statsmodels.regression.linear_model.OLSResultsResults class for an OLS model.
class
statsmodels.regression.linear_model.RegressionModelBase class for linear regression models.
method
statsmodels.regression.linear_model.RegressionModel.df_model()The model degree of freedom.
method
statsmodels.regression.linear_model.RegressionModel.initialize()Initialize model components
class
statsmodels.regression.linear_model.YuleWalkerResultResult of :func:`yule_walker`.
class
statsmodels.regression.quantile_regression.QuantRegResultsResults instance for the QuantReg model
class
statsmodels.robust.resistant_linear_model.RLMDetSS-estimator for linear model with deterministic starts.
class
statsmodels.robust.resistant_linear_model.RLMDetSMMMM-estimator with S-estimator starting values.
class
statsmodels.sandbox.nonparametric.kernels.CustomKernelGeneric 1D Kernel object.
class
statsmodels.sandbox.nonparametric.smoothers.PolySmootherPolynomial smoother up to a given order.
class
statsmodels.sandbox.regression.gmm.GMMResultsjust a storage class right now
method
statsmodels.sandbox.regression.gmm.GMMResults.q()Objective function at params
class
statsmodels.sandbox.regression.gmm.IVGMMResultsResults class of IVGMM
method
statsmodels.sandbox.regression.gmm.IVGMMResults.fittedvalues()Fitted values
method
statsmodels.sandbox.regression.gmm.IVGMMResults.resid()Residuals
method
statsmodels.sandbox.regression.gmm.IVGMMResults.ssr()Sum of square errors
class
statsmodels.sandbox.regression.gmm.IVRegressionResultsResults class for an OLS model.
func
statsmodels.sandbox.regression.gmm.maxabs(x)just a shortcut to np.abs(x).max()
func
statsmodels.sandbox.tsa.movstat.check_movorder()graphical test for movorder
class
statsmodels.stats.contingency_tables.CochransQResultResult of :func:`cochrans_q`.
class
statsmodels.stats.descriptivestats.DescribeRemoved
class
statsmodels.stats.diagnostic.GoldfeldQuandtResultResult of :func:`het_goldfeldquandt`.
class
statsmodels.stats.diagnostic.NonNestedTestResultResult of :func:`compare_cox` and :func:`compare_j`.
func
statsmodels.tsa.ar_model.sumofsq(x:np.ndarray, axis:int=0) -> float | np.ndarrayHelper function to calculate sum of squares along first axis
class
statsmodels.tsa.ardl.model.ARDLResultsClass to hold results from fitting an ARDL model.
class
statsmodels.tsa.ardl.model.UECMResultsClass to hold results from fitting an UECM model.
method
statsmodels.tsa.ardl.model.UECMResults.resid()The residuals of the model
class
statsmodels.tsa.arima.estimators._base.ARMAEstimationResultResult of an ARIMA parameter estimator.
method
statsmodels.tsa.deterministic.CalendarDeterministicTerm.freq() -> strThe frequency of the deterministic terms
class
statsmodels.tsa.deterministic.DeterministicProcessContainer class for deterministic terms.
method
statsmodels.tsa.deterministic.DeterministicProcess.index() -> pd.IndexThe index of the process
class
statsmodels.tsa.deterministic.DeterministicTermAbstract Base Class for all Deterministic Terms
method
statsmodels.tsa.deterministic.Fourier.period() -> floatThe period of the Fourier terms
func
statsmodels.tsa.holtwinters._smoothers.holt_init(x, hw_args:HoltWintersArgs)Initialization for the Holt Models
class
statsmodels.tsa.statespace.dynamic_factor_mq.DynamicFactorMQResultsResults from fitting a dynamic factor model
class
statsmodels.tsa.stattools._stattools.ADFullerResultResult of :func:`adfuller`.
class
statsmodels.tsa.stattools._stattools.AcfResultResult of :func:`acf`.
class
statsmodels.tsa.stattools._stattools.CcfResultResult of :func:`ccf`.
class
statsmodels.tsa.stattools._stattools.CointResultResult of :func:`coint`.
class
statsmodels.tsa.stattools._stattools.JackknifeResultResult of :func:`block_jackknife`.
class
statsmodels.tsa.stattools._stattools.KpssResultResult of :func:`kpss`.
class
statsmodels.tsa.stattools._stattools.LevinsonDurbinPacfResultResult of :func:`levinson_durbin_pacf`.
class
statsmodels.tsa.stattools._stattools.LevinsonDurbinResultResult of :func:`levinson_durbin`.
class
statsmodels.tsa.stattools._stattools.PacfBurgResultResult of :func:`pacf_burg`.
class
statsmodels.tsa.stattools._stattools.PacfResultResult of :func:`pacf`.
class
statsmodels.tsa.stattools._stattools.PccfResultResult of :func:`pccf`.
class
statsmodels.tsa.stattools._stattools.QStatResultResult of :func:`q_stat`.
class
statsmodels.tsa.tsatools.LagmatResultResult of :func:`lagmat`.
class
statsmodels.tsa.vector_ar.irf.IRAnalysisImpulse response analysis class.
func
statsmodels.tsa.vector_ar.plotting.plot_mts(Y, names=None, index=None)Plot multiple time series
class
statsmodels.tsa.vector_ar.var_model.VARFit VAR(p) process and do lag order selection ..
method
statsmodels.tsa.vector_ar.var_model.VAR.from_formula(formula, data, subset=None, drop_cols=None, *args, **kwargs)Not implemented.
class
statsmodels.tsa.vector_ar.vecm.VECMClass representing a Vector Error Correction Model (VECM).
この情報について
掲載しているシグネチャは statsmodels/statsmodels の公開ソースコードを
Python の ast モジュールで静的解析し、引数名・デフォルト値・
型注釈・戻り値型をそのまま抽出したものです。実装コードは保存していません。
詳しくは仕組みの解説をご覧ください。