Uses of Interface
edu.cmu.tetrad.data.DataSet
Packages that use DataSet
Package
Description
Contains classes for searching for (mostly structural) causal models given data.
Contains classes for various various sorts of scores for running score-based algorithms.
Contains classes for running conditional independence tests for various sorts of data.
Contains some utility classes for search algorithms.
Contains some classes that aren't ready for prime time.
-
Uses of DataSet in edu.cmu.tetrad.algcomparison.algorithm.external
Methods in edu.cmu.tetrad.algcomparison.algorithm.external with parameters of type DataSetModifier and TypeMethodDescriptionstatic Graph
ExternalAlgorithmPcalgPc.loadGraphPcAlgMatrix
(DataSet dataSet) -
Uses of DataSet in edu.cmu.tetrad.bayes
Methods in edu.cmu.tetrad.bayes that return DataSetModifier and TypeMethodDescriptionCellTableProbs.getDataSet()
DataSetProbs.getDataSet()
DirichletDataSetProbs.getDataSet()
FactoredBayesStructuralEM.getDataSet()
IntAveDataSetProbs.getDataSet()
EmBayesEstimator.getMixedDataSet()
BayesIm.simulateData
(int sampleSize, boolean latentDataSaved) Simulates a sample with the given sample size.BayesIm.simulateData
(DataSet dataSet, boolean latentDataSaved) Overwrites the given dataSet with a new simulated dataSet, to avoid allocating memory.DirichletBayesIm.simulateData
(int sampleSize, boolean latentDataSaved) Simulates and returns a dataset with number of cases equal tosampleSize
.DirichletBayesIm.simulateData
(DataSet dataSet, boolean latentDataSaved) Would be nice to have this method supported, but no one's using it, so it's not.MlBayesIm.simulateData
(int sampleSize, boolean latentDataSaved) MlBayesIm.simulateData
(int sampleSize, boolean latentDataSaved, int[] tiers) Simulates a sample with the given sample size.MlBayesIm.simulateData
(DataSet dataSet, boolean latentDataSaved) MlBayesIm.simulateData
(DataSet dataSet, boolean latentDataSaved, int[] tiers) MlBayesImObs.simulateData
(int sampleSize, boolean latentDataSaved) Simulates a sample with the given sample size.MlBayesImObs.simulateData
(DataSet dataSet, boolean latentDataSaved) UpdatedBayesIm.simulateData
(int sampleSize, boolean latentDataSaved) UpdatedBayesIm.simulateData
(DataSet dataSet, boolean latentDataSaved) Methods in edu.cmu.tetrad.bayes with parameters of type DataSetModifier and TypeMethodDescriptionstatic DirichletBayesIm
DirichletEstimator.estimate
(DirichletBayesIm prior, DataSet dataSet) 33 Estimates a Bayes IM using the variables, graph, and parameters in the given Bayes PM and the data columns in the given data set.BayesIm.simulateData
(DataSet dataSet, boolean latentDataSaved) Overwrites the given dataSet with a new simulated dataSet, to avoid allocating memory.DirichletBayesIm.simulateData
(DataSet dataSet, boolean latentDataSaved) Would be nice to have this method supported, but no one's using it, so it's not.MlBayesIm.simulateData
(DataSet dataSet, boolean latentDataSaved) MlBayesIm.simulateData
(DataSet dataSet, boolean latentDataSaved, int[] tiers) MlBayesImObs.simulateData
(DataSet dataSet, boolean latentDataSaved) UpdatedBayesIm.simulateData
(DataSet dataSet, boolean latentDataSaved) Constructors in edu.cmu.tetrad.bayes with parameters of type DataSetModifierConstructorDescriptionBayesProperties
(DataSet dataSet) BdeMetricCache
(DataSet dataSet, BayesPm bayesPm) CellTableProbs
(DataSet dataSet) Creates a cell count table for the given data set.DataSetProbs
(DataSet dataSet) Creates a cell count table for the given data set.DirichletDataSetProbs
(DataSet dataSet, double symmValue) Creates a cell count table for the given data set.EmBayesEstimator
(BayesIm inputBayesIm, DataSet dataSet) EmBayesEstimator
(BayesPm bayesPm, DataSet dataSet) Provides methods for estimating a Bayes IM from an existing BayesIM and a discrete dataset using EM (Expectation Maximization).EmBayesProperties
(DataSet dataSet, Graph graph) FactoredBayesStructuralEM
(DataSet dataSet, BayesPm bayesPmM0) IntAveDataSetProbs
(DataSet dataSet) Creates a cell count table for the given data set. -
Uses of DataSet in edu.cmu.tetrad.calculator
Methods in edu.cmu.tetrad.calculator with parameters of type DataSet -
Uses of DataSet in edu.cmu.tetrad.calibration
Methods in edu.cmu.tetrad.calibration that return DataSetModifier and TypeMethodDescriptionDataForCalibrationRfci.bootStrapSampling
(DataSet data, int bootsrapSampleSize) Methods in edu.cmu.tetrad.calibration with parameters of type DataSetModifier and TypeMethodDescriptionDataForCalibrationRfci.bootStrapSampling
(DataSet data, int bootsrapSampleSize) DataForCalibrationRfci.learnBNRFCI
(DataSet bootstrapSample, int depth, Graph truePag) -
Uses of DataSet in edu.cmu.tetrad.classify
Methods in edu.cmu.tetrad.classify that return DataSetModifier and TypeMethodDescriptionClassifierBayesUpdaterDiscrete.getTestData()
Returns the test data being used.Constructors in edu.cmu.tetrad.classify with parameters of type DataSet -
Uses of DataSet in edu.cmu.tetrad.data
Classes in edu.cmu.tetrad.data that implement DataSetModifier and TypeClassDescriptionfinal class
Wraps a DataBox in such a way that mixed data sets can be stored.final class
Wraps a 2D array of Number objects in such a way that mixed data sets can be stored.Methods in edu.cmu.tetrad.data that return DataSetModifier and TypeMethodDescriptionstatic DataSet
DataTransforms.addMissingData
(DataSet inData, double[] probs) Adds missing data values to cases in accordance with probabilities specified in a double array which has as many elements as there are columns in the input dataset.static DataSet
Subtracts the mean of each column from each datum that column.static DataSet
DataUtils.choleskySimulation
(CovarianceMatrix cov) static DataSet
DataTransforms.concatenate
(DataSet... dataSets) static DataSet
DataTransforms.concatenate
(DataSet dataSet1, DataSet dataSet2) static DataSet
DataTransforms.concatenate
(List<DataSet> dataSets) static DataSet
DataTransforms.convertNumericalDiscreteToContinuous
(DataSet dataSet) BoxDataSet.copy()
DataSet.copy()
NumberObjectDataSet.copy()
static DataSet
DataUtils.discreteSerializableInstance()
A discrete data set used to construct some other serializable instances.static DataSet
DataTransforms.discretize
(DataSet dataSet, int numCategories, boolean variablesCopied) Discretizer.discretize()
Expands cases for the given dataset.Interpolates the given data set, producing a data set with no missing values.static DataSet
DataTransforms.getBootstrapSample
(DataSet data, int sampleSize) static DataSet
DataTransforms.getBootstrapSample
(DataSet data, int sampleSize, org.apache.commons.math3.random.RandomGenerator randomGenerator) Get dataset sampled with replacement.static DataSet
SimpleDataLoader.getContinuousDataSet
(DataModel dataSet) Returns the datamodel case to DataSet if it is continuous.Histogram.getDataSet()
static DataSet
SimpleDataLoader.getDiscreteDataSet
(DataModel dataSet) Returns the datamodel case to DataSet if it is discrete.static DataSet
SimpleDataLoader.getMixedDataSet
(DataModel dataSet) Returns the datamodel case to DataSet if it is mixed.static DataSet
DataTransforms.getNonparanormalTransformed
(DataSet dataSet) static DataSet
DataTransforms.getResamplingDataset
(DataSet data, int sampleSize) static DataSet
DataTransforms.getResamplingDataset
(DataSet data, int sampleSize, org.apache.commons.math3.random.RandomGenerator randomGenerator) Get dataset sampled without replacement.BoxDataSet.like()
DataSet.like()
NumberObjectDataSet.like()
static @NotNull DataSet
SimpleDataLoader.loadContinuousData
(File file, String commentMarker, char quoteCharacter, String missingValueMarker, boolean hasHeader, edu.pitt.dbmi.data.reader.Delimiter delimiter, boolean excludeFirstColumn) Loads a continuous dataset from a file.static @NotNull DataSet
SimpleDataLoader.loadDiscreteData
(File file, String commentMarker, char quoteCharacter, String missingValueMarker, boolean hasHeader, edu.pitt.dbmi.data.reader.Delimiter delimiter, boolean excludeFirstColumn) Loads a discrete dataset from a file.static @NotNull DataSet
SimpleDataLoader.loadMixedData
(File file, String commentMarker, char quoteCharacter, String missingValueMarker, boolean hasHeader, int maxNumCategories, edu.pitt.dbmi.data.reader.Delimiter delimiter, boolean excludeFirstColumn) Loads a mixed dataset from a file.static DataSet
Log or unlog datastatic DataSet
DataTransforms.removeConstantColumns
(DataSet dataSet) static DataSet
DataTransforms.removeRandomColumns
(DataSet dataSet, double aDouble) static DataSet
DataTransforms.replaceMissingWithRandom
(DataSet inData) static DataSet
DataTransforms.restrictToMeasured
(DataSet fullDataSet) This method takes a dataset and a sample size and creates a new dataset containing that number of samples by drawing with replacement from the original dataset.static DataSet
This method takes a dataset and a sample size and creates a new dataset containing that number of samples by drawing with replacement from the original dataset.static DataSet
DataTransforms.shuffleColumns
(DataSet dataModel) Simulator.simulateData
(int sampleSize, boolean latentDataSaved) Simulates data from the model associated with this object.static DataSet
DataTransforms.standardizeData
(DataSet dataSet) BoxDataSet.subsetColumns
(int[] indices) BoxDataSet.subsetColumns
(List<Node> vars) Creates and returns a dataset consisting of those variables in the list vars.DataSet.subsetColumns
(int[] columns) DataSet.subsetColumns
(List<Node> vars) Creates and returns a dataset consisting of those variables in the list vars.NumberObjectDataSet.subsetColumns
(int[] indices) NumberObjectDataSet.subsetColumns
(List<Node> vars) Creates and returns a dataset consisting of those variables in the list vars.BoxDataSet.subsetRows
(int[] rows) DataSet.subsetRows
(int[] rows) NumberObjectDataSet.subsetRows
(int[] rows) BoxDataSet.subsetRowsColumns
(int[] rows, int[] columns) DataSet.subsetRowsColumns
(int[] rows, int[] columns) NumberObjectDataSet.subsetRowsColumns
(int[] rows, int[] columns) Methods in edu.cmu.tetrad.data that return types with arguments of type DataSetModifier and TypeMethodDescriptionDataTransforms.shuffleColumns2
(List<DataSet> dataSets) DataTransforms.standardizeData
(List<DataSet> dataSets) Methods in edu.cmu.tetrad.data with parameters of type DataSetModifier and TypeMethodDescriptionstatic DataSet
DataTransforms.addMissingData
(DataSet inData, double[] probs) Adds missing data values to cases in accordance with probabilities specified in a double array which has as many elements as there are columns in the input dataset.void
CellTable.addToTable
(DataSet dataSet, int[] indices) static DataSet
Subtracts the mean of each column from each datum that column.static DataSet
DataTransforms.concatenate
(DataSet... dataSets) static DataSet
DataTransforms.concatenate
(DataSet dataSet1, DataSet dataSet2) static boolean
DataUtils.containsMissingValue
(DataSet data) static DataSet
DataTransforms.convertNumericalDiscreteToContinuous
(DataSet dataSet) static void
DataTransforms.copyColumn
(Node node, DataSet source, DataSet dest) static ICovarianceMatrix
DataTransforms.covarianceNonparanormalDrton
(DataSet dataSet) static DataSet
DataTransforms.discretize
(DataSet dataSet, int numCategories, boolean variablesCopied) Expands cases for the given dataset.Interpolates the given data set, producing a data set with no missing values.static DataSet
DataTransforms.getBootstrapSample
(DataSet data, int sampleSize) static DataSet
DataTransforms.getBootstrapSample
(DataSet data, int sampleSize, org.apache.commons.math3.random.RandomGenerator randomGenerator) Get dataset sampled with replacement.DataTransforms.getConstantColumns
(DataSet dataSet) static @NotNull ICovarianceMatrix
SimpleDataLoader.getCorrelationMatrix
(DataSet dataSet) static @NotNull ICovarianceMatrix
SimpleDataLoader.getCovarianceMatrix
(DataSet dataSet, boolean precomputeCovariances) static DataSet
DataTransforms.getNonparanormalTransformed
(DataSet dataSet) static DataSet
DataTransforms.getResamplingDataset
(DataSet data, int sampleSize) static DataSet
DataTransforms.getResamplingDataset
(DataSet data, int sampleSize, org.apache.commons.math3.random.RandomGenerator randomGenerator) Get dataset sampled without replacement.static boolean
States whether the given column of the given data set is binary.static DataSet
Log or unlog datastatic DataSet
DataTransforms.removeConstantColumns
(DataSet dataSet) static DataSet
DataTransforms.removeRandomColumns
(DataSet dataSet, double aDouble) static DataSet
DataTransforms.replaceMissingWithRandom
(DataSet inData) static DataSet
DataTransforms.restrictToMeasured
(DataSet fullDataSet) This method takes a dataset and a sample size and creates a new dataset containing that number of samples by drawing with replacement from the original dataset.static DataSet
This method takes a dataset and a sample size and creates a new dataset containing that number of samples by drawing with replacement from the original dataset.static DataSet
DataTransforms.shuffleColumns
(DataSet dataModel) static DataSet
DataTransforms.standardizeData
(DataSet dataSet) static void
DataWriter.writeRectangularData
(DataSet dataSet, Writer out, char separator) Writes a dataset to file.Method parameters in edu.cmu.tetrad.data with type arguments of type DataSetModifier and TypeMethodDescriptionstatic DataSet
DataTransforms.concatenate
(List<DataSet> dataSets) DataTransforms.shuffleColumns2
(List<DataSet> dataSets) DataTransforms.standardizeData
(List<DataSet> dataSets) Constructors in edu.cmu.tetrad.data with parameters of type DataSetModifierConstructorDescriptionCorrelationMatrix
(DataSet dataSet) Constructs a new correlation matrix from the the given DataSet.CovarianceMatrix
(DataSet dataSet) Constructs a new covariance matrix from the given data set.CovarianceMatrix
(DataSet dataSet, boolean biasCorrected) CovarianceMatrixOnTheFly
(DataSet dataSet) Constructs a new covariance matrix from the given data set.CovarianceMatrixOnTheFly
(DataSet dataSet, boolean verbose) Discretizer
(DataSet dataSet) Constructs a new discretizer that discretizes every variable as binary, using evenly distributed values.Discretizer
(DataSet dataSet, Map<Node, DiscretizationSpec> specs) This histogram is for variables in a particular data set. -
Uses of DataSet in edu.cmu.tetrad.graph
Methods in edu.cmu.tetrad.graph with parameters of type DataSetModifier and TypeMethodDescriptionstatic Graph
GraphSaveLoadUtils.loadGraphBNTPcMatrix
(List<Node> vars, DataSet dataSet) -
Uses of DataSet in edu.cmu.tetrad.regression
Methods in edu.cmu.tetrad.regression that return DataSetMethods in edu.cmu.tetrad.regression with parameters of type DataSetConstructors in edu.cmu.tetrad.regression with parameters of type DataSetModifierConstructorDescriptionLogisticRegression
(DataSet dataSet) A mixed data set.RegressionDataset
(DataSet data) Constructs a linear regression model for the given tabular data set. -
Uses of DataSet in edu.cmu.tetrad.search
Methods in edu.cmu.tetrad.search that return DataSetModifier and TypeMethodDescriptionIndTestIod.getData()
The data set for this test is undefined, since the test is pooled over multiple datasets.Methods in edu.cmu.tetrad.search that return types with arguments of type DataSetModifier and TypeMethodDescriptionIndependenceTest.getDataSets()
Returns the datasets for this testMethods in edu.cmu.tetrad.search with parameters of type DataSetModifier and TypeMethodDescriptionstatic Matrix
Estimates the W matrix using FastICA.Fits an ICA-LiNGAM model to the given dataset using a default method for estimating W.Fits a LiNG-D model to the given dataset using a default method for estimating W.Cstar.getRecords
(DataSet dataSet, List<Node> possibleCauses, List<Node> possibleEffects, int topBracket, String path) Returns records for a set of variables with expected number of false positives bounded by q.Constructors in edu.cmu.tetrad.search with parameters of type DataSetModifierConstructorDescriptionBpc
(DataSet dataSet, double alpha, BpcTestType sigTestType) Constructor.Constructor.DirectLingam
(DataSet dataset, Score score) Constructor.FactorAnalysis
(DataSet dataSet) Constructor.Fask
(DataSet dataSet, Score score, IndependenceTest test) Constructor.Fofc
(DataSet dataSet, BpcTestType testType, Fofc.Algorithm algorithm, double alpha) Conctructor.Ftfc
(DataSet dataSet, Ftfc.Algorithm algorithm, double alpha) Conctructor.Constructor.Constructor.Constructor parameters in edu.cmu.tetrad.search with type arguments of type DataSet -
Uses of DataSet in edu.cmu.tetrad.search.score
Methods in edu.cmu.tetrad.search.score that return DataSetModifier and TypeMethodDescriptionBdeScore.getDataSet()
Returns the dataset being analyzed.BdeuScore.getDataSet()
Returns the dataset being analyzed.DiscreteBicScore.getDataSet()
Returns the dataset being analyzed.DiscreteScore.getDataSet()
Returns the dataset.GicScores.getDataSet()
GraphScore.getDataSet()
IndTestScore.getDataSet()
Constructors in edu.cmu.tetrad.search.score with parameters of type DataSetModifierConstructorDescriptionConstructs a BDe score for the given dataset.Constructs a BDe score for the given dataset.ConditionalGaussianLikelihood
(DataSet dataSet) Constructs the score using a covariance matrix.ConditionalGaussianScore
(DataSet dataSet, double penaltyDiscount, boolean discretize) Constructs the score using a covariance matrix.DegenerateGaussianScore
(DataSet dataSet, boolean precomputeCovariances) DiscreteBicScore
(DataSet dataSet) Constructor.Constructs the score using a covariance matrix.Constructs the score using a covariance matrix.MvpLikelihood
(DataSet dataSet, double structurePrior, int fDegree, boolean discretize) Constructor.PoissonPriorScore
(DataSet dataSet, boolean precomputeCovariances) Constructs the score using a covariance matrix.SemBicScore
(DataSet dataSet, boolean precomputeCovariances) Constructs the score using a covariance matrix.Constructs the score using a covariance matrix. -
Uses of DataSet in edu.cmu.tetrad.search.test
Methods in edu.cmu.tetrad.search.test that return DataSetModifier and TypeMethodDescriptionIndTestChiSquare.getData()
Returns the data being analyzed.IndTestConditionalCorrelation.getData()
Returns the data set being analyzed.IndTestConditionalGaussianLrt.getData()
Returns the data.IndTestDegenerateGaussianLrt.getData()
Returns the dataset being analyzed.IndTestFisherZ.getData()
Returns the data set being analyzed.IndTestFisherZConcatenateResiduals.getData()
Returns the concatenated data.IndTestFisherZFisherPValue.getData()
Returns the concatenated data.IndTestGSquare.getData()
Returns the data.IndTestHsic.getData()
Returns the data set being analyzed.IndTestMulti.getData()
IndTestMvpLrt.getData()
Returns the data.IndTestRegression.getData()
IndTestTrekSep.getData()
MsepTest.getData()
GSquareTest.getDataSet()
Returns the dataset used for this test.Methods in edu.cmu.tetrad.search.test that return types with arguments of type DataSetModifier and TypeMethodDescriptionIndTestFisherZ.getDataSets()
Returns the (singleton) list of datasets being analyzed.IndTestTrekSep.getDataSets()
Kci.getDataSets()
Returns a list consisting of the dataset for this test.ScoreIndTest.getDataSets()
Constructors in edu.cmu.tetrad.search.test with parameters of type DataSetModifierConstructorDescriptionChiSquareTest
(DataSet dataSet, double alpha) Constructs a test using the given data set and significance level.Constructs a new Independence test which checks independence facts based on the correlation data implied by the given data set (must be continuous).GSquareTest
(DataSet dataSet, double alpha) ConstructorIndTestChiSquare
(DataSet dataSet, double alpha) Constructs a new independence checker to check conditional independence facts for discrete data using a g square test.IndTestConditionalCorrelation
(DataSet dataSet, double alpha) Constructs a new Independence test which checks independence facts based on the correlation data implied by the given data set (must be continuous).IndTestConditionalGaussianLrt
(DataSet data, double alpha, boolean discretize) Constructor.IndTestDegenerateGaussianLrt
(DataSet dataSet) Constructs the score using a covariance matrix.IndTestFisherZ
(DataSet dataSet, double alpha) Constructs a new Independence test which checks independence facts based on the correlation matrix implied by the given data set (must be continuous).IndTestGSquare
(DataSet dataSet, double alpha) Constructs a new independence checker to check conditional independence facts for discrete data using a g square test.IndTestHsic
(DataSet dataSet, double alpha) Constructs a new HSIC Independence test.IndTestMvpLrt
(DataSet data, double alpha, int fDegree, boolean discretize) Constructor.IndTestProbabilistic
(DataSet dataSet) Initializes the test using a discrete data sets.IndTestRegression
(DataSet dataSet, double alpha) Constructs a new Independence test which checks independence facts based on the correlation matrix implied by the given data set (must be continuous).Constructor.Constructor parameters in edu.cmu.tetrad.search.test with type arguments of type DataSetModifierConstructorDescriptionIndTestFisherZConcatenateResiduals
(List<DataSet> dataSets, double alpha) Constructor.IndTestFisherZFisherPValue
(List<DataSet> dataSets, double alpha) Constructor. -
Uses of DataSet in edu.cmu.tetrad.search.utils
Methods in edu.cmu.tetrad.search.utils that return DataSetModifier and TypeMethodDescriptionstatic DataSet
Creates new time series dataset from the given one with index variable (e.g., time)static DataSet
static DataSet
static DataSet
TsUtils.createLagData
(DataSet data, int numLags) Creates new time series dataset from the given one (fixed to deal with mixed datasets)static DataSet
TsUtils.createShiftedData
(DataSet data, int[] shifts) static DataSet
TsUtils.difference
(DataSet data, int d) Calculates the dth difference of the given data.TetradTest.getDataSet()
TetradTestContinuous.getDataSet()
TetradTestDiscrete.getDataSet()
TetradTestPopulation.getDataSet()
TsUtils.VarResult.getResiduals()
Methods in edu.cmu.tetrad.search.utils with parameters of type DataSetModifier and TypeMethodDescriptionstatic DataSet
Creates new time series dataset from the given one with index variable (e.g., time)static DataSet
static DataSet
static Matrix
Constructs the centralized Gram matrix for a given vector valued sample.static Matrix
Constructs Gram matrix for a given vector valued sample.static DataSet
TsUtils.createLagData
(DataSet data, int numLags) Creates new time series dataset from the given one (fixed to deal with mixed datasets)static DataSet
TsUtils.createShiftedData
(DataSet data, int[] shifts) static DataSet
TsUtils.difference
(DataSet data, int d) Calculates the dth difference of the given data.static double[]
TsUtils.getSelfLoopCoefs
(DataSet timeSeries) static Matrix
KernelUtils.incompleteCholeskyGramMatrix
(List<Kernel> kernels, DataSet dataset, List<Node> nodes, double precision) Approximates Gram matrix using incomplete Cholesky factorizationvoid
Kernel.setDefaultBw
(DataSet dataset, Node node) Sets bandwidth from data using default methodvoid
KernelGaussian.setDefaultBw
(DataSet dataset, Node node) Default setting of bandwidth based on median distance heuristicvoid
KernelGaussian.setMedianBandwidth
(DataSet dataset, Node node) Sets the bandwidth of the kernel to median distance between two points in the given vectorstatic TsUtils.VarResult
TsUtils.structuralVar
(DataSet timeSeries, int numLags) static double
TsUtils.sumOfArCoefficients
(DataSet timeSeries, int numLags) Constructors in edu.cmu.tetrad.search.utils with parameters of type DataSetModifierConstructorDescriptionAdLeafTree
(DataSet dataSet) Constructs an AD Leaf Tree for the given dataset.DeltaSextadTest
(DataSet dataSet) Constructs a test using a given data set.DeltaTetradTest
(DataSet dataSet) Constructs a test using a given data set.FgesOrienter
(DataSet dataSet) The data set must either be all continuous or all discrete.KernelGaussian
(DataSet dataset, Node node) Creates a new Gaussian kernel using the median distance between points to set the bandwidthPurify
(DataSet dataSet, double sig, BpcTestType testType, Clusters clusters) TetradTestContinuous
(DataSet dataSet, BpcTestType sigTestType, double sig) TetradTestDiscrete
(DataSet dataSet, double sig) -
Uses of DataSet in edu.cmu.tetrad.search.work_in_progress
Methods in edu.cmu.tetrad.search.work_in_progress that return DataSetModifier and TypeMethodDescriptionDMSearch.getData()
IndTestCramerT.getData()
IndTestFisherZGeneralizedInverse.getData()
Returns the data being analyzed.IndTestFisherZPercentIndependent.getData()
IndTestFisherZRecursive.getData()
IndTestMixedMultipleTTest.getData()
Returne the original data for the method.IndTestMnlrLr.getData()
Returns the data.IndTestMultinomialLogisticRegression.getData()
IndTestPositiveCorr.getData()
IndTestSepsetDci.getData()
SemBicScoreDeterministic.getDataSet()
Methods in edu.cmu.tetrad.search.work_in_progress that return types with arguments of type DataSetModifier and TypeMethodDescriptionIndTestFisherZPercentIndependent.getDataSets()
IndTestFisherZRecursive.getDataSets()
IndTestPositiveCorr.getDataSets()
Methods in edu.cmu.tetrad.search.work_in_progress with parameters of type DataSetConstructors in edu.cmu.tetrad.search.work_in_progress with parameters of type DataSetModifierConstructorDescriptionBpcTetradPurifyWashdown
(DataSet dataSet, BpcTestType testType, double alpha) Construct the algorithm using a data set.IndTestCramerT
(DataSet dataSet, double alpha) Constructs a new Independence test which checks independence facts based on the correlation matrix implied by the given data set (must be continuous).IndTestFisherZGeneralizedInverse
(DataSet dataSet, double alpha) Constructs a new Independence test which checks independence facts based on the correlation matrix implied by the given data set (must be continuous).IndTestFisherZRecursive
(DataSet dataSet, double alpha) Constructs a new Independence test which checks independence facts based on the correlation matrix implied by the given data set (must be continuous).IndTestMixedMultipleTTest
(DataSet data, double alpha) IndTestMnlrLr
(DataSet data, double alpha) IndTestMultinomialLogisticRegression
(DataSet data, double alpha) IndTestPositiveCorr
(DataSet dataSet, double alpha) Constructs a new Independence test which checks independence facts based on the correlation matrix implied by the given data set (must be continuous).IndTestUniformScatter
(DataSet dataSet, double alpha, double avgCountPerCell, int numCondCategories) InverseCorrelation
(DataSet dataSet, double threshold) Constructs a new PC search using for the given dataset.MagSemBicScore
(DataSet dataSet, boolean precomputeCovariances) Constructor.Mmhc
(IndependenceTest test, DataSet dataSet) MnlrLikelihood
(DataSet dataSet, double structurePrior, int fDegree) Constructor.Constructor.ProbabilisticMapIndependence
(DataSet dataSet) Initializes the test using a discrete data sets.Constructor.Constructor parameters in edu.cmu.tetrad.search.work_in_progress with type arguments of type DataSetModifierConstructorDescriptionFaskVote
(List<DataSet> dataSets, ScoreWrapper score, IndependenceWrapper test) Constructor.IndTestFisherZPercentIndependent
(List<DataSet> dataSets, double alpha) -
Uses of DataSet in edu.cmu.tetrad.sem
Methods in edu.cmu.tetrad.sem that return DataSetModifier and TypeMethodDescriptionDagScorer.getDataSet()
Scorer.getDataSet()
SemEstimator.getDataSet()
GeneralizedSemIm.simulateData
(int sampleSize, boolean latentDataSaved) SemIm.simulateData
(int sampleSize, boolean latentDataSaved) This simulate method uses the implied covariance metrix directly to simulate data, instead of going tier by tier.StandardizedSemIm.simulateData
(int sampleSize, boolean latentDataSaved) A convenience method, in case we want to change out mind about how to simulate.GeneralizedSemIm.simulateDataAvoidInfinity
(int sampleSize, boolean latentDataSaved) SemIm.simulateDataCholesky
(int sampleSize, boolean latentDataSaved) Simulates data from this Sem using a Cholesky decomposition of the implied covariance matrix.GeneralizedSemIm.simulateDataFisher
(int sampleSize) Simulates data using the model of R.GeneralizedSemIm.simulateDataFisher
(int sampleSize, int intervalBetweenShocks, double epsilon) Simulates data using the model of R.LargeScaleSimulation.simulateDataFisher
(double[][] shocks, int intervalBetweenShocks, double epsilon) Simulates data using the model of R.LargeScaleSimulation.simulateDataFisher
(int sampleSize) Simulates data using the model of R.LargeScaleSimulation.simulateDataFisher
(int intervalBetweenShocks, int intervalBetweenRecordings, int sampleSize, double epsilon, boolean saveLatentVars) GeneralizedSemIm.simulateDataMinimizeSurface
(int sampleSize, boolean latentDataSaved) GeneralizedSemIm.simulateDataNSteps
(int sampleSize, boolean latentDataSaved) GeneralizedSemIm.simulateDataRecursive
(int sampleSize, boolean latentDataSaved) This simulates data by picking random values for the exogenous terms and percolating this information down through the SEM, assuming it is acyclic.LargeScaleSimulation.simulateDataRecursive
(int sampleSize) This simulates data by picking random values for the exogenous terms and percolating this information down through the SEM, assuming it is acyclic.SemIm.simulateDataRecursive
(int sampleSize, boolean latentDataSaved) LargeScaleSimulation.simulateDataReducedForm
(int sampleSize) Simulates data using the model X = (I - B)Y^-1 * e.SemIm.simulateDataReducedForm
(int sampleSize, boolean latentDataSaved) StandardizedSemIm.simulateDataReducedForm
(int sampleSize, boolean latentDataSaved) Methods in edu.cmu.tetrad.sem with parameters of type DataSetModifier and TypeMethodDescriptionGeneralizedSemEstimator.estimate
(GeneralizedSemPm pm, DataSet data) Maximizes likelihood equation by equation.void
SemIm.setDataSet
(DataSet dataSet) Calculates the covariance matrix of the given DataSet and sets the sample covariance matrix for this model to a subset of it.Constructors in edu.cmu.tetrad.sem with parameters of type DataSetModifierConstructorDescriptionConstructs a new SemEstimator that uses the specified optimizer.SemEstimator
(DataSet dataSet, SemPm semPm) Constructs a Sem Estimator that does default estimation.SemEstimator
(DataSet dataSet, SemPm semPm, SemOptimizer semOptimizer) Constructs a new SemEstimator that uses the specified optimizer. -
Uses of DataSet in edu.cmu.tetrad.simulation
Methods in edu.cmu.tetrad.simulation that return DataSetMethods in edu.cmu.tetrad.simulation with parameters of type DataSetModifier and TypeMethodDescriptionstatic VerticalIntDataBox
HsimUtils.makeVertIntBox
(DataSet dataset) void
GdistanceRandom.setLocationMap
(DataSet map) Constructors in edu.cmu.tetrad.simulation with parameters of type DataSetModifierConstructorDescriptionGdistanceRandom
(DataSet inMap) HsimAutoRun
(DataSet indata) HsimContinuous
(Dag thedag, Set<Node> thesimnodes, DataSet thedata) HsimRepeatAC
(DataSet indata) HsimRepeatAutoRun
(DataSet indata) Vicinity
(List<Edge> edges, DataSet locationMap, int xLow, int xHigh, int yLow, int yHigh, int zLow, int zHigh, double xDist, double yDist, double zDist) -
Uses of DataSet in edu.pitt.csb.mgm
Methods in edu.pitt.csb.mgm that return DataSetModifier and TypeMethodDescriptionstatic DataSet
Makes a deep copy of a dataset (Nodes copied as well).static DataSet
MixedUtils.getContinousData
(DataSet ds) IndTestMultinomialLogisticRegressionWald.getData()
static DataSet
MixedUtils.getDiscreteData
(DataSet ds) static DataSet
static DataSet
MixedUtils.loadDataSet
(String dir, String filename) static DataSet
static DataSet
MixedUtils.makeContinuousData
(DataSet dsMix) static DataSet
MixedUtils.makeMixedData
(DataSet dsCont, Map<String, Integer> nodeDists) static DataSet
MixedUtils.makeMixedData
(DataSet dsCont, Map<String, String> nodeDists, int numCategories) Methods in edu.pitt.csb.mgm with parameters of type DataSetModifier and TypeMethodDescriptionstatic DataSet
Makes a deep copy of a dataset (Nodes copied as well).static DataSet
MixedUtils.getContinousData
(DataSet ds) static int[]
MixedUtils.getDiscLevels
(DataSet ds) static DataSet
MixedUtils.getDiscreteData
(DataSet ds) static IndependenceTest
MixedUtils.IndTestFromString
(String name, DataSet data, double alpha) Returns independence tests by name located in edu.cmu.tetrad.search and edu.pitt.csb.mgm also supports shorthand for LRT ("lrt) and t-tests ("tlin" for prefer linear (fastest) or "tlog" for prefer logistic)static boolean
MixedUtils.isColinear
(DataSet ds, boolean verbose) Check each pair of variables to see if correlation is 1.static DataSet
MixedUtils.makeContinuousData
(DataSet dsMix) static DataSet
MixedUtils.makeMixedData
(DataSet dsCont, Map<String, Integer> nodeDists) static DataSet
MixedUtils.makeMixedData
(DataSet dsCont, Map<String, String> nodeDists, int numCategories) Constructors in edu.pitt.csb.mgm with parameters of type DataSetModifierConstructorDescriptionIndTestMultinomialLogisticRegressionWald
(DataSet data, double alpha, boolean preferLinear) -
Uses of DataSet in edu.pitt.csb.stability
Methods in edu.pitt.csb.stability with parameters of type DataSetModifier and TypeMethodDescriptionabstract Graph
static cern.colt.matrix.DoubleMatrix2D
StabilityUtils.StabilitySearch
(DataSet data, DataGraphSearch gs, int N, int b) static cern.colt.matrix.DoubleMatrix2D
StabilityUtils.StabilitySearchPar
(DataSet data, DataGraphSearch gs, int N, int b) -
Uses of DataSet in edu.pitt.dbmi.algo.bayesian.constraint.search
Constructors in edu.pitt.dbmi.algo.bayesian.constraint.search with parameters of type DataSet -
Uses of DataSet in edu.pitt.dbmi.algo.resampling
Methods in edu.pitt.dbmi.algo.resampling with parameters of type DataSetConstructors in edu.pitt.dbmi.algo.resampling with parameters of type DataSetModifierConstructorDescriptionGeneralResamplingSearch
(DataSet data, int numberResampling) GeneralResamplingTest
(DataSet data, Algorithm algorithm, int numberResampling, double percentResamplingSize, boolean resamplingWithReplacement, int edgeEnsemble, boolean addOriginalDataset) Constructor parameters in edu.pitt.dbmi.algo.resampling with type arguments of type DataSetModifierConstructorDescriptionGeneralResamplingSearch
(List<DataSet> dataSets, int numberResampling) GeneralResamplingTest
(List<DataSet> dataSets, MultiDataSetAlgorithm multiDataSetAlgorithm, int numberResampling, double percentResamplingSize, boolean resamplingWithReplacement, int edgeEnsemble, boolean addOriginalDataset)