diff --git a/CMakeLists.txt b/CMakeLists.txt index a1c2d72..34b744f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.24) project( fstats LANGUAGES Fortran - VERSION 1.2.1 + VERSION 1.2.2 ) # Confgiure everything diff --git a/doc/index.html b/doc/index.html index 000c1c0..0e3ecce 100644 --- a/doc/index.html +++ b/doc/index.html @@ -108,7 +108,7 @@
Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:470.3% of total for procedures.
Including implementation: 146 statements, 8.7% of total for procedures.">5 statementsDocumentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47The resulting statistic.
Defines the signature of a function for computing the desired @@ -191,7 +191,7 @@
Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:470.2% of total for procedures.
Including implementation: 31 statements, 1.8% of total for procedures.">4 statementsDocumentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:470.2% of total for procedures.
Including implementation: 22 statements, 1.3% of total for procedures.">4 statementsDocumentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47The value of the function.
Defines the interface for a probability distribution function.
@@ -205,7 +205,7 @@Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47The property value.
Computes the value of a distribution property.
@@ -190,7 +190,7 @@Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Computes the pooled estimate of variance.
+Computes the pooled estimate of variance.
+ +Type | +Intent | Optional | Attributes | ++ | Name | ++ |
---|---|---|---|---|---|---|
+ + real(kind=real64), + | +intent(in), | ++ dimension(:) + | +:: | +si | +
+ An N-element array containing the estimates for each of the N +variances. + |
+ |
+ + integer(kind=int32), + | +intent(in), | ++ dimension(size(si)) + | +:: | +ni | +
+ An N-element array containing the number of data points in each +of the data sets used to compute the variances in si. + |
+
The pooled variance.
+ +Computes the pooled estimate of variance.
+ +Type | +Intent | Optional | Attributes | ++ | Name | ++ |
---|---|---|---|---|---|---|
+ + type(array_container), + | +intent(in), | ++ dimension(:) + | +:: | +x | +
+ An array of arrays of data. + |
+
The pooled variance.
+ +Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Performs an analysis of variance (ANOVA) on the supplied data set.
Computes Bartlett's test statistic and associated probability.
Computes statistics for the quality of fit for a regression model.
Computes the coefficient matrix to the linear -least-squares regression problem of , where - is the coefficient matrix computed here, is -the vector of coefficients to be determined, and is the -vector of measured dependent variables.
Computes the covariance matrix where and is computed -by coefficient_matrix.
Computes the design matrix for the linear +least-squares regression problem of , where + is the matrix computed here, is +the vector of coefficients to be determined, and is the +vector of measured dependent variables.
Computes the Jacobian matrix for a nonlinear regression problem.
Computes Levene's test statistic and associated probability.
Performs a nonlinear regression to fit a model using a version of the Levenberg-Marquardt algorithm.
Computes the pooled estimate of variance.
Reports an underdefined problem error.
Estimates the sample size required to achieve an experiment with the +desired power and significance levels to ascertain the desired +difference in parameter.
Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Defines an ANOVA factor result.
Provides a container for a real-valued array. A practical use of +this construct is in the construction of jagged arrays.
Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Computes the pooled estimate of variance.
+Computes the pooled estimate of variance.
+ +Type | +Intent | Optional | Attributes | ++ | Name | ++ |
---|---|---|---|---|---|---|
+ + real(kind=real64), + | +intent(in), | ++ dimension(:) + | +:: | +si | +
+ An N-element array containing the estimates for each of the N +variances. + |
+ |
+ + integer(kind=int32), + | +intent(in), | ++ dimension(size(si)) + | +:: | +ni | +
+ An N-element array containing the number of data points in each +of the data sets used to compute the variances in si. + |
+
The pooled variance.
+ +Computes the pooled estimate of variance.
+ +Type | +Intent | Optional | Attributes | ++ | Name | ++ |
---|---|---|---|---|---|---|
+ + type(array_container), + | +intent(in), | ++ dimension(:) + | +:: | +x | +
+ An array of arrays of data. + |
+
The pooled variance.
+ +Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Computes the standardized variable for the distribution.<\p>
Computes the standardized variable for the distribution.<\p>
Computes the probability density function.<\p>
Computes the standardized variable for the distribution.<\p>
Computes the standardized variable for the distribution.<\p>
Computes the standardized variable for the distribution.<\p>
Computes the standardized variable for the distribution.<\p>
Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Estimates the sample size required to achieve an experiment with the +desired power and significance levels to ascertain the desired +difference in parameter.
Type | +Intent | Optional | Attributes | ++ | Name | ++ |
---|---|---|---|---|---|---|
+ + class(distribution), + | +intent(in) | ++ + | +:: | +dist | +
+ The distribution to utilize as a measure. + |
+ |
+ + real(kind=real64), + | +intent(in) | ++ + | +:: | +var | +
+ An estimate of the population variance. + |
+ |
+ + real(kind=real64), + | +intent(in) | ++ + | +:: | +delta | +
+ The parameter difference that is desired. + |
+ |
+ + real(kind=real64), + | +intent(in), | +optional | + + | +:: | +bet | +
+ The desired power level. The default for this value is 0.2, for a +power of 80%. + |
+
+ + real(kind=real64), + | +intent(in), | +optional | + + | +:: | +alpha | +
+ The desired significance level. The default for this value is 0.05 +for a confidence level of 95%. + |
+
The minimum sample size requried to achieve the desired experimental +outcome.
+ +Computes Bartlett's test statistic and associated probability.
Type | +Intent | Optional | Attributes | ++ | Name | ++ |
---|---|---|---|---|---|---|
+ + type(array_container), + | +intent(in), | ++ dimension(:) + | +:: | +x | +
+ The arrays of data to analyze. + |
+ |
+ + real(kind=real64), + | +intent(out) | ++ + | +:: | +stat | +
+ The Bartlett's test statistic. + |
+ |
+ + real(kind=real64), + | +intent(out) | ++ + | +:: | +p | +
+ The probability value that the variances of each data set are +equivalent. A low p-value, less than some significance level, +indicates a non-equivalance of variances. + |
+
Computes Levene's test statistic and associated probability.
Type | +Intent | Optional | Attributes | ++ | Name | ++ |
---|---|---|---|---|---|---|
+ + type(array_container), + | +intent(in), | ++ dimension(:) + | +:: | +x | +
+ The arrays of data to analyze. + |
+ |
+ + real(kind=real64), + | +intent(out) | ++ + | +:: | +stat | +
+ The Bartlett's test statistic. + |
+ |
+ + real(kind=real64), + | +intent(out) | ++ + | +:: | +p | +
+ The probability value that the variances of each data set are +equivalent. A low p-value, less than some significance level, +indicates a non-equivalance of variances. + |
+ |
+ + class(errors), + | +intent(inout), | +optional, | + target + | +:: | +err | ++ + | +
Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Computes the coefficient matrix to the linear -least-squares regression problem of , where - is the coefficient matrix computed here, is -the vector of coefficients to be determined, and is the -vector of measured dependent variables.
Computes the covariance matrix where + and is computed +by design_matrix.
- - integer(kind=int32), - | -intent(in) | -- - | -:: | -order | -
- The order of the equation to fit. This value must be -at least one (linear equation), but can be higher as desired. - |
- |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- - logical, - | -intent(in) | -- - | -:: | -intercept | -
- Set to true if the intercept is being computed -as part of the regression; else, false. - |
- |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- + real(kind=real64), | intent(in) | @@ -1540,15 +1506,15 @@:: | -x(:) | +x(:,:) |
- An N-element array containing the independent variable -measurement points. +An M-by-N matrix containing the formatted independent data + matrix as computed by design_matrix. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- + real(kind=real64), | intent(out) | @@ -1558,14 +1524,12 @@:: | c(:,:) |
- An N-by-K matrix where the results will be written. K -must equal order + 1 in the event intercept is true; -however, if intercept is false, K must equal order. +The N-by-N covariance matrix. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- + class(errors), | intent(inout), | @@ -1578,8 +1542,10 @@
- + + integer(kind=int32), + | +intent(in) | ++ + | +:: | +order | +
+ The order of the equation to fit. This value must be +at least one (linear equation), but can be higher as desired. + |
+ |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ + logical, + | +intent(in) | ++ + | +:: | +intercept | +
+ Set to true if the intercept is being computed +as part of the regression; else, false. + |
+ |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+ real(kind=real64), | intent(in) | @@ -1619,15 +1619,15 @@:: | -x(:,:) | +x(:) |
- An M-by-N matrix containing the formatted independent data - matrix as computed by coefficient_matrix. +An N-element array containing the independent variable +measurement points. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- + real(kind=real64), | intent(out) | @@ -1637,12 +1637,14 @@:: | c(:,:) |
- The N-by-N covariance matrix. +An N-by-K matrix where the results will be written. K +must equal order + 1 in the event intercept is true; +however, if intercept is false, K must equal order. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- + class(errors), | intent(inout), | @@ -1655,10 +1657,8 @@|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- + class(errors), | intent(inout), | @@ -1894,7 +1894,7 @@|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- + real(kind=real64), | intent(in) | @@ -1910,7 +1910,7 @@|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- + real(kind=real64), | intent(in) | @@ -2006,7 +2006,7 @@|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- + class(errors), | intent(inout), | @@ -2069,7 +2069,7 @@|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- + real(kind=real64), | intent(in) | @@ -2084,7 +2084,7 @@|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- + real(kind=real64), | intent(in) | @@ -2296,7 +2296,7 @@|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- + class(errors), | intent(inout), | @@ -2348,7 +2348,7 @@|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- + integer(kind=int32), | intent(in) | @@ -367,7 +367,7 @@|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- + integer(kind=int32), | intent(in) | @@ -444,7 +444,7 @@|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- + real(kind=real64), | intent(in), | @@ -322,7 +322,7 @@|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- + class(errors), | intent(inout), | @@ -367,7 +367,7 @@|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- + real(kind=real64), | intent(in) | @@ -209,7 +209,7 @@|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- + real(kind=real64), | intent(in) | @@ -254,7 +254,7 @@|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- + real(kind=real64), | intent(in) | @@ -299,7 +299,7 @@|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- + real(kind=real64), | intent(in) | @@ -314,7 +314,7 @@|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- + real(kind=real64), | intent(in) | @@ -329,7 +329,7 @@|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- + real(kind=real64), | intent(in) | @@ -374,7 +374,7 @@|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- + real(kind=real64), | intent(in) | @@ -389,7 +389,7 @@|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- + real(kind=real64), | intent(in) | @@ -434,7 +434,7 @@|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- + real(kind=real64), | intent(in) | @@ -449,7 +449,7 @@|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- + real(kind=real64), | intent(in) | @@ -494,7 +494,7 @@|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- + real(kind=real64), | intent(in) | @@ -509,7 +509,7 @@|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- + real(kind=real64), | intent(in) | @@ -524,7 +524,7 @@|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- + real(kind=real64), | intent(in) | @@ -570,7 +570,7 @@
Type | +Visibility | Attributes | ++ | Name | +Initial | + | |
---|---|---|---|---|---|---|---|
+ + real(kind=real64), + | +public, | ++ allocatable, dimension(:) + | +:: | +x | ++ | + |
+ The array. + |
+
Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Computes Bartlett's test statistic and associated probability.
+The statistic is calculated as follows.
++ +
+Where and is the pooled +variance.
+The probability is calculated as the right-tail probability of the +chi-squared distribution.
+Bartlett's test is most relevant for distributions showing strong +normality. For distributions lacking strong normality, consider +Levene's test instead.
+See Also
+Type | +Intent | Optional | Attributes | ++ | Name | ++ |
---|---|---|---|---|---|---|
+ + type(array_container), + | +intent(in), | ++ dimension(:) + | +:: | +x | +
+ The arrays of data to analyze. + |
+ |
+ + real(kind=real64), + | +intent(out) | ++ + | +:: | +stat | +
+ The Bartlett's test statistic. + |
+ |
+ + real(kind=real64), + | +intent(out) | ++ + | +:: | +p | +
+ The probability value that the variances of each data set are +equivalent. A low p-value, less than some significance level, +indicates a non-equivalance of variances. + |
+
Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Computes the covariance matrix where and is computed -by coefficient_matrix.
+by design_matrix.See Also
An M-by-N matrix containing the formatted independent data - matrix as computed by coefficient_matrix.
+ matrix as computed by design_matrix.Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Computes the coefficient matrix to the linear +
Computes the design matrix for the linear least-squares regression problem of , where - is the coefficient matrix computed here, is + is the matrix computed here, is the vector of coefficients to be determined, and is the vector of measured dependent variables.
See Also
@@ -193,7 +195,7 @@Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Computes Levene's test statistic and associated probability.
+The statistic is calculated as follows. + +
+Where: + + + +
+As the test statistic is approximately F-distributed, the F-distribution +is used to calculate the probability term.
+See Also
+Type | +Intent | Optional | Attributes | ++ | Name | ++ |
---|---|---|---|---|---|---|
+ + type(array_container), + | +intent(in), | ++ dimension(:) + | +:: | +x | +
+ The arrays of data to analyze. + |
+ |
+ + real(kind=real64), + | +intent(out) | ++ + | +:: | +stat | +
+ The Bartlett's test statistic. + |
+ |
+ + real(kind=real64), + | +intent(out) | ++ + | +:: | +p | +
+ The probability value that the variances of each data set are +equivalent. A low p-value, less than some significance level, +indicates a non-equivalance of variances. + |
+ |
+ + class(errors), + | +intent(inout), | +optional, | + target + | +:: | +err | ++ + | +
Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Estimates the sample size required to achieve an experiment with the +desired power and significance levels to ascertain the desired +difference in parameter.
+See Also
+Type | +Intent | Optional | Attributes | ++ | Name | ++ |
---|---|---|---|---|---|---|
+ + class(distribution), + | +intent(in) | ++ + | +:: | +dist | +
+ The distribution to utilize as a measure. + |
+ |
+ + real(kind=real64), + | +intent(in) | ++ + | +:: | +var | +
+ An estimate of the population variance. + |
+ |
+ + real(kind=real64), + | +intent(in) | ++ + | +:: | +delta | +
+ The parameter difference that is desired. + |
+ |
+ + real(kind=real64), + | +intent(in), | +optional | + + | +:: | +bet | +
+ The desired power level. The default for this value is 0.2, for a +power of 80%. + |
+
+ + real(kind=real64), + | +intent(in), | +optional | + + | +:: | +alpha | +
+ The desired significance level. The default for this value is 0.05 +for a confidence level of 95%. + |
+
The minimum sample size requried to achieve the desired experimental +outcome.
+Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47module fstats_types + use iso_fortran_env + implicit none + + type array_container + !! Provides a container for a real-valued array. A practical use of + !! this construct is in the construction of jagged arrays. + real(real64), allocatable, dimension(:) :: x + !! The array. + end type +end module +
4.8% of total for derived types.
Including implementation: 7 statements, 1.4% of total for derived types.">7 statementsDocumentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47Provides a container for a real-valued array. A practical use of +this construct is in the construction of jagged arrays.
+Type | +Visibility | Attributes | ++ | Name | +Initial | + | |
---|---|---|---|---|---|---|---|
+ + real(kind=real64), + | +public, | ++ allocatable, dimension(:) + | +:: | +x | ++ | + |
+ The array. + |
+
7.6% of total for derived types.
Including implementation: 66 statements, 13.7% of total for derived types.">11 statementsComputes the standardized variable for the distribution.
+Computes the standardized variable for the distribution.
+ +Type | +Intent | Optional | Attributes | ++ | Name | ++ |
---|---|---|---|---|---|---|
+ + class(distribution), + | +intent(in) | ++ + | +:: | +this | +
+ The distribution object. + |
+ |
+ + real(kind=real64), + | +intent(in) | ++ + | +:: | +x | +
+ The value of interest. + |
+
The result.
+ +Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:474.8% of total for derived types.
Including implementation: 7 statements, 1.4% of total for derived types.">7 statementsDocumentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:475.5% of total for derived types.
Including implementation: 8 statements, 1.7% of total for derived types.">8 statementsDocumentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:476.9% of total for derived types.
Including implementation: 65 statements, 13.5% of total for derived types.">10 statementsComputes the standardized variable for the distribution.
+Computes the standardized variable for the distribution.
+ +Type | +Intent | Optional | Attributes | ++ | Name | ++ |
---|---|---|---|---|---|---|
+ + class(distribution), + | +intent(in) | ++ + | +:: | +this | +
+ The distribution object. + |
+ |
+ + real(kind=real64), + | +intent(in) | ++ + | +:: | +x | +
+ The value of interest. + |
+
The result.
+ +Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:479.0% of total for derived types.
Including implementation: 13 statements, 2.7% of total for derived types.">13 statementsDocumentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:476.9% of total for derived types.
Including implementation: 29 statements, 6.0% of total for derived types.">10 statementsComputes the standardized variable for the distribution.
+Computes the standardized variable for the distribution.
+ +Type | +Intent | Optional | Attributes | ++ | Name | ++ |
---|---|---|---|---|---|---|
+ + class(distribution), + | +intent(in) | ++ + | +:: | +this | +
+ The distribution object. + |
+ |
+ + real(kind=real64), + | +intent(in) | ++ + | +:: | +x | +
+ The value of interest. + |
+
The result.
+ +Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:477.6% of total for derived types.
Including implementation: 83 statements, 17.2% of total for derived types.">11 statementsComputes the standardized variable for the distribution.
+Computes the standardized variable for the distribution.
+ +Type | +Intent | Optional | Attributes | ++ | Name | ++ |
---|---|---|---|---|---|---|
+ + class(distribution), + | +intent(in) | ++ + | +:: | +this | +
+ The distribution object. + |
+ |
+ + real(kind=real64), + | +intent(in) | ++ + | +:: | +x | +
+ The value of interest. + |
+
The result.
+ +Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:477.6% of total for derived types.
Including implementation: 21 statements, 4.3% of total for derived types.">11 statementsDocumentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:475.5% of total for derived types.
Including implementation: 15 statements, 3.1% of total for derived types.">8 statementsDocumentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:478.3% of total for derived types.
Including implementation: 68 statements, 14.1% of total for derived types.">12 statementsComputes the standardized variable for the distribution.
+Computes the standardized variable for the distribution.
+ +Type | +Intent | Optional | Attributes | ++ | Name | ++ |
---|---|---|---|---|---|---|
+ + class(distribution), + | +intent(in) | ++ + | +:: | +this | +
+ The distribution object. + |
+ |
+ + real(kind=real64), + | +intent(in) | ++ + | +:: | +x | +
+ The value of interest. + |
+
The result.
+Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:474.1% of total for derived types.
Including implementation: 6 statements, 1.2% of total for derived types.">6 statementsDocumentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:475.5% of total for derived types.
Including implementation: 8 statements, 1.7% of total for derived types.">8 statementsDocumentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:476.9% of total for derived types.
Including implementation: 74 statements, 15.3% of total for derived types.">10 statementsComputes the standardized variable for the distribution.
+Computes the standardized variable for the distribution.
+ +Type | +Intent | Optional | Attributes | ++ | Name | ++ |
---|---|---|---|---|---|---|
+ + class(distribution), + | +intent(in) | ++ + | +:: | +this | +
+ The distribution object. + |
+ |
+ + real(kind=real64), + | +intent(in) | ++ + | +:: | +x | +
+ The value of interest. + |
+
The result.
+ +Documentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:476.9% of total for derived types.
Including implementation: 10 statements, 2.1% of total for derived types.">10 statementsDocumentation generated by FORD - on 2024-03-26 07:52
+ on 2024-04-19 07:47