Package com.imsl.test.example.stat
package com.imsl.test.example.stat
Statistics examples.
-
ClassesClassDescriptionPerforms a one-way analysis of covariance.Performs one-way analysis of covariance and tests for parallelism.Performs a one-way analysis of variance.Performs a two-way factorial analysis of variance.Performs a two-way factorial analysis of variance with additional printed output.Performs a three-way factorial analysis of variance.Finds the minimum AIC autoregressive model for the Wolfer sunspot data.Finds the minimum AIC autoregressive model for the Canadian lynx data.Estimates missing values for a generated \( \text{AR}(1) \) series.Fits an \(\text{ARMA}(2,1)\) to the Wolfer sunspot data using the method of moments.Fits an \(\text{ARMA}(2,1)\) to the Wolfer sunspot data using the method of least squares.Fits an \(\text{ARMA}(2,1)\) to the Wolfer sunspot data and produces a forecast table.Fits an \(\text{ARMA}(2,1)\) to the Wolfer sunspot data using the method of maximum likelihood.Performs outlier identification and simultaneously fits an \(\text{ARIMA}(2,2,0)\) to the Canadian Lynx dataset.Performs outlier identification on an \( \text{ARMA}(1,1)\) process contaminated by outliers.Forecasts an \(\text{ARMA}(2,1)\) time series contaminated by outliers.Searches for the best fit seasonality for the Airline data.Searches for the best fitting non-seasonal \( \text{ARIMA} \).Searches for the best fitting \(\text{ARIMA}(p,d,q)\) model.Fits an \(\text{ARIMA}(p,d,q)\) model with fixed parameter values.Computes autocorrelations of the Wolfer sunspot data.Fits a logit and probit categorical model to beetle mortality data.Analyzes interval type data with the Poisson model.Evaluates various cumulative distribution functions.Performs a chi-squared test on simulated data.Performs hierarchical clustering on Fisher's iris data.Performs K-Means clustering on Fisher's iris data.Performs K-Means++ clustering on Fisher's iris data.Performs K-Nearest Neighbor clustering on Fisher's iris data.Performs a chi-squared test for independence.Calculates a number of statistics associated with a contingency table.Calculates a variance-covariance matrix.Computes the cross-covariances and cross-correlations for the gas furnace data.Performs DBSCAN clustering on Fisher's iris data.Performs DBSCAN clustering on an artificial data set.Computes a lagged difference formula for the airline data.Computes a lagged difference formula for the airline data excluding the lost observations.Performs a discriminant analysis on Fisher's iris data.Computes a dissimilarity matrix using the Euclidean distance.Fits an EGARCH(1, 1) to a segment of S&P 500 returns.Fits an EGARCH(1, 1) with a user defined distribution on \(z_t\).Fits an EGARCH(1, 1) with an ARMA(1,1) on the mean.Computes empirical quantiles for rainfall data.Computes the principal components on a 9 variable correlation matrix.Compute the factors on 9 variables by the method of maximum likelihood.Generates points of the Faure sequence.Estimates a \(\text{GARCH}(p,q)\) model from simulated data.Applies Holt-Winter's exponential smoothing to a series.Evaluates the inverse CDF for the beta and chi-squared random variables.Computes the inverse of a user-supplied CDF at a probability value.Computes the filtered estimates and the one-step-ahead estimates using the Kalman filter.Estimates a moving average model \(\text{MA}(1)\) using the Kalman filter.Computes the survival curve for units under life-testing.Computes the Kaplan-Meier probability estimates for censored data.Performs a Kolmogorov one-sample test.Performs a Kolmogorov two-sample test.Performs a lack-of-fit test between an \(\text{ARMA}(2,1)\) and Wolfer's sunspot data.Computes a cohort life table.Computes a simple linear regression model.Computes case statistics in a simple linear regression.Generates a pseudorandom sequence using the Mersenne64 Twister.Generates a pseudorandom sequence using the Mersenne Twister.Computes cross-correlations for a three-channel time series.Applies multidimensional scaling to a distance matrix.Applies multidimensional scaling to rectangles of different size.Performs the Student-Newman-Keuls multiple comparison test on a small set of means.Fits a nonlinear regression using finite differences for the derivatives.Fits a nonlinear regression using user supplied derivatives.Fits a nonlinear regression on scaled data.Performs a test of normality.Performs a hypothesis test for the mean of a normal distribution.Performs a hypothesis test for the difference in means of two normal distributions.Performs a difference in means test with incremental updates.Computes the partial covariances for a set of 9 variables.Computes partial covariances after adjusting for specific variables.Evaluates probability density functions.Computes a pooled variance-covariance matrix involving 2 groups.Computes pooled variance-covariance for Fisher's iris data.Performs proportional-hazards data analysis on lung cancer data.Generates a pseudorandom sample from a normal distribution and performs a goodness of fit test.Generates a pseudorandom multivariate sequence with user defined marginal distributions.Generates a pseudorandom sample from a discrete distribution.Generates a pseudorandom sample from a discrete uniform distribution.Generates a pseudorandom permutation.Generates a set of pseudorandom indices.Selects a sample from a data set.Selects a pseudorandom sample from a million records.Selects a pseudorandom sample from Fisher's iris data.Analyzes the ranks of a data set.Generates binary regressors for classification variables.Sets up data for a two-way analysis of covariance.Finds the best regressions using the \(R^2\) criterion.Finds the best regressions using Mallow's \(C_p\) criterion.Performs the sign test on a small data set.Performs the sign test on a small data set.Sorts an array and computes the permutation.Sorts a matrix using columns as keys.Performs stepwise regression variable selection.Computes summary statistics for a small data set.Computes a two-way table in the presence of missing values.Computes a two-way table and displays the balanced table.Computes a two-way table and displays the unbalanced table.Computes a one-way table for a continuous scale variable.Computes a two-way table for continuous scale data.Sets up a time series object.Sets up a time series with a different time zone.Merges two time series using different merging rules.Merges two time series using different combining methods.Performs the backshift operation on a time series.Performs the stacking or vectorizing operation on a time series.Fits a regression to a function without noise with user defined basis functions.Fits a regression to a polynomial with user defined basis functions.Fits a vector autoregression to a time series.Performs Welch's t-test for three example data sets.Performs a rank sum test.Performs a rank sum test and displays all the statistics.