Пример #1
0
 public AdressStatistics(int numberOfSamples)
 {
     NumberOfAdressObjects = new DiscreteStatistic(numberOfSamples, "NumberOfAdressObjects");
     GivenMultipleAdressObject_HasSameNinAsPersonObject = new BooleanStatistic(numberOfSamples, "GivenMultipleAdressObject_HasSameNinAsPersonObject");
     HasAdressLine12or3 = new BooleanStatistic(numberOfSamples, "HasAdressLine12or3");
     HasAdressLine1_WhenHasAdressLine12or3 = new BooleanStatistic(numberOfSamples, "HasAdressLine1_WhenHasAdressLine12or3");
     HasAdressLine2_WhenHasAdressLine12or3 = new BooleanStatistic(numberOfSamples, "HasAdressLine2_WhenHasAdressLine12or3");
     HasAdressLine3_WhenHasAdressLine12or3 = new BooleanStatistic(numberOfSamples, "HasAdressLine3_WhenHasAdressLine12or3");
     HasAppartmentNumber     = new BooleanStatistic(numberOfSamples, "HasAppartmentNumber");
     HasBasicStatisticalUnit = new BooleanStatistic(numberOfSamples, "HasBasicStatisticalUnit");
     HasCadastralNumber      = new BooleanStatistic(numberOfSamples, "HasCadastralNumber");
     HasCoAdress             = new BooleanStatistic(numberOfSamples, "HasCoAdress");
     HasConstituency         = new BooleanStatistic(numberOfSamples, "HasConstituency");
     HasCountry                     = new BooleanStatistic(numberOfSamples, "HasCountry");
     IsCurrentAdress                = new BooleanStatistic(numberOfSamples, "IsCurrentAdress");
     HasDateAdrFrom                 = new BooleanStatistic(numberOfSamples, "HasDateAdrFrom");
     HasDatePostalPlace             = new BooleanStatistic(numberOfSamples, "HasDatePostalPlace");
     HasDistrictCodeandDistrictName = new BooleanStatistic(numberOfSamples, "HasDistrictCodeandDistrictName");
     HasHouseLetter                 = new BooleanStatistic(numberOfSamples, "HasHouseLetter");
     HasHouseNumber                 = new BooleanStatistic(numberOfSamples, "HasHouseNumber");
     HasSameNinAsPersonObject       = new BooleanStatistic(numberOfSamples, "HasSameNinAsPersonObject");
     HasPostalAdress                = new BooleanStatistic(numberOfSamples, "HasPostalAdress");
     HasPostalAddressValidFrom      = new BooleanStatistic(numberOfSamples, "HasPostalAddressValidFrom");
     HasPostalCode                  = new BooleanStatistic(numberOfSamples, "HasPostalCode");
     HasPostalCodeGivenIsDead       = new BooleanStatistic(numberOfSamples, "HasPostalCodeGivenIsDead");
     HasPostalPlace                 = new BooleanStatistic(numberOfSamples, "HasPostalPlace");
     PostalType                     = new DiscreteStatistic(numberOfSamples, "PostalType");
     HasPropertyNumber              = new BooleanStatistic(numberOfSamples, "HasPropertyNumber");
     HasSchoolDistrict              = new BooleanStatistic(numberOfSamples, "HasSchoolDistrict");
     HasSt                     = new BooleanStatistic(numberOfSamples, "HasSt");
     HasStreetname             = new BooleanStatistic(numberOfSamples, "HasStreetname");
     HasStreetnumber           = new BooleanStatistic(numberOfSamples, "HasStreetnumber");
     HasXcoordYcoord           = new BooleanStatistic(numberOfSamples, "HasXcoordYcoord");
     GivenHasDnummer_KommuneNr = new DiscreteStringStatistics(numberOfSamples, "GivenHasDnummer_KommuneNr", (int?)null);
 }
 public NameStatistics(int numberOfSamplesToTake)
 {
     HasFirstname = new BooleanStatistic(numberOfSamplesToTake, "HasFirstname");
     GivenHasFirstName_HowManyNames = new DiscreteStatistic(numberOfSamplesToTake, "GivenHasFirstName_HowManyNames");
     HasMiddlename = new BooleanStatistic(numberOfSamplesToTake, "HasMiddlename");
     GivenHasMiddleName_HowManyNames = new DiscreteStatistic(numberOfSamplesToTake, "GivenHasMiddleName_HowManyNames");
     GivenHasHasSirname_HowManyNames = new DiscreteStatistic(numberOfSamplesToTake, "GivenHasHasSirname_HowManyNames");
     HasSirname = new BooleanStatistic(numberOfSamplesToTake, "HasSirname");
     HasMultipleSirname_UseBindestrek = new BooleanStatistic(numberOfSamplesToTake, "HasMultipleSirname_UseBindestrek");
 }
 public RelationshipStatistics(int numberOfSamplesToTake)
 {
     ParentninExists_GivenHaveParentNin = new BooleanStatistic(numberOfSamplesToTake, "ParentninExists_GivenHaveParentNin");
     SpouseExists_GivenHasSpouse        = new BooleanStatistic(numberOfSamplesToTake, "SpouseExists_GivenHasSpouse");
     ParentsAreMarried = new BooleanStatistic(numberOfSamplesToTake, "ParentsAreMarried");
     SpouseSameSex_GivenHasValidSpouse     = new BooleanStatistic(numberOfSamplesToTake, "SpouseSameSex_GivenHasValidSpouse");
     SpouseDuplex_GivenHasValidSpouse      = new BooleanStatistic(numberOfSamplesToTake, "SpouseDuplex_GivenHasValidSpouse");
     ParentSameSex_GivenHaveValidParentNin = new BooleanStatistic(numberOfSamplesToTake, "ParentSameSex_GivenHaveValidParentNin");
     HasChildren_GivenHasSpouseNin         = new BooleanStatistic(numberOfSamplesToTake, "HasChildren_GivenHasSpouseNin");
     HasChildren_GivenHasNotSpouseNin      = new BooleanStatistic(numberOfSamplesToTake, "HasChildren_GivenHasNotSpouseNin");
     HasChildrenWithBetterHalf_GivenValidSpouseNinAndHaveChildren = new BooleanStatistic(numberOfSamplesToTake, "HasChildrenWithBetterHalf_GivenValidSpouseNinAndHaveChildren");
     HaveMoreThanOneKidTogether_GivenHaveOneKidTogether           = new BooleanStatistic(numberOfSamplesToTake, "HaveMoreThanOneKidTogether_GivenHaveOneKidTogether");
     NumberOfChildren_GivenHaveChildren = new Statistic(numberOfSamplesToTake, "NumberOfChildren_GivenHaveChildren");
     AgeDifferentalInYearsToParent      = new Statistic(numberOfSamplesToTake, "AgeDifferentalInYearsToParent");
     Custody_HaveParentNin        = new DiscreteStringStatistics(numberOfSamplesToTake, "Custody_HaveParentNin", null);
     Custody_HaveNotParentNin     = new DiscreteStringStatistics(numberOfSamplesToTake, "Custody_HaveNotParentNin", null);
     SpouseAgeDifferentialInYears = new Statistic(numberOfSamplesToTake, "SpouseAgeDifferentialInYears");
 }