Open SPTKL opened 4 years ago
PU18BwPv
, P65plBwPv
,PBwPv
, have different z but same everything else
CvLFUEm2
have different p and z but same everything elseupdate:
CvLFUEm2
: if we recalculated p and z, mismatch resolves
status:
PU18BwPv
, P65plBwPv
,PBwPv
Good morning, I looked into the Median Moes, they all seem to have the same issue. Following the instruction, sometimes P_upper falls in the last bin interval, and we can't find A2 because there's no next higher category, that's why the MOE is left as null because the calculation cannot proceed
e.g. for MN21
, mdefftwrk
here's the cumulative distribution
[0.20990764063811923, 0.20990764063811923, 0.20990764063811923, 0.20990764063811923, 0.6856982927511894, 0.8396305625524769, 1.035544360481388, 1.56731038343129, 1.9031626084522808, 2.127064091799608, 2.65883011474951, 3.456479149174363, 3.8902882731598094, 7.514693534844668, 9.599776098516653, 15.938986845787854, 25.98656591099916, 34.1589700531766, 52.54687937307585, 100.0]
p_lower = 46.55054141297496
p_upper = 53.44945858702504
p_upper falls in the last bin available, therefore cannot define A2 in this case
reason: for these country variables, base variable Pop_5 has -555555555 as m value from census API, which gets changed to null
status:
same reason see below
status:
HOVacU
OOcHU4
PopOOcHU
PopRtOcHU
RntVacU
ROcHU2
VacRnt
VacRntNO
VacSale
VacSoldNO
and QN99 missing c
and m
base variables have null MOE pulled from census e.g. for
"Pop": [
"B01001_001"
]
status:
Also seeing top coding + 1 issue on economic profile and medians missing m & c data
RE:
"MdEMFTWrk": [
"DP03_0093"
]
data pulled directly from census:
('DP03_0093E', '250001')
('DP03_0093M', '-333333333')
('DP03_0093PE', '-888888888')
('DP03_0093PM', '-888888888')
('DP03_0093EA', '250,000+')
('DP03_0093MA', '***')
('DP03_0093PEA', '(X)')
('DP03_0093PMA', '(X)')
RE: resolved
everything seems to be resolved, only remaining issue is and QN99 missing c and m for mdrms still need some digging to resolve that one record, otherwise everything else is ready to go row counts are consistent across all 3 years for each table
so to have it all in the same place of the errors i've found so far in my checks: