pooled_variance Interface

public interface pooled_variance

Computes the pooled estimate of variance.


Contents


Module Procedures

private pure function pooled_variance_1(si, ni) result(rst)

Computes the pooled estimate of variance.

Arguments

Type IntentOptional 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.

Return Value real(kind=real64)

The pooled variance.

private pure function pooled_variance_2(x) result(rst)

Computes the pooled estimate of variance.

Arguments

Type IntentOptional Attributes Name
type(array_container), intent(in), dimension(:) :: x

An array of arrays of data.

Return Value real(kind=real64)

The pooled variance.