NMath Stats Code Examples

CenterSpace.NMath.Stats Namespace


Analysis of Variance ExamplesDescriptionSource
OneWayAnovaExample Example showing how use class OneWayAnova to perform a simple one-way ANOVA. C#  VB  
AdvancedOneWayAnovaExample Example showing some of the advanced features of class OneWayAnova. C#  VB  
OneWayRanovaExample Example showing how to use class OneWayRanova to perform a simple one-way ANOVA with repeated measures. C#  VB  
AdvancedOneWayRanovaExample Example showing some of the advanced features of class OneWayRanova. C#  VB  
TwoWayAnovaExample Example showing how to use class TwoWayAnova to perform a simple two-way ANOVA. C#  VB  
AdvancedTwoWayAnovaExample Example showing some of the advanced features of class TwoWayAnova. C#  VB  
TwoWayRanovaExample Example showing how to use class TwoWayRanova to perform a two-way ANOVA with repeated measures on one factor. C#  VB  
TwoWayRanovaTwoExample Example showing how to use class TwoWayRanovaTwo to perform a two-way ANOVA with repeated measures on both factors. C#  VB  


Clustering ExamplesDescriptionSource
ClusterExample Example showing how to perform an hierarchical cluster analysis. C#  VB  
KMeansClusteringExample Example showing how to perform a k-means cluster analysis on a data set. C#  VB  
NMFClusteringExample Example demonstrating how to cluster data using NMF. C#  VB  


Data Frame ExamplesDescriptionSource
DataFrameExample Example showing how to manipulate data using the DataFrame class. C#  VB  
CrossTabulationExample Example showing how to use the cross-tabulation functionality on a DataFrame. C#  VB  
MissingValuesExample Example showing how to manipulate data that has missing values. C#  VB  


Distribution ExamplesDescriptionSource
ProbabilityDistributionExample Example showing how to use the probability distribution classes. C#  VB  


Factor Analysis ExamplesDescriptionSource
FACorrelationExample Example showing how to perform a factor analysis. C#  VB  
FAAdvancedExample Example showing advanced features of factor analysis. C#  VB  


Hypothesis Testing ExamplesDescriptionSource
HypothesisTestExample Example showing how to use the hypothesis test classes to test statistical hypotheses. C#  VB  


Nonnegative Matrix Factorization (NMF) ExamplesDescriptionSource
NMFExample Example showing basic NMF. C#  VB  
NMFOrderedConnectivityMatrixExample Example showing how to create an ordered connectivity matrix to display the results of NMF clustering. C#  VB  
NMFConsensusMatrixExample Example showing how to compute a consensus matrix averaging different NMF clusterings. C#  VB  


Misc ExamplesDescriptionSource
StatsFunctionsExample Example showing how to use the descriptive statistics functions of the StatsFunctions class. C#  VB  
BoxCoxExample Example showing how to compute the Box-Cox power tranformations. C#  VB  
SubsetExample Example showing how to access arbitrary subsets of a data frame. C#  VB  
FactorExample Example showing how to create and manipulate factors. C#  VB  
ApplyTransformExample Example showing how to use the apply and transform functionality on a DataFrame. C#  VB  
ADOExample Example showing how to display a DataFrame in an ADO.NET DataGrid. C#  VB  


Partial Least Squares ExamplesDescriptionSource
PLSExample Example showing basics of PLS1 and PLS2. C#  VB  
PLS1ScoresAndLoadingsExample Example showings scores and loadings with PLS1. C#  VB  
PLS2CrossValidationExample Example showing cross-validation using PLS2. C#  VB  
PLS2ScoresAndLoadingsExample Example showings scores and loadings with PLS2. C#  VB  


Principal Component Analysis ExamplesDescriptionSource
PrincipalComponentExample Example showing how to perform a principal component analysis. C#  VB  F#


Regression ExamplesDescriptionSource
SimpleLinearRegressionExample Example showing how to use the linear regression class to perform a simple linear regression. C#  VB  
MultipleLinearRegressionExample Example showing how to perform multiple linear regression. C#  VB  
LogisticRegressionExample Example showing how to perform logistic regression. C#  VB  
Top