Symptom Counts By Vaccine

Exploratory Data Analysis.

Which vaccines resulted in the most symptoms?  

First, see:
Normalized Table AD_2019_ALL_VAX_NORM

Normalized Table AD_2019_ALL_SYMP_NORM

as these two tables are joined for this query.


Select count(*) Count
from dbo.[AD_2019_ALL_VAX_NORM]  

Count:
1,155,341


Select count(*) Count
from dbo.[AD_2019_ALL_SYMP_NORM]  

Count:
2,765,759

Note:

A cartesian product between these two tables would be:

= 1,155,341 * 2,765,759
= 3,195,394,768,819

Over three trillion. So large that SQL Server could not handle the query.


Select count(*) Count
from dbo.[AD_2019_ALL_SYMP_NORM]  as symp
  join  dbo.[AD_2019_ALL_VAX_NORM]  as vax
    on symp.vaers_id = vax.vaers_id

Count:
4,221,966

Correct join gives 4.2 million rows


Select 
  vax.Vax
, count(*) Vax_Symp_count
from dbo.[AD_2019_ALL_SYMP_NORM]  as symp
  join  dbo.[AD_2019_ALL_VAX_NORM]  as vax
    on symp.vaers_id = vax.vaers_id
group by vax.vax
order by 2 desc

VaxVax_Symp_countPercent WeightRunning Total
FLU3362,1248.577148.57714
MMR279,6866.6245415.20169
VARZOS256,9996.0871921.28887
PPV249,6155.9122927.20117
HEP244,5035.7912132.99238
VARCEL223,0665.2834638.27584
DTAP203,1314.8112943.08713
HIBV191,5754.5375847.62471
HPV4178,3854.2251651.84987
TDAP154,9553.6702155.52008
IPV142,9253.3852758.90535
PNC13138,6983.2851562.19051
HEPA127,5183.0203565.21085
FLUX113,6112.6909567.90180
PNC98,4032.3307470.23254
FLU491,9292.1774072.40994
MNQ86,2412.0426774.45261
OPV81,8201.9379676.39057
DTP79,9951.8947378.28531
TD70,3801.6670079.95230
RV566,8531.5834681.53576
ANTH42,8301.0144682.55021
MMRV41,889.9921783.54238
DTAPIPVHIB40,635.9624784.50485
RV139,979.9469385.45178
HPV938,942.9223786.37414
DTAPHEPBIP37,149.8799087.25404
TYP36,818.8720688.12610
FLU(H1N1)35,765.8471288.97322
MENB34,349.8135889.78680
DTAPIPV32,906.7794090.56620
HPV227,219.6447091.21090
6VAX-F25,917.6138691.82476
SMALL25,699.6087092.43345
HEPAB24,260.5746193.00807
UNK23,948.5672293.57529
RAB21,945.5197894.09507
FLUN320,798.4926194.58769
MEN20,556.4868895.07457
DTPHIB20,384.4828195.55738
YF18,052.4275795.98495
HBHEPB16,792.3977396.38268
TTOX14,123.3345196.71719
FLUX(H1N1)11,926.2824896.99967
LYME11,855.2807997.28046
FLUC411,434.2708297.55128
FLUN410,714.2537797.80505
FLUN(H1N1)9,583.2269898.03203
DT9,578.2268698.25889
HPVX8,957.2121598.47104
FLUA38,621.2041998.67524
RVX6,385.1512398.82647
DTPIPV3,675.0870498.91352
BCG3,511.0831698.99668
FLUC33,361.0796199.07628
RUB3,347.0792899.15556
MEA2,812.0666099.22216
FLUR42,790.0660899.28825
DTAPH2,759.0653599.35359
PNC102,629.0622799.41586
JEV12,284.0541099.46996
DTIPV2,219.0525699.52252
RV2,081.0492999.57181
JEV2,050.0485699.62037
DTPHEP1,549.0366999.65706
MENHIB1,166.0276299.68467
CHOL1,137.0269399.71160
DTPPHIB1,134.0268699.73846
MER970.0229899.76144
DPP931.0220599.78349
TBE931.0220599.80554
HBPV857.0203099.82584
PER832.0197199.84555
FLUR3808.0191499.86468
ADEN_4_7736.0174399.88212
MU731.0173199.89943
DTPIHI643.0152399.91466
JEVX625.0148099.92946
DTOX622.0147399.94420
TDAPIPV589.0139599.95815
MNC528.0125199.97065
MM434.0102899.98093
HEPATYP188.0044599.98539
PLAGUE151.0035899.98896
MUR115.0027299.99169
MNQHIB91.0021699.99384
SSEV85.0020199.99586
ADEN51.0012199.99706
CEE47.0011199.99818
DF44.0010499.99922
H5N124.0005799.99979
DPIPV9.00021100
    
Total4,221,966100 
92 rows  

Analysis:

n=4,221,966

The vaccines that recorded the most symptoms are:
FLU3, MMR, VARZOS
comprising 21% of all symptoms

The results are similar to:
Reactions By VAX Code

 

Leave a Reply

Your email address will not be published. Required fields are marked *