diff --git a/FrequencyDistributionTable/ViewModels/MainViewModel.cs b/FrequencyDistributionTable/ViewModels/MainViewModel.cs index d0cf420..951748c 100644 --- a/FrequencyDistributionTable/ViewModels/MainViewModel.cs +++ b/FrequencyDistributionTable/ViewModels/MainViewModel.cs @@ -36,7 +36,7 @@ private void UpdateNonSetProps() RaisePropertyChangedEvent(nameof(SampleVariance)); RaisePropertyChangedEvent(nameof(PopulationVariance)); RaisePropertyChangedEvent(nameof(SampleStdDeviation)); - + RaisePropertyChangedEvent(nameof(PopulationStdDeviation)); } public int ClassInterval @@ -159,6 +159,8 @@ public decimal PopulationVariance public decimal SampleStdDeviation => (decimal)Math.Sqrt((double)SampleVariance); + public decimal PopulationStdDeviation => (decimal)Math.Sqrt((double)PopulationVariance); + private decimal GetVarianceNumerator() { return Classes.Select(x =>