public class NumberVariable extends Variable implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
NumberDescriptives |
itsNDescriptives |
java.lang.Object[] |
validDataSorted |
autoExtracted, hasDefaultColors, isSorted, itsDescriptives, itsFormula, itsLineColor, itsLocationColor, kEuclidian, kGower, kJaccard, kManhattan, kSquEuclidian, plotMarker, rand
Constructor and Description |
---|
NumberVariable(java.lang.String varName,
VariableOrganizer theOwner)
Standard constructor for the root number Variable class using a VariableOrganizer
|
NumberVariable(java.lang.String varName,
VariableOrganizer anOrganizer,
double[] theData)
Standard constructor for the NumberVariable class using a double array of data
|
Modifier and Type | Method and Description |
---|---|
NumberVariable |
absolute()
set the value to its absolute value
|
NumberVariable |
add(double theScalar)
adds the constant to each value of the variable
|
AngleVariable |
asAngleVariable()
return the variable as an AngleVariable with
data representing angular degrees
|
void |
asHistogram()
Creates a presenter and plots the data as a frequency histogram
|
void |
asHistogram(Grid theXGrid)
Creates a presenter and plots the data as a frequency histogram
|
void |
asNormalQuantilePlot()
Creates a presenter and plots the data
|
TimeVariable |
asTimeVariable()
return the variable as an TimeVariable with
data representing milliseconds
|
void |
asXYPlot(NumberVariable theYs)
Creates a presenter and plots the data as a scatter plot with another numeric variable
|
void |
asXYPlot(NumberVariable theYs,
boolean xDir,
boolean yDir)
Creates a presenter and plots the data as a scatterplot with another numeric variable
|
void |
asXYPlot(NumberVariable theYs,
boolean xDir,
boolean yDir,
boolean connected)
Creates a presenter and plots the data as a scatter plot with another numeric variable
|
void |
asXYPlot(NumberVariable theYs,
GridSpace3D theGridSpace)
Creates a presenter and plots the data as a scatterplot with another numeric variable
|
void |
asXYPlot(NumberVariable theYs,
GridSpace3D theGridSpace,
boolean connected)
Creates a presenter and plots the data as a scatterplot with another numeric variable
|
void |
checkInOrder()
examine whether this variables is locked
|
void |
checkInOrder(boolean ascending)
examine whether this variables is locked
|
NumberDescriptives |
copyNumberDescriptives()
returns descriptive Statistic for the variable using the currently
selected set of rows
|
NumberVariable |
distance(double theScalar)
the absolute value after subtracting the constant from each value of the variable
|
NumberVariable |
divide(double theScalar)
divides each value of the variable by the constant
|
void |
doCorrelationAnalysis(NumberVariable theOtherYVariable)
fills the regression statistics for the variable with control over th intercept
|
java.util.ArrayList<java.lang.Integer> |
doPruneClosePeaks(java.util.ArrayList<java.lang.Integer> inArrayL,
NumberVariable theTimes,
double exclusionWindow)
removes the smaller peak if two are too close
|
NumberVariable |
doRegressionAnalysis(NumberVariable theXVariable)
fills the regression statistics for the variable with control over the intercept
|
NumberVariable |
doRegressionAnalysis(NumberVariable theXVariable,
int polyDegree)
fills the regression statistics for the variable with control over the intercept
|
void |
fillCompleteTerms(VariableOrganizer aXOrganizer,
ANOVAResults theResults)
fills the n-way interaction terms for the ANOVA
|
void |
fillCP(NumberVariable theXVariable,
SquaresCrossproductResults theSSCP)
returns the sums of squares and crossproducts for the variable
|
void |
fillDescriptives(java.lang.Double hypMean)
fills the descriptive circular statistics for the angle variable with a comparison to an external mean
|
void |
fillSS(SquaresCrossproductResults theSSCP)
fills the sums of squares and crossproducts for the variable
|
void |
fillWithFormula(java.lang.String aFormula)
fills the variable with individual data values created
through a formula
|
void |
fillWithGaussRandom(double theMean,
double theSD)
fills the variable with random values from a Gaussian Distribution
|
void |
fillWithParser(DataFileParser aParser,
int varNum,
boolean firstRowAsLabels)
fills the variable with individual datavalues read from a textfile using a
DataFileParser object
|
void |
fillWithRandomFromDistribution(NumberVariable theDistribution)
fills the variable with random values from a Gaussian Distribution
|
void |
fillWithRowNum()
fills the variable with individual data values created
through a formula
|
void |
fillWithUniformRandom()
fills the variable with random values from a uniform distribution between 0 and 1
|
ANOVAResults |
getANOVAResults(Variable theXVariable)
fills the ANOVA statistics for the variable
|
ANOVAResults |
getANOVAResults(VariableOrganizer aXOrganizer)
fills the ANOVA statistics for a full factorial model
|
CorrelationResults |
getAutoCorrelationResults()
obtains the Autocorrelation statistics for the variable
|
VariableOrganizer |
getBinMeans(NumberVariable YVar)
returns a frequency distribution for a given set of bins
|
NumberVariable |
getCentered()
returns a variable containing each values relative to its
mean
|
CorrelationResults |
getCorrelationResults(NumberVariable theOtherYVariable)
fills the regression statistics for the variable with control over the intercept
|
java.lang.Double |
getDoubleValue(int row)
returns the value stored at a given row of the Vector as a double
|
NumberVariable |
getFirstDerivative(NumberVariable timeVar,
int slopeWid)
returns a variable containing each values relative to its mean
|
ContingencyTable |
getFrequencies(Grid theGrid)
returns a frequency distribution for a given set of bins
|
Descriptives[] |
getGroupDescriptives(Variable theXVariable)
returns the descriptives for the groups identified by X
|
ANOVAResults |
getManWhitneyUResults(Variable theXVar,
double hypAngle)
returns the results from an analysis of differences in mean angle distance from a hypothetical direction
|
double |
getMaxValue()
returns the maximum value stored in the Vector
|
double |
getMeanValue()
returns the average for values stored in the Vector
|
double |
getMinValue()
returns the minimum value stored in the Vector
|
NumberVariable |
getMovingAverageSmoothing(int wid)
returns a variable containing each values relative to its mean
|
MultRegressionResults |
getMultLinRegressionResults(VariableOrganizer theXVariableOrganizer)
fills the regression statistics for the variable with control over the intercept
|
NumberDescriptives |
getNumberDescriptives()
fills the descriptive statistics for the variable and returns the results
|
java.util.ArrayList<PeakData> |
getPeakData(java.util.ArrayList<java.lang.Integer> peakLocs,
NumberVariable theTimes)
removes the smaller peak if two are too close
|
NumberVariable |
getPeakIntervals(java.util.ArrayList<java.lang.Integer> peakLocs)
removes the smaller peak if two are too close
|
java.util.ArrayList<java.lang.Integer> |
getPeakLocations(NumberVariable timeVar,
int smoothWidth,
float amplitudeThresh,
float slopeThresh)
from Tom O'Haver's toh@umd.edu great tutorial at
|
java.util.ArrayList<java.lang.Integer> |
getPeaksPalshikar(int windowSize,
float stringency)
A standard peak detector in time series by Jean-Yves Tinevez jeanyves.tinevez@gmail.com May 10, 2011
The goal of this class is to identify peaks in a 1D time series (float[]).
|
VariableOrganizer |
getPeakTriggeredTraces(NumberVariable timeVar,
java.util.ArrayList<java.lang.Integer> peakLocations,
long timeWindow)
from Tom O'Haver's toh@umd.edu great tutorial at
|
NumberVariable |
getPeakValues(java.util.ArrayList<java.lang.Integer> peakLocs)
removes the smaller peak if two are too close
|
double |
getRange()
returns the minimum value stored in the Vector
|
NumberVariable |
getRanks()
return the ranks for the values in this array of the
currently selected subset
|
NumberVariable |
getRegressionResiduals(NumberVariable theXVariable)
fills the regression statistics for the variable with control over the intercept
|
NumberVariable |
getRegressionResiduals(NumberVariable theXVariable,
int polyDegree)
fills the regression statistics for the variable with control over the intercept
|
NumberVariable |
getRegressionResiduals(NumberVariable theXVariable,
int polyDegree,
boolean centered)
fills the regression statistics for the variable with control over th intercept
|
RegressionResults |
getRegressionResults(NumberVariable theXVariable)
fills the regression statistics for the variable with control over the intercept
|
RegressionResults |
getRegressionResults(NumberVariable theXVariable,
int polyDegree)
fills the regression statistics for the variable with control over the intercept
|
RegressionResults |
getRegressionResults(NumberVariable theXVariable,
int polyDegree,
boolean centered)
fills the regression statistics for the variable with control over the intercept
|
double |
getSDValue()
returns the average for values stored in the Vector as a
double
|
NumberVariable |
getSignedRank(double CenterVal)
returns the signed ranks of distances to the specified value
|
double |
getSignedRankW(double CenterVal,
boolean plus)
fills the one-tailed sum of signed ranks
|
double |
getSignedRankWProbability(double W)
returns the one-tailed robability of obtaining this Signed Rank W or greater
|
double |
getSquEuclidian(NumberVariable aVar)
returns the Euclidian proximity measure to another variable
|
double |
getSumValue()
returns the average for values stored in the Vector
|
tTestResults |
gettTestResults(double mean)
obtains the t-Test results for the variable
|
double |
gettValue(double hypMean)
returns the average for values stored in the Vector as a
double
|
double |
getVarianceValue()
returns the average for values stored in the Vector
|
NumberVariable |
getzQuantiles()
returns a variable containing each values relative to
its mean
|
NumberVariable |
getzTransform()
returns a variable containing each values relative to
its mean
|
void |
invalidDescriptives()
descriptive stats need to be updated
|
void |
listCorrelationResults(NumberVariable theOtherYVariable)
fills the regression statistics for the variable with control over the intercept
|
void |
listGroupDescriptives(Variable theXVariable)
lists the descriptives for the groups identified by X
|
void |
listMultLinRegressionResults(VariableOrganizer theXVariableOrganizer)
fills the regression statistics for the variable with control over the intercept
|
void |
listPeaks(java.util.ArrayList<java.lang.Integer> peakLocations)
from Tom O'Haver's toh@umd.edu great tutorial at
|
void |
listRegressionResults(NumberVariable theXVariable)
fills the regression statistics for the variable with control over the intercept
|
void |
listRegressionResults(NumberVariable theXVariable,
int polyDegree)
fills the regression statistics for the variable with control over the intercept
|
void |
listRegressionResults(NumberVariable theXVariable,
int polyDegree,
boolean centered)
fills the regression statistics for the variable with control over the intercept
|
void |
makeNewDescriptives()
create a new set of descriptives for the variable the object
|
NumberVariable |
multiply(double theScalar)
multiplies the constant with each value of the variable
|
NumberVariable |
multiply(NumberVariable theVar)
multiplies the variable with the corresponding value of the other variable
|
NumberVariable |
power(double pow)
calculates the power of each entry and returns it as a new variable
|
NumberVariable |
rank(boolean selectedOnly)
rank the values in this array
|
void |
selectAbove(double cutoffValue,
boolean fromPrevSelected)
select all rows with a value greater than the one provided
|
void |
selectAboveEqual(double cutoffValue,
boolean fromPrevSelected)
select all rows with a value greater or equal than the one provided
|
void |
selectBelow(double cutoffValue,
boolean fromPrevSelected)
select all rows with a value less than the one provided
|
void |
selectBelowEqual(double cutoffValue,
boolean fromPrevSelected)
select all rows with a value less or equal than the one provided
|
void |
selectEqual(double aValue,
boolean fromPrevSelected)
select all rows with a value greater or equal than the one provided
|
void |
selectRange(double lowValue,
double highValue,
boolean fromPrevSelected)
select all rows with a value between the lower and upper limits provided.
|
void |
setContinuousType()
sets the variable to type CONTINUOUS
|
NumberVariable |
sign()
returns the sign for each value of the variable
|
NumberVariable |
subtract(double theScalar)
subtracts the constant from each value of the variable
|
addValue, addValue, addValue, addValue, append, asJAMAMatrix, asVariableOrganizer, checkAllUseRows, checkLocked, checkMatchingRows, checkMinUseRows, checkNumberIDs, checkSameIDs, checkSameNRows, checkSameNSelectRows, checkSameSelectRows, checkSameSelectRows, checkSameUseRows, checkSameUseRows, checkValidRowRange, clone, cloneEmpty, cloneSelectedRowsOnly, cloneVariableFrom, combineSelectedWithSavedSelectedRows, copyDescriptives, copySelectStateFrom, customColorFromData, customColorSelectedRows, customColorSelectedRows, deleteAllRows, deleteDuplicateRows, deleteMissingRows, deleteNonSelectedRows, deleteRow, deleteRowNoCheck, deleteSelectedRows, deselectAllRows, fill, fill, fill, fill, fill, fill, fillDescriptives, fillMoreDescriptives, fillWithParser, fillWithVariable, findFirstSelectRow, findFirstUseRow, findLastSelectRow, findLastUseRow, findNextNonMissingRow, findNextSelectRow, findNextUseRow, findNextValue, findPreviousSelectRow, findPreviousUseRow, getabasedintValue, getAbasedintValue, getArray, getbooleanValue, getcharValue, getCombinedIDs, getCrossTabulation, getCrossTabulation, getCustomColorRow, getDescriptives, getdoubleArray, getdoubleValue, getfloatValue, getFrequencies, getHighliteColor, getHighlitedRow, getIDMap, getIDs, getIDString, getIDStrings, getInteractions, getintValue, getJaccard, getLineColor, getLocationColor, getlongValue, getManhattan, getMissingRow, getName, getNIDs, getNMissingRows, getNotes, getNRows, getNSelectRows, getNUseRows, getOrganizer, getProximity, getProximity, getRandomValue, getResampledVariable, getRowNumbers, getRowOrder, getRowOrderRow, getSelectRow, getStringArray, getStringValue, getTransitions, getUseRow, getValue, getVariableDesignRole, getVariableDesignRoleString, getVariableFormat, getVariableType, highliteSelectedRows, highliteSelectedRows, invertSelectedRows, isAngleType, isContinuousType, isDateTimeFormat, isLocationType, isLocked, isNominalType, isNumberFormat, isOrdinalType, isStringFormat, isValidRowRange, isXVariable, isYVariable, listDescriptives, listDescriptives, listGroupDescriptivesNoDia, listRow, listRowOrder, listRows, listRows, listRows, listRows, listSelectedRows, listSelectState, listSelectState, listUseRows, makeTableSubSet, matchedIDs, replaceSelectedRows, resample, restoreSelectedRows, restrictToMatchingUseRows, restrictToMatchingUseRows, restrictToValidRowsOnly, reverseRows, saveRowsToFile, saveRowsToFile, saveSelectedRows, selectAllRows, selectDuplicateRows, selectEveryNthRow, selectRows, selectUseRows, selectValue, setAnglesType, setCustomColorRow, setFormula, setHighliteColor, setHighlitedRow, setLineColor, setLocationColor, setLocationsType, setLock, setMissingRow, setName, setNominalType, setNotes, setNRows, setOrdinalType, setOrganizer, setRowOrder, setRowOrderRow, setSelectRow, setSelectRows, setSelectRowsToMissing, setValue, setValue, setValue, setValue, setValue, setValue, setVariableDesignRole, setVariableFormat, setVariableType, sort, sort, sort2, updateRowOrder
add, add, addAll, addAll, addElement, capacity, clear, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, forEach, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, removeRange, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, toString, trimToSize
public java.lang.Object[] validDataSorted
public NumberDescriptives itsNDescriptives
public NumberVariable(java.lang.String varName, VariableOrganizer theOwner) throws java.lang.Exception
varName
- assigns a name (String) to the variabletheOwner
- an instance of VariableOrganizer
class coordinates a set of variables with respect to number of data points available
and the rows that are currently selectedjava.lang.Exception
- ...public NumberVariable(java.lang.String varName, VariableOrganizer anOrganizer, double[] theData) throws java.lang.Exception
varName
- assigns a name (String) to the variableanOrganizer
- an instance of VariableOrganizer
class coordinates a set of variables with respect to number of data points available
and the rows that are currently selectedtheData
- a double array of datajava.lang.Exception
- ...public void setContinuousType() throws java.lang.Exception
java.lang.Exception
- ...public void fillWithParser(DataFileParser aParser, int varNum, boolean firstRowAsLabels) throws java.lang.Exception
fillWithParser
in class Variable
aParser
- the DataFileParser that was used to
read data values from a text filevarNum
- marks the number of the column to be filled into the variablefirstRowAsLabels
- whether the first row contains a variable labeljava.lang.Exception
- ...public void fillWithUniformRandom() throws java.lang.Exception
java.lang.Exception
- ...public void fillWithGaussRandom(double theMean, double theSD) throws java.lang.Exception
theMean
- the mean for the gaussian distributiontheSD
- the standard devaiation for the gaussian distributionjava.lang.Exception
- ...public void fillWithRandomFromDistribution(NumberVariable theDistribution) throws java.lang.Exception
theDistribution
- a distribution from which to sample random numbersjava.lang.Exception
- ...public void fillWithFormula(java.lang.String aFormula) throws java.lang.Exception
aFormula
- the formula to use for filling the variable with valuesjava.lang.Exception
- ...public void fillWithRowNum() throws java.lang.Exception
java.lang.Exception
- ...public TimeVariable asTimeVariable() throws java.lang.Exception
java.lang.Exception
- ...public AngleVariable asAngleVariable() throws java.lang.Exception
java.lang.Exception
- ...public void selectEqual(double aValue, boolean fromPrevSelected) throws java.lang.Exception
aValue
- lists the comparison valuefromPrevSelected
- notes whether the search should only be performed on
currently selected rowsjava.lang.Exception
- ...public void selectAboveEqual(double cutoffValue, boolean fromPrevSelected) throws java.lang.Exception
cutoffValue
- lists the comparison valuefromPrevSelected
- notes whether the search should only be performed on
currently selected rowsjava.lang.Exception
- ...public void selectAbove(double cutoffValue, boolean fromPrevSelected) throws java.lang.Exception
cutoffValue
- lists the comparison valuefromPrevSelected
- notes whether the search should only be performed on
currently selected rowsjava.lang.Exception
- ...public void selectBelowEqual(double cutoffValue, boolean fromPrevSelected) throws java.lang.Exception
cutoffValue
- lists the comparison valuefromPrevSelected
- notes whether the search should only be performed on
currently selected rowsjava.lang.Exception
- ...public void selectBelow(double cutoffValue, boolean fromPrevSelected) throws java.lang.Exception
cutoffValue
- lists the comparison valuefromPrevSelected
- notes whether the search should only be performed on
currently selected rowsjava.lang.Exception
- ...public void selectRange(double lowValue, double highValue, boolean fromPrevSelected) throws java.lang.Exception
lowValue
- the lower limit (included)highValue
- the upper limit (excluded)fromPrevSelected
- notes whether the search should only be performed on
currently selected rowsjava.lang.Exception
- ...public double getMaxValue() throws java.lang.Exception
java.lang.Exception
- ...public double getMinValue() throws java.lang.Exception
java.lang.Exception
- ...public double getRange() throws java.lang.Exception
java.lang.Exception
- ...public double getMeanValue() throws java.lang.Exception
java.lang.Exception
- ...public double getSumValue() throws java.lang.Exception
java.lang.Exception
- ...public double getVarianceValue() throws java.lang.Exception
java.lang.Exception
- ...public double getSDValue() throws java.lang.Exception
java.lang.Exception
- ...public double gettValue(double hypMean) throws java.lang.Exception
hypMean
- the hypothesis meanjava.lang.Exception
- ...public NumberVariable getzTransform() throws java.lang.Exception
java.lang.Exception
- ...public NumberVariable getzQuantiles() throws java.lang.Exception
java.lang.Exception
- ...public ContingencyTable getFrequencies(Grid theGrid) throws java.lang.Exception
theGrid
- the bins for the distributionjava.lang.Exception
- ...public VariableOrganizer getBinMeans(NumberVariable YVar) throws java.lang.Exception
YVar
- the NumberVariable to usejava.lang.Exception
- ...public NumberVariable getCentered() throws java.lang.Exception
java.lang.Exception
- ...public NumberVariable getRanks() throws java.lang.Exception
java.lang.Exception
- ...public NumberVariable add(double theScalar) throws java.lang.Exception
theScalar
- the number to addjava.lang.Exception
- ...public NumberVariable subtract(double theScalar) throws java.lang.Exception
theScalar
- the number to subtractjava.lang.Exception
- ...public NumberVariable divide(double theScalar) throws java.lang.Exception
theScalar
- the number to divide byjava.lang.Exception
- ...public NumberVariable multiply(double theScalar) throws java.lang.Exception
theScalar
- the number to multiplyjava.lang.Exception
- ...public NumberVariable multiply(NumberVariable theVar) throws java.lang.Exception
theVar
- the numbers to multiplyjava.lang.Exception
- ...public NumberVariable power(double pow) throws java.lang.Exception
pow
- calculate this power for each entryjava.lang.Exception
- ...public NumberVariable distance(double theScalar) throws java.lang.Exception
theScalar
- the number to subtractjava.lang.Exception
- ...public NumberVariable sign() throws java.lang.Exception
java.lang.Exception
- ...public NumberVariable absolute() throws java.lang.Exception
java.lang.Exception
- ...public NumberVariable rank(boolean selectedOnly) throws java.lang.Exception
selectedOnly
- only use the selected values of the sample, the others will be set to missingjava.lang.Exception
- ...public void makeNewDescriptives()
makeNewDescriptives
in class Variable
public NumberDescriptives getNumberDescriptives() throws java.lang.Exception
java.lang.Exception
- ...public NumberDescriptives copyNumberDescriptives() throws java.lang.Exception
java.lang.Exception
- ...public void invalidDescriptives()
invalidDescriptives
in class Variable
public void fillDescriptives(java.lang.Double hypMean) throws java.lang.Exception
fillDescriptives
in class Variable
hypMean
- the value of the a-priori hypothesis meanjava.lang.Exception
- ...public Descriptives[] getGroupDescriptives(Variable theXVariable) throws java.lang.Exception
theXVariable
- the independent NumberVariablejava.lang.Exception
- ...public void listGroupDescriptives(Variable theXVariable) throws java.lang.Exception
listGroupDescriptives
in class Variable
theXVariable
- the independent NumberVariablejava.lang.Exception
- ...public NumberVariable getMovingAverageSmoothing(int wid) throws java.lang.Exception
wid
- the number of rows to include on either sidejava.lang.Exception
- ...public java.lang.Double getDoubleValue(int row) throws java.lang.Exception
getDoubleValue
in class Variable
row
- marks the row in the vectorjava.lang.Exception
- ...public NumberVariable getFirstDerivative(NumberVariable timeVar, int slopeWid) throws java.lang.Exception
timeVar
- the variable containing timing informationslopeWid
- the slope between this many rows to either sidejava.lang.Exception
- ...public java.util.ArrayList<java.lang.Integer> getPeaksPalshikar(int windowSize, float stringency) throws java.lang.Exception
windowSize
- the window size to look for peaks. a neighborhood of +/- windowSize
will be inspected to search for peaks. Typical values start at 3.stringency
- threshold for peak values. Peak with values lower than
mean + stringency * std
will be rejected. Mean
and std
are calculated on the
spikiness function. Typical values range from 1 to 3.java.lang.Exception
- ...public java.util.ArrayList<java.lang.Integer> getPeakLocations(NumberVariable timeVar, int smoothWidth, float amplitudeThresh, float slopeThresh) throws java.lang.Exception
timeVar
- the NumberVariable containing time references, set to null if measures at constant intervalssmoothWidth
- the number of positions to include from either side in calculations of first derivativeamplitudeThresh
- the threshold for minimum peak sizeslopeThresh
- the threshold for minimum negative peak slopejava.lang.Exception
- ...public void listPeaks(java.util.ArrayList<java.lang.Integer> peakLocations) throws java.lang.Exception
peakLocations
- the locations of peaks in the recordjava.lang.Exception
- ...public VariableOrganizer getPeakTriggeredTraces(NumberVariable timeVar, java.util.ArrayList<java.lang.Integer> peakLocations, long timeWindow) throws java.lang.Exception
timeVar
- the NumberVariable containing time references, set to null if measures at constant intervalspeakLocations
- the rows in which peaks were foundtimeWindow
- the width of the smoothing windowjava.lang.Exception
- ...public java.util.ArrayList<java.lang.Integer> doPruneClosePeaks(java.util.ArrayList<java.lang.Integer> inArrayL, NumberVariable theTimes, double exclusionWindow) throws java.lang.Exception
inArrayL
- the array to prunetheTimes
- the variable containing timing informationexclusionWindow
- the size of the excluded overlap in capture positionsjava.lang.Exception
- ...public NumberVariable getPeakIntervals(java.util.ArrayList<java.lang.Integer> peakLocs) throws java.lang.Exception
peakLocs
- the locations of peaks in the recordjava.lang.Exception
- ...public NumberVariable getPeakValues(java.util.ArrayList<java.lang.Integer> peakLocs) throws java.lang.Exception
peakLocs
- the row numbers for the peaksjava.lang.Exception
- ...public java.util.ArrayList<PeakData> getPeakData(java.util.ArrayList<java.lang.Integer> peakLocs, NumberVariable theTimes) throws java.lang.Exception
peakLocs
- the row numbers for the peakstheTimes
- the timesjava.lang.Exception
- ...public void asHistogram() throws java.lang.Exception
java.lang.Exception
- ...public void asHistogram(Grid theXGrid) throws java.lang.Exception
theXGrid
- the grid for the x dimensionjava.lang.Exception
- ...public void asNormalQuantilePlot() throws java.lang.Exception
java.lang.Exception
- ...public void asXYPlot(NumberVariable theYs, boolean xDir, boolean yDir) throws java.lang.Exception
theYs
- the Y variablexDir
- the direction of the x-axisyDir
- the direction of the y-axisjava.lang.Exception
- ...public void asXYPlot(NumberVariable theYs, boolean xDir, boolean yDir, boolean connected) throws java.lang.Exception
theYs
- the Y variablexDir
- the direction of the x-axisyDir
- the direction of the y-axisconnected
- are coordinates connected?java.lang.Exception
- ...public void asXYPlot(NumberVariable theYs) throws java.lang.Exception
theYs
- the Y variablejava.lang.Exception
- ...public void asXYPlot(NumberVariable theYs, GridSpace3D theGridSpace) throws java.lang.Exception
theYs
- the Y variabletheGridSpace
- the grid space for plottingjava.lang.Exception
- ...public void asXYPlot(NumberVariable theYs, GridSpace3D theGridSpace, boolean connected) throws java.lang.Exception
theYs
- the Y variabletheGridSpace
- the grid space for plottingconnected
- are coordinates connected?java.lang.Exception
- ...public double getSquEuclidian(NumberVariable aVar) throws java.lang.Exception
aVar
- a second variablejava.lang.Exception
- ...public NumberVariable getSignedRank(double CenterVal) throws java.lang.Exception
CenterVal
- the median/center of the samplejava.lang.Exception
- ...public double getSignedRankW(double CenterVal, boolean plus) throws java.lang.Exception
CenterVal
- the mean/median of the sampleplus
- the positive tail of the distributionjava.lang.Exception
- ...public double getSignedRankWProbability(double W) throws java.lang.Exception
W
- Wilcoxon's Signed Rank Statistic Wjava.lang.Exception
- ...public void doCorrelationAnalysis(NumberVariable theOtherYVariable) throws java.lang.Exception
theOtherYVariable
- the independent NumberVariablejava.lang.Exception
- ...public CorrelationResults getCorrelationResults(NumberVariable theOtherYVariable) throws java.lang.Exception
theOtherYVariable
- the independent NumberVariablejava.lang.Exception
- ...public void listCorrelationResults(NumberVariable theOtherYVariable)
theOtherYVariable
- the independent NumberVariablepublic NumberVariable doRegressionAnalysis(NumberVariable theXVariable) throws java.lang.Exception
theXVariable
- the independent NumberVariablejava.lang.Exception
- ...public NumberVariable doRegressionAnalysis(NumberVariable theXVariable, int polyDegree) throws java.lang.Exception
theXVariable
- the independent NumberVariablepolyDegree
- the number of polynomial termsjava.lang.Exception
- ...public void listRegressionResults(NumberVariable theXVariable)
theXVariable
- the independent NumberVariablepublic void listRegressionResults(NumberVariable theXVariable, int polyDegree)
theXVariable
- the independent NumberVariablepolyDegree
- the number of polynomial termspublic void listRegressionResults(NumberVariable theXVariable, int polyDegree, boolean centered)
theXVariable
- the independent NumberVariablepolyDegree
- the number of polynomial termscentered
- should the x variable be centered?public RegressionResults getRegressionResults(NumberVariable theXVariable) throws java.lang.Exception
theXVariable
- the independent NumberVariablejava.lang.Exception
- ...public RegressionResults getRegressionResults(NumberVariable theXVariable, int polyDegree) throws java.lang.Exception
theXVariable
- the independent NumberVariablepolyDegree
- the number of polynomial termsjava.lang.Exception
- ...public RegressionResults getRegressionResults(NumberVariable theXVariable, int polyDegree, boolean centered) throws java.lang.Exception
theXVariable
- the independent NumberVariablepolyDegree
- the number of polynomial termscentered
- should the x variable be centered?java.lang.Exception
- ...public NumberVariable getRegressionResiduals(NumberVariable theXVariable) throws java.lang.Exception
theXVariable
- the independent NumberVariablejava.lang.Exception
- ...public NumberVariable getRegressionResiduals(NumberVariable theXVariable, int polyDegree) throws java.lang.Exception
theXVariable
- the independent NumberVariablepolyDegree
- the number of polynomial termsjava.lang.Exception
- ...public NumberVariable getRegressionResiduals(NumberVariable theXVariable, int polyDegree, boolean centered) throws java.lang.Exception
theXVariable
- the independent NumberVariablepolyDegree
- the number of polynomial termscentered
- should the x variable be centered?java.lang.Exception
- ...public MultRegressionResults getMultLinRegressionResults(VariableOrganizer theXVariableOrganizer) throws java.lang.Exception
theXVariableOrganizer
- the independent variables in a VariableOrganizerjava.lang.Exception
- ...public void listMultLinRegressionResults(VariableOrganizer theXVariableOrganizer)
theXVariableOrganizer
- the independent variables in a VariableOrganizerpublic void fillCompleteTerms(VariableOrganizer aXOrganizer, ANOVAResults theResults) throws java.lang.Exception
aXOrganizer
- the organizer for Y variablestheResults
- the results of the analysisjava.lang.Exception
- ...public CorrelationResults getAutoCorrelationResults() throws java.lang.Exception
java.lang.Exception
- ...public tTestResults gettTestResults(double mean) throws java.lang.Exception
mean
- the mean to compare tojava.lang.Exception
- ...public ANOVAResults getANOVAResults(Variable theXVariable) throws java.lang.Exception
theXVariable
- the independent Variablejava.lang.Exception
- ...public ANOVAResults getANOVAResults(VariableOrganizer aXOrganizer) throws java.lang.Exception
aXOrganizer
- the VariableOrganizer containing independent variablesjava.lang.Exception
- ...public void fillSS(SquaresCrossproductResults theSSCP) throws java.lang.Exception
theSSCP
- the ss/cp results to filljava.lang.Exception
- ...public void fillCP(NumberVariable theXVariable, SquaresCrossproductResults theSSCP) throws java.lang.Exception
theXVariable
- the independent NumberVariabletheSSCP
- the sum of squares/cross productsjava.lang.Exception
- ...public ANOVAResults getManWhitneyUResults(Variable theXVar, double hypAngle) throws java.lang.Exception
theXVar
- variable that contains information on group assignmenthypAngle
- the hypothesis anglejava.lang.Exception
- ...public void checkInOrder() throws java.lang.Exception
java.lang.Exception
- ...public void checkInOrder(boolean ascending) throws java.lang.Exception
ascending
- values ordered?java.lang.Exception
- ...RH, 2017