Skip to content

Instantly share code, notes, and snippets.

@xujenna
Last active May 20, 2021 18:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xujenna/ae2a3ab9c6955e94b40df67c444d7a0b to your computer and use it in GitHub Desktop.
Save xujenna/ae2a3ab9c6955e94b40df67c444d7a0b to your computer and use it in GitHub Desktop.
highlights from data analysis
wave category sample1994_avgs sample_avg_1 sample_avg_2 sample_avg_3 sample_avg_4 sample_avg_5 sample_avg_6 sample_avg_7 sample_avg_8 sample_avg_9 sample_avg_10 sample_avg_11 sample_avg_12 sample_avg_13 sample_avg_14 sample_avg_15 sample_avg_16 sample_avg_17 sample_avg_18 sample_avg_19 sample_avg_20 sample_avg_21 sample_avg_22 sample_avg_23 sample_avg_24 sample_avg_25 sample_avg_26 sample_avg_27 sample_avg_28 sample_avg_29 sample_avg_30 sample_avg_31 sample_avg_32 sample_avg_33 sample_avg_34 sample_avg_35 sample_avg_36 sample_avg_37 sample_avg_38 sample_avg_39 sample_avg_40 sample_avg_41 sample_avg_42 sample_avg_43 sample_avg_44 sample_avg_45 sample_avg_46 sample_avg_47 sample_avg_48 sample_avg_49 sample_avg_50 sample_avg_51 sample_avg_52 sample_avg_53 sample_avg_54 sample_avg_55 sample_avg_56 sample_avg_57 sample_avg_58 sample_avg_59 sample_avg_60 sample_avg_61 sample_avg_62 sample_avg_63 sample_avg_64 sample_avg_65 sample_avg_66 sample_avg_67 sample_avg_68 sample_avg_69 sample_avg_70 sample_avg_71 sample_avg_72 sample_avg_73 sample_avg_74 sample_avg_75 sample_avg_76 sample_avg_77 sample_avg_78 sample_avg_79 sample_avg_80 sample_avg_81 sample_avg_82 sample_avg_83 sample_avg_84 sample_avg_85 sample_avg_86 sample_avg_87 sample_avg_88 sample_avg_89 sample_avg_90 sample_avg_91 sample_avg_92 sample_avg_93 sample_avg_94 sample_avg_95 sample_avg_96 sample_avg_97 sample_avg_98 sample_avg_99 sample_avg_100 NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA
Wave1 activities 3.86515315315315 3.864 3.46133333333333 3.64177777777778 3.50666666666667 3.25955555555556 3.48323896499239 3.56642642642643 3.60533333333333 3.48 3.71822222222222 3.60552552552553 3.62933333333333 3.40533333333333 3.42044444444444 3.70608219178082 3.67644444444444 3.67776576576577 3.75377777777778 3.39555555555556 3.62666666666667 3.49866666666667 3.33866666666667 3.75732132132132 3.624 3.432 3.63625225225225 3.70488888888889 3.75733333333333 3.75111111111111 3.40888888888889 3.56013213213213 3.57422222222222 3.66222222222222 3.52947747747748 3.64088888888889 3.61688888888889 3.81155555555556 3.78577777777778 3.51555555555556 3.42318318318318 3.51911111111111 3.63691291291291 3.46146546546547 3.55822222222222 3.75733333333333 3.33511111111111 3.65777777777778 3.83111111111111 3.47644444444444 3.57955555555556 3.91197597597598 3.64697897897898 3.86666666666667 3.54903303303303 3.47225225225225 3.49375375375375 3.66497297297297 3.48977777777778 3.55422222222222 3.77945945945946 3.53099099099099 3.57866666666667 3.58218618618619 3.59466666666667 3.672 3.67822222222222 3.51466666666667 3.65155555555556 3.75288888888889 3.74755555555556 3.70577777777778 3.71644444444444 3.51911111111111 3.58257057057057 3.77955555555556 3.40444444444444 3.81866666666667 3.46666666666667 3.67644444444444 3.5455975975976 3.59578378378378 3.66669101978691 3.45511111111111 3.68974174174174 3.53333333333333 3.41244444444444 3.74910510510511 3.56 3.68403603603604 3.53955555555556 3.52533333333333 3.72517717717718 3.30044444444444 3.65866666666667 3.5627027027027 3.664 3.58666666666667 3.648 3.78755555555556 3.35555555555556 3.72798798798799 3.54044444444444 3.76444444444444 3.40177777777778 3.70666666666667 3.75377777777778 3.29955555555556 3.43733333333333 3.61688888888889 3.66588588588589 3.61155555555556 3.46395129375951 3.57452252252252 3.47606006006006 3.58577777777778 3.70755555555556 3.58755555555556 3.29955555555556 3.58044444444444 3.68729129129129 3.68444444444444 3.58176576576577 3.58488888888889 3.87288888888889 3.66311111111111
Wave2 activities 3.90533333333333 3.87037337662338 3.74561403508772 3.75403225806452 3.71610169491525 3.55652173913043 3.65403225806452 3.73796296296296 3.64047619047619 3.90350877192982 3.78568181818182 3.75092592592593 3.86140350877193 3.7703125 3.83634085213033 3.90172413793103 3.93362068965517 3.87105263157895 3.78728813559322 3.61 3.88245614035088 3.65079365079365 3.68518518518519 4.06984126984127 3.78939393939394 3.55573770491803 3.72543859649123 3.93898305084746 3.91065028161802 3.74568965517241 3.85288461538462 3.63839285714286 3.887 4.10641414141414 3.64 3.75277777777778 3.88629032258065 3.91206896551724 3.92732320280538 3.59833333333333 3.78932291666667 3.76011904761905 3.89285714285714 3.79555353901996 3.67222222222222 3.905 3.56491228070175 3.89435483870968 3.76071428571429 3.87540983606557 3.74067796610169 4.04661016949153 3.72966101694915 3.87950819672131 3.62166666666667 3.825 3.78070175438596 3.84745762711864 3.70245901639344 3.70086206896552 3.67641509433962 3.69516129032258 3.88083333333333 3.68023529411765 3.89385964912281 3.81120689655172 3.67844827586207 3.7508064516129 3.65636363636364 4.02909090909091 3.89553571428571 3.6844262295082 3.70707627118644 3.67777777777778 3.9 3.90438596491228 3.72909090909091 3.82583333333333 3.67618798043326 3.60566919929866 3.65462962962963 3.62923076923077 3.76676553672316 3.79354838709677 3.75166666666667 3.86694915254237 3.64565217391304 4.05269423558897 3.78534482758621 3.95816102756892 3.70737704918033 3.76634615384615 3.78036723163842 3.76610169491525 3.65727272727273 3.69761904761905 4.0327868852459 3.68620689655172 3.72377049180328 3.86101694915254 3.68660714285714 3.79032258064516 3.91048387096774 3.8984375 3.77 3.87118644067797 3.7325 3.64206349206349 3.90169491525424 3.83947368421053 3.87307692307692 3.85824915824916 3.62589285714286 3.88225952813067 3.84083333333333 3.68983050847458 3.77301587301587 3.69098360655738 3.73820488721805 3.87589285714286 3.77460317460317 3.75648148148148 3.80993647912886 3.70241935483871 3.90423728813559 3.73793103448276
Wave3 activities 3.9510990990991 3.54873188405797 3.38666666666667 3.35210884353741 3.24320987654321 3.24678362573099 3.45521885521886 3.37917397233587 3.53177476118653 3.55466666666667 3.43950617283951 3.49942760942761 3.15540650406504 3.3505 3.57536231884058 3.50724637681159 3.47037037037037 3.66677124183007 3.26794871794872 3.37254901960784 3.52222222222222 3.34172714078374 3.25652173913043 3.76339869281046 3.37818181818182 3.48868027210884 3.26878911564626 3.56349206349206 3.59926530612245 3.59487734487734 3.38156028368794 3.30222222222222 3.3089898989899 3.76951951951952 3.18756936736959 3.64798026518656 3.2640522875817 3.47845528455285 3.44296296296296 3.11358024691358 3.17851851851852 3.34335154826958 3.64240543735225 3.49242424242424 3.27885521885522 3.7156462585034 3.18752941176471 3.46555394291243 3.42669387755102 3.46588235294118 3.36465821000705 3.47674418604651 3.23529411764706 3.47594819611471 3.41111111111111 3.47703703703704 3.40354449472097 3.56823529411765 3.21349118263658 3.43636363636364 3.5989387755102 3.32529741863075 3.79132889695503 3.02527891156463 3.27851851851852 3.29032133178475 3.28325791855204 3.352 3.21904761904762 3.57361111111111 3.36666666666667 3.46500754147813 3.42176870748299 3.49866666666667 3.28930817610063 3.56454106280193 3.38624730188097 3.39831573655103 3.35079365079365 3.12 3.33821138211382 3.52093023255814 3.49425287356322 3.21782776971456 3.51066666666667 3.81189039718451 3.34545454545455 3.35026078710289 3.26060606060606 3.34476650563607 3.40919540229885 3.36376811594203 3.37148526077097 3.37508503401361 3.19855218855219 3.38946208112875 3.76470588235294 3.51240816326531 3.416 3.69166666666667 3.236 3.4952925170068 3.51194968553459 3.51733333333333 3.32030141843972 2.98156028368794 3.53207547169811 3.52969696969697 3.42242332830568 3.4030303030303 3.47295597484277 3.39958169934641 3.29645390070922 3.39102564102564 3.63918439716312 3.36169934640523 3.24575163398693 3.62176870748299 3.41618480725624 3.30860095976375 3.50277777777778 3.46955756661639 3.64933333333333 3.39191707430701 3.63387247739449 3.3209977324263
{
"proportion_depressed": {
"wave_1": 0.0611620795107034,
"wave_2": 0.0518934081346424,
"wave_3": 0.0510673922143156,
"wave_4": 0.0404521118381915,
"wave_5": 0.0493920972644377
},
"proportion_gender_depressed": {
"male": 0.0949926362297496,
"female": 0.15626383355467
},
"proportion_age_depressed": {
"24-34": 0.0675675675675676,
"35-44": 0.0795262267343486,
"45-54": 0.0538461538461538,
"55-64": 0.0437956204379562,
"65-74": 0.0588235294117647,
"75+": 0.0605381165919283
},
"proportion_education_depressed": {
"0": 0.333333333333333,
"1": 0.16666666666666710,
"2": 0.157894736842105,
"3": 0.177777777777778,
"4": 0.191489361702128,
"5": 0.174603174603175,
"6": 0.144444444444444,
"7": 0.210084033613445,
"8": 0.13840830449827,
"9": 0.193939393939394,
"10": 0.116071428571429,
"11": 0.165217391304348,
"12": 0.122507122507123,
"13": 0.118367346938776,
"14": 0.134285714285714,
"15": 0.0847457627118644,
"16": 0.106299212598425,
"17": 0.0731707317073171
},
"proportion_income_depressed": {
"< $10k": 0.187925170068027,
"$10-19,999": 0.136518771331058,
"$20-29,999": 0.100671140939597,
"$30-39,999": 0.0815789473684211,
"$40-59,999": 0.0894308943089431,
"$60,000+": 0.0783410138248848
},
"first_reported_depression":{
"wave_1": 220,
"wave_2": 110,
"wave_3": 75,
"wave_4": 28,
"wave_5": 20
},
"proportion_age_depressed_1994": {
"24-34": 0.004054054,
"35-44": 0.023688663,
"45-54": 0.046153846,
"55-64": 0.011678832,
"65-74": 0.016993464,
"75+": 0.042600897
},
"proportion_income_depressed_1994": {
">$5K": 0.0986842105263158,
"$5-10K": 0.047752808988764,
"$10-15K": 0.0394736842105263,
"$15-20K": 0.0175438596491228,
"$20-25K": 0.0160427807486631,
"$25-30K": 0.00645161290322581,
"$30-40K": 0.0158227848101266,
"$40-60K": 0.0232558139534884,
"$60-80K": 0.0235849056603774,
"$80-100K": 0.021978021978022,
">=$100K": 0.0087719298245614
}
}
wave category sample1994_avgs sample_avg_1 sample_avg_2 sample_avg_3 sample_avg_4 sample_avg_5 sample_avg_6 sample_avg_7 sample_avg_8 sample_avg_9 sample_avg_10 sample_avg_11 sample_avg_12 sample_avg_13 sample_avg_14 sample_avg_15 sample_avg_16 sample_avg_17 sample_avg_18 sample_avg_19 sample_avg_20 sample_avg_21 sample_avg_22 sample_avg_23 sample_avg_24 sample_avg_25 sample_avg_26 sample_avg_27 sample_avg_28 sample_avg_29 sample_avg_30 sample_avg_31 sample_avg_32 sample_avg_33 sample_avg_34 sample_avg_35 sample_avg_36 sample_avg_37 sample_avg_38 sample_avg_39 sample_avg_40 sample_avg_41 sample_avg_42 sample_avg_43 sample_avg_44 sample_avg_45 sample_avg_46 sample_avg_47 sample_avg_48 sample_avg_49 sample_avg_50 sample_avg_51 sample_avg_52 sample_avg_53 sample_avg_54 sample_avg_55 sample_avg_56 sample_avg_57 sample_avg_58 sample_avg_59 sample_avg_60 sample_avg_61 sample_avg_62 sample_avg_63 sample_avg_64 sample_avg_65 sample_avg_66 sample_avg_67 sample_avg_68 sample_avg_69 sample_avg_70 sample_avg_71 sample_avg_72 sample_avg_73 sample_avg_74 sample_avg_75 sample_avg_76 sample_avg_77 sample_avg_78 sample_avg_79 sample_avg_80 sample_avg_81 sample_avg_82 sample_avg_83 sample_avg_84 sample_avg_85 sample_avg_86 sample_avg_87 sample_avg_88 sample_avg_89 sample_avg_90 sample_avg_91 sample_avg_92 sample_avg_93 sample_avg_94 sample_avg_95 sample_avg_96 sample_avg_97 sample_avg_98 sample_avg_99 sample_avg_100 NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA
Wave1 employment 3.98373677788446 4.01821129721444 4.06374955611152 4.06897596534822 4.04087558433527 4.10190311134611 4.00896724106231 3.97930799122073 4.06656827887855 4.14639464263981 3.99694908409504 4.07769742506074 4.07543759449613 4.07272266902838 4.16774942362997 3.93070622925483 4.07328062812222 4.1341470400832 4.00311832065719 4.00171022809041 4.12259784091909 4.0698479689678 4.20061807574318 4.0508333111329 4.00823314003671 4.16169771157002 4.0375674116637 4.13112498529843 3.95728367328876 4.12003348868353 4.06353992929506 4.03292793735028 4.07619376182928 4.08661244694991 4.00748192425628 3.9831135371007 4.0944132234218 4.16799885029001 4.16275507196046 4.09991667607874 4.05308734390807 4.10359235371327 4.06786971700115 4.15293125578272 4.06445177291966 3.86542477537288 4.10393201535662 4.1493846100953 4.08247742177441 4.05358364067643 3.99046094124809 4.13757324401981 3.93320066516677 3.94977639185264 4.07410247439942 4.04674714649294 4.19666903209244 4.16611090435606 3.98874360913866 4.08535290629813 4.05508778730865 4.08445122096161 4.17787107101433 4.11807658503345 4.09520919603506 4.14012967022038 3.99714339029894 4.04110132362343 4.15831592052278 3.96667937283949 4.03479398980335 3.88118292194716 4.06119604306013 4.07911320162658 4.07050002783558 4.09318312290836 4.14721646570561 4.08561998764162 4.08225457902228 4.00616670505982 4.06766907303736 4.1022730213629 4.01172120148698 4.08102657974879 4.08211813481486 4.06816854307293 3.97015217119586 4.1018739063013 3.98912356464271 4.08499467717875 4.11913581506646 4.08019528310872 4.11176645645359 4.10529472885792 4.11121850126352 4.00431213042217 4.06687938605831 4.00794223487137 4.10984572524131 4.11707143678315 4.04509848845855 3.95710928092636 4.04284113382241 4.04267167403499 3.92392472870714 4.06846417878309 3.97686442591753 4.07005784171758 3.97961655836438 4.07470330581339 4.00993493983858 4.04847866096481 4.03262337767188 4.04229921107319 4.1671783386293 4.12395225386261 4.01233581533221 4.03440580468634 3.9871996856829 4.00355874517522 3.92440792628622 4.11149216165897 3.98796669176452 4.11260189750795 4.10292186736305 4.05056238907707
Wave2 employment 4.3639800068264 4.35704845188576 4.38435597040913 4.34692751754971 4.36098515491944 4.42167293432523 4.34321781169519 4.44796866096866 4.40388930234064 4.37125051448366 4.50390274746292 4.32257338217338 4.42598372184642 4.33626358764644 4.29560027566511 4.43312659594299 4.388953867371 4.43729193146609 4.36718202261588 4.32027720518677 4.50240715432429 4.37903375388053 4.32899592428765 4.39550364543977 4.4703042627771 4.37367849781206 4.53815898774424 4.49825282238062 4.30910733522312 4.47328975898988 4.40528070737636 4.325540710902 4.36126546641764 4.5421176590124 4.30298738191633 4.36696509221772 4.35394536738753 4.23812767964154 4.3962498735933 4.3376463272082 4.25436166928169 4.39093405616432 4.43505513784461 4.31416281374457 4.42028470347172 4.35198291590341 4.43442164952454 4.33793273191869 4.37589755813338 4.37820440047673 4.3609380111414 4.59894355382938 4.30782232362741 4.32250753375833 4.46849458874459 4.30926733407078 4.40953096732358 4.39392788782427 4.31135126543917 4.29690558024351 4.48528783865235 4.41786112912017 4.41647682420998 4.40846992121263 4.43815764397694 4.45439803819805 4.40319900696733 4.40080879326349 4.39216642284918 4.36860649350649 4.32595473118419 4.33727567154542 4.45106101418048 4.40866773699154 4.29356213506757 4.47348986934801 4.25648585195137 4.37875365865848 4.52587277167277 4.32582120820929 4.46536786240579 4.41504488131169 4.33859337234167 4.44626571342462 4.35666013071895 4.39578573827937 4.40363092868319 4.51717620925642 4.34838056826614 4.36185308726361 4.45776821886266 4.2710028184376 4.44102473712791 4.39363827838828 4.46580366866946 4.40361395763607 4.44916991954469 4.36701800127169 4.36290172350224 4.53239574648194 4.32595148555149 4.43621067888977 4.43185575127093 4.40006880621286 4.28823190477487 4.45502417792551 4.29480959954024 4.37388347801115 4.32874664054432 4.30901093295449 4.41550971488903 4.37595905856596 4.37547666093085 4.39124866321418 4.52099111310763 4.48978661663256 4.38944786521928 4.41060526883381 4.46057259130476 4.28127922077922 4.38393329798296 4.3783769139299 4.31902035200006 4.49292475635631 4.45920222715138 4.35115152013819
Wave3 employment 4.24848492427685 3.99118256066003 4.21984597397689 4.12199896783772 4.19525462740302 4.05569049736333 4.09306080283353 4.29269757461144 4.24737106328015 4.09570875159399 4.21155762476517 4.21562779706944 4.27653230915426 4.1675912471367 3.92740401622442 4.04302557346036 4.20261405177664 4.33260318113259 4.04964551054502 4.16903990262366 4.25848188872843 4.08447354041537 4.21125454913992 4.33388509350321 4.34746195723468 4.17021941991955 4.19906083164148 4.10227272727273 3.84660602119636 4.16181299108415 4.16326604300492 3.98062770562771 4.0887918405705 4.23777517395164 4.32362310593064 4.17576566996296 4.22954053300494 4.22826048323986 4.19439842278465 4.14815570477502 4.26635735998589 4.24107870584116 4.50506366726195 4.24520223652018 4.02715583987817 4.08285978303167 4.20909461833134 4.0818655542847 4.18709624367727 4.1698366571509 4.16884797530647 4.25075162680871 4.22274572631405 4.22334611993282 4.01935616633613 4.19770716313427 4.14209111047056 4.05535706997185 4.0580271878659 4.16813592127473 4.28100352762785 4.11960397000504 4.19922133221494 4.01221170678851 3.97509790847111 3.96114627535474 4.11337908717969 4.03510443936827 4.04970291351068 4.11605574377313 4.09674234619367 3.96499666999667 4.07323081270126 4.15870133220752 3.93629387201988 4.31719289164941 4.04096474368684 3.95378886290505 4.13869827731384 4.0408893557423 4.20856435146035 4.22243831432748 4.17409441020982 4.11994585489253 4.16819288383587 4.05377612835123 4.10530692505463 4.20879424049281 4.03469067589302 4.053074823727 4.02412075225479 4.02480050868423 4.40238162491514 4.20070659842885 4.2212954907931 4.03307096943461 4.19185919879494 4.00788553153386 4.32067991406924 4.41741780946326 4.16391291836026 4.0048195456581 4.21149074148645 4.07591157994298 4.10076327860894 4.11897083163884 4.08944952012919 4.32904523635452 4.01270084753956 4.13630415204032 4.08715438035542 4.30209685404782 4.2916101351624 4.14063846724505 4.06889718019778 4.13819157966502 4.21513033278164 4.26083723100899 4.35706499410621 4.05035037783452 4.17683982683983 4.33235102019193 4.14339829211268 4.25973282432613 4.29595039426429 4.18262742328665
wave category sample1994_avgs sample_avg_1 sample_avg_2 sample_avg_3 sample_avg_4 sample_avg_5 sample_avg_6 sample_avg_7 sample_avg_8 sample_avg_9 sample_avg_10 sample_avg_11 sample_avg_12 sample_avg_13 sample_avg_14 sample_avg_15 sample_avg_16 sample_avg_17 sample_avg_18 sample_avg_19 sample_avg_20 sample_avg_21 sample_avg_22 sample_avg_23 sample_avg_24 sample_avg_25 sample_avg_26 sample_avg_27 sample_avg_28 sample_avg_29 sample_avg_30 sample_avg_31 sample_avg_32 sample_avg_33 sample_avg_34 sample_avg_35 sample_avg_36 sample_avg_37 sample_avg_38 sample_avg_39 sample_avg_40 sample_avg_41 sample_avg_42 sample_avg_43 sample_avg_44 sample_avg_45 sample_avg_46 sample_avg_47 sample_avg_48 sample_avg_49 sample_avg_50 sample_avg_51 sample_avg_52 sample_avg_53 sample_avg_54 sample_avg_55 sample_avg_56 sample_avg_57 sample_avg_58 sample_avg_59 sample_avg_60 sample_avg_61 sample_avg_62 sample_avg_63 sample_avg_64 sample_avg_65 sample_avg_66 sample_avg_67 sample_avg_68 sample_avg_69 sample_avg_70 sample_avg_71 sample_avg_72 sample_avg_73 sample_avg_74 sample_avg_75 sample_avg_76 sample_avg_77 sample_avg_78 sample_avg_79 sample_avg_80 sample_avg_81 sample_avg_82 sample_avg_83 sample_avg_84 sample_avg_85 sample_avg_86 sample_avg_87 sample_avg_88 sample_avg_89 sample_avg_90 sample_avg_91 sample_avg_92 sample_avg_93 sample_avg_94 sample_avg_95 sample_avg_96 sample_avg_97 sample_avg_98 sample_avg_99 sample_avg_100 NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA
Wave1 health 5.10162407210329 5.08295418847313 5.0955369388122 5.15635064968637 5.27155277100978 5.12860155463563 5.07534812899107 5.15927739808976 5.1728845863235 5.0813360045113 5.09842729721702 5.18928232038886 5.15691989144086 5.145321269628 5.01594955707093 5.21136903664763 5.16727724037672 5.27575905003918 5.22974006627256 5.11832722709445 5.04630265079029 5.20112779754238 5.23360000293368 5.09337526633088 5.1186713680525 5.15438155925961 5.25361046674003 5.05541184830678 5.12120465088359 5.011796435336 5.13268174185091 5.21184774482456 5.13177154168392 5.09671586149004 5.15761985749053 5.12894984623439 5.08210700573249 5.10615346366142 5.10634950943979 5.1906799950366 5.17495331306423 5.20830988049169 5.10117835790121 5.14812291951918 5.06979985748656 5.18436889111154 5.19146210436789 5.19299675678535 5.09504306727418 5.28518726972099 5.17419820209482 4.99677642326136 5.27973588157731 5.08865231379844 5.01206588225696 5.09429237268698 5.21401962892471 5.10500126007293 5.07850128776958 5.09327082972151 5.13694419587188 5.28753663446552 5.15906926540133 5.21870336442468 5.10558447813987 5.30441375291375 5.04523805000617 5.12531322293249 5.02000371742504 5.18779797810441 4.97807737156831 5.10447558540607 5.24797530847531 5.14823691445245 5.20335991466929 5.13224231273012 5.05280619828683 5.05860978356004 5.1023232911929 5.1341341204217 5.04241830458928 5.02459747869558 5.17765693886234 5.06712199722804 5.10151820703775 5.14567106529276 5.148281448887 5.10414969331467 5.12108681112455 5.15358389713151 5.30129681516778 5.1272542563768 5.07919948519949 5.08483155596092 5.02974756182073 5.1815263310964 5.15018097263415 5.10028985316485 5.0859566328094 5.28260343822844 5.21740856721336 5.08203455418016 5.1898801808917 5.13908565871091 5.21411343161343 5.13463549285435 5.15513356084037 5.18951215187388 5.15640799486021 5.18126127127931 5.04360084750606 5.20717549645565 5.22641572103462 5.37503274945576 5.11839887635981 5.35453184607031 5.14828137966127 5.2714264161787 5.20346343890599 5.09714021664781 5.21283632381157 5.20086888617938 5.22826149039242 5.21726313007135 5.21660385005634 5.17014760357446
Wave2 health 5.15239487202099 5.24774380933402 5.41528815441427 5.43543971029021 5.43167094935067 5.42122353093013 5.32914194478182 5.3717547820486 5.37312358516429 5.45341387198972 5.34898408780762 5.42894915182651 5.35453724777033 5.395814153207 5.28113235370784 5.3664737278297 5.49880546763787 5.6202274278739 5.53273122644681 5.33846102108814 5.3273186240796 5.51285038797341 5.37304547001765 5.22138717591373 5.36036748729743 5.44325241381951 5.2618157820587 5.45777209023848 5.35253507812619 5.18586758883898 5.40553330542665 5.50811656292425 5.29969400881011 5.17972660374161 5.41081979054712 5.37188199677659 5.23043930555652 5.32506554423106 5.38176686018668 5.43493205880474 5.42640049352616 5.61001229680841 5.29796165625971 5.27211059316453 5.46229554040484 5.42671398670814 5.45098907946037 5.51875924113853 5.49429728592646 5.34846040570764 5.38921701247636 5.35590307081269 5.31986603630908 5.45484445404203 5.37437961072435 5.4467470644176 5.38652233955878 5.32665860387947 5.42424142342175 5.40735088075986 5.45590573217383 5.54498298469916 5.4504368009012 5.31725869612059 5.31366581045374 5.45223024244871 5.45156058206456 5.46853859213791 5.41429257674541 5.25334446126899 5.29436436738366 5.31030436607022 5.39604194862027 5.2887563077831 5.32344509998198 5.52863021968285 5.30824148973641 5.35548244543758 5.38546686012268 5.3962744080696 5.39736924993335 5.34911453724713 5.45747165526895 5.43249007358186 5.44039751187135 5.41094794617204 5.45220064962248 5.44786235959341 5.41977030637193 5.45943494393835 5.44401008827238 5.31843646924827 5.40880468618842 5.44073249725792 5.4956681495143 5.43170163704093 5.53308798674886 5.42120435466325 5.41159239195132 5.34959472269841 5.48389608966532 5.41664213315389 5.3963142573361 5.36996618618355 5.54132804082626 5.37884494037036 5.46266110793774 5.31235431235431 5.33921130482925 5.42158366262617 5.28923204924768 5.47573611300631 5.35346248564574 5.37246523591351 5.34153183119937 5.54385046726014 5.43574350022493 5.45948641522412 5.36261781221021 5.30327215519523 5.54381415952659 5.25867860986248 5.3394995036252 5.25783681484846 5.6014793033618 5.43527052775839
Wave3 health 5.13171112119377 5.21593862825127 5.21832519438355 5.29510135833327 5.28733860002978 5.1753955458345 5.23786506477879 5.21765527269413 5.22974636329556 5.24901704546704 5.21308899021422 5.1556036607144 5.08392393367208 5.26138006054706 5.10539120911522 5.23267796391531 5.32162972167228 5.37209659166274 5.36334328814675 5.4244155890025 5.32858639252764 5.41953353368928 5.36886705976408 5.3277700142859 5.24454905474642 5.46230299533138 5.2653408270752 5.30111457833684 5.26978660728503 5.10331655600008 5.38681049647742 5.29752618329465 5.20346160636664 5.14206914408696 5.26609174675402 5.11237379136665 5.35772843262846 5.07273762735756 5.33645853764847 5.27061495063453 5.4307666551889 5.12789013360792 5.36971515933232 5.19769972963006 5.47509768757261 5.21034624852121 5.06799776344264 5.24660776537676 5.35261435915916 5.28597089957035 4.99326487369699 5.09589738906248 5.2902938152319 5.31308770194869 5.2926459249821 5.23536587493034 5.26766506766507 5.13700650515809 5.14265138866792 5.36752317898257 5.07845363444804 5.41763349729254 5.29796642617462 5.26073016045408 5.34770535926339 5.20705647605251 5.22520503873915 5.26192602627521 5.32452045601026 5.2648606386626 5.09841519355658 5.20859231346542 5.23127120454939 5.18223395537214 5.04219796661544 5.28202304411096 5.26299739785635 5.23231402851689 5.40728554180095 5.20433988057924 5.29882196176133 5.24058009852523 5.19832282375466 5.13839796896783 5.28803520528083 5.37154292987576 5.18141483141483 5.39360190333263 5.13091037252221 5.29624555200952 5.4184784993293 5.37585735730416 5.24122336131542 5.2018750714214 5.30647418240047 5.1518839507377 5.27137082483721 4.97583943833944 5.35807991017497 5.23372671594514 5.16585080104523 5.20174253240195 5.35211182478105 5.21035237938536 5.39105317069797 5.26497322479685 5.33366873023786 5.40987759698495 5.22201387787588 5.26184683523394 5.18292207767612 5.06610477567863 5.15688308940943 5.36511907718826 5.20082071918327 5.38305233229199 5.27313473221402 5.23044003930708 5.30396861455906 5.18282287085499 5.22219825245408 5.24874285666139 5.05192806671148 5.28454424812435 5.4160440408741 5.17628610440519
<html>
<head>
<meta charset="UTF-8">
<style>
body{
font-family:monospace;
margin:0;
}
div{
text-align: center;
margin:10px;
}
svg{
display:inline-block;
}
.tick, .majorTick{
font-size:12px;
font-family:monospace;
}
.line, .sample1994Line{
fill: none;
stroke-width: 2.5;
stroke:grey;
opacity:0.15;
}
.sample1994Line{
stroke:red;
opacity:1;
}
.yAxis line, .xAxis line{
stroke-width:1;
stroke-dasharray: 3;
stroke: silver;
}
.chart-title{
text-anchor: middle;
font-size: 14px;
}
a{
color:black;
}
a:visited{
color:black;
}
#footer{
background-color:gold;
margin:auto;
/* width:100vw; */
height: 25px;
padding: 20px 10%;
vertical-align: middle;
font-size:11px;
line-height:20px;
text-align: center;
}
.questions{
display:inline-block;
width:35%;
text-align: left;
vertical-align: top;
line-height:18px;
margin-left:25px;
margin-right:25px;
}
.questions li {
padding-bottom:8px;
}
.demo-line{
fill:none;
stroke:black;
stroke-width:2px;
}
.majorTick line{
stroke:red;
stroke-dasharray: none;
}
.bar{
fill: grey;
}
.demo-container{
display: inline-block;
}
.demo-description{
display: inline-block;
width:20%;
text-align: left;
vertical-align: top;
padding-top:10%;
}
.intro{
width:80%;
/* height:80%; */
text-align: center;
padding: 0 10% 3% 20%;
/* background-color: gold; */
margin:0;
}
.intro-section{
width:45%;
padding: 10% 0 0 0;
/* display: inline-block; */
text-align:left;
vertical-align: top;
font-size:16px;
line-height:22px;
}
.intro-section p {
margin-bottom: 30px;
}
</style>
</head>
<body>
<script src="https://d3js.org/d3.v5.min.js"></script>
<script src="script.js"></script>
<div class="intro">
<div class="intro-section">
<h2>The Dataset</h2>
<p>UM's <a href="https://www.icpsr.umich.edu/icpsrweb/NAHDAP/studies/4690/summary" target="new">American's Changing Lives (ACL)</a> survey series is an ongoing, national longitudinal study that covers a wide range of sociological, psychological, mental, and physical health items. I chose this dataset for its depth and breadth, because I wanted to answer a nebulous question: what factors contribute to the onset of depression? Having recently read Johann Hari's book, <i>Lost Connections</i>, I wanted to see if data could back up his claim that depression isn't a biochemical issue, but instead triggered by the isolation caused by social issues, specifically fractured community structure and Western society's increasing conflation of status with purpose.<br></p><br>
<h2>Descriptive Statistics</h2>
<p>After weeks of struggling with R and factor data types, I was able to produce some "descriptive statistics" charts for the midterm. Selections are reproduced below:</p>
</div>
</div>
<div id="chart">
<div id="percent_ever_depressed-container" class="demo-container">
<svg id="proportion_depressed"></svg>
<div class="demo-description">Percentage of each wave's active population that responded to feeling depressed "most of the time". Together, this subset comprised of 482 people out of 3617.</div>
</div>
<div id="proportion_gender_depressed-container" class="demo-container">
<svg id="proportion_gender_depressed"></svg>
<div class="demo-description">More women participated in the study overall, but among the 482 people who reported feeling depressed at any time throughout the study, there was still proportionally more women.</div>
</div>
<!-- <div id="proportion_age_depressed-container" class="demo-container">
<svg id="proportion_age_depressed"></svg>
<div class="demo-description">These age buckets are from the first wave, in 1986. </div>
</div> -->
<div id="proportion_education_depressed-container" class="demo-container">
<svg id="proportion_education_depressed"></svg>
<div class="demo-description">This question surveyed number of years spent in school; a higher percentage of respondents who had no education were also depressed.</div>
</div>
<!-- <div id="proportion_income_depressed-container" class="demo-container">
<svg id="proportion_income_depressed"></svg>
</div> -->
<div id="first_reported_depression-container" class="demo-container">
<svg id="first_reported_depression"></svg>
<div class="demo-description">My original goal was to see what factors contributed to the onset of depression, so I needed a sample that became depressed later on in the study. Unfortunately, the vast majority of an already small subset of depressed respondents came into the study depressed, but Yoav said that the 75 respondents in Wave 3 were perfectly acceptable.</div>
</div>
<div id="proportion_age_depressed_1994-container" class="demo-container">
<svg id="proportion_age_depressed_1994"></svg>
<div class="demo-description">Within this subset of 75, there was a higher incidence of depression in the 45-54 and 75+ age buckets proportional to the overall active population.</div>
</div>
<div id="proportion_income_depressed_1994-container" class="demo-container">
<svg id="proportion_income_depressed_1994"></svg>
<div class="demo-description">Within this subset of 75, those with lower incomes were also disproportionately depressed. These income brackets were created from figures reported in 1994.</div>
</div>
<div class="intro">
<div class="intro-section">
<h2>Bootstrapping</h2>
<p>After the midterm, I spoke with Yoav about next steps. He introduced me to practice of "bootstrapping", telling me to:
<ol>
<li>calculate mean scores for relevant categories of survey questions for the 1994 sample for each wave leading up to Wave 3, </li>
<li>calculate the deltas across waves for each category, </li>
<li>repeat this process for 100 randomly selected samples from the overall population, and</li>
<li>compare the results.</li>
</ol>
</p>
<p>The survey questions seemed to be coded pretty consistently, with lower factor levels corresponding to "positive" responses and increasing to "negative" responses. However, the factor levels ranged from 2 to something like 48, so Yoav taught me how to convert them all to the same scale. As for the categories, I chose the following to look at:
<ul>
<li>Activities of Daily Life</li>
<li>Paid Employment</li>
<li>Reflections on One's Life</li>
<li>Self-Description</li>
<li>Activities of Daily Life</li>
<li>Social Support</li>
<li>Voluntary Activity</li>
<li>Health and Limitation of Activities</li>
<li>Life Events</li>
<li>World Views and Religion</li>
</ul>
<!-- </p>
<p>With all this prepped, it was time to write some code. Being a R newbie, I didn't know any fancy tricks, so my first stab looked like this:</p>
<p>
<img src="https://raw.githubusercontent.com/EDSP19/edsp2019project-xujenna/master/final_presentation/lol.png?token=ADFKLUROABMV2XYTD7HHA327IVA4Q" width="100%">
</p>
<p>
Unsurprisingly, R didn't like this and chose to act erratically instead... so I took Kaushik up on his offer for R help. After sitting down with him for barely more than an hour, he made more progress than I did the entire semester. Guess which one of us went to art school?
</p>
<p>
Basically, what he had helped me do was to calculate the mean scores for each category for the 1994 sample, from Wave 1-3, then organized it into a tidy data frame:
</p>
<p>
<img src="https://raw.githubusercontent.com/EDSP19/edsp2019project-xujenna/master/final_presentation/kaushik.png?token=ADFKLUT72FUPX5CBA2KWKU27IVAZW" width= "100%">
</p>
<p>
So after Kaushik bailed me out of the hell I made for myself, I functionalized what he'd done so that I could apply it 100 more random samples. Being sick and tired of my own ineffectiveness with R at this point, I exported the results to csv's for visualization below:
</p> -->
</div>
</div>
<div id="activities-container">
<svg id="activities"></svg>
<div class="questions">
<ul>
<h3>Activities of Daily Life</h3>
<li>About how many times do you talk on the phone with friends, neighbors, or relatives?</li>
<li>How often do you get together with friends, neighbors, or relatives and do things like go out together or visit in each other's homes?</li>
<li>How often do you attend meetings or programs of groups, clubs, or organizations that you belong to?</li>
<li>How often do you typically work in the garden or yard?</li>
<li>How often do you engage in active sports or exercise?</li>
<li>How often do you take walks?</li>
</ul>
</div>
</div>
<div id="employment-container">
<svg id="employment"></svg>
<div class="questions">
<ul>
<h3>Paid Employment</h3>
<li>Are you self-employed, or do you work for a private employer, or a municipal, county, state, or federal government?</li>
<li>Do you supervise others on your job?</li>
<li>How much do you enjoy doing that work?</li>
<li>How satisfied are you with your job?</li>
<li>Aside from the money, are you yourself better off because of your work on this job?</li>
<li>Are there other people who are better off because of your work on this job?</li>
<li>In addition to your main job, do you have another regular job for which are you paid?</li>
<li>How likely is it that during the next couple of years you will involuntarily lose your main job?</li>
<li>How much do you agree? I have very little chance to decide how I do my work.</li>
<li>How much do you agree? I get to do a variety of different things in my work.</li>
<li>How much do you agree? I have a lot to say about what happen in my work.</li>
<li>How much do you agree? I am bored with my work.</li>
<li>How much do you agree? I am not appreciate for the work I do.</li>
</ul>
</div>
</div>
<div id="reflections-container">
<svg id="reflections"></svg>
<div class="questions">
<ul>
<h3>Reflections on One's Life</h3>
<li>How satisfied are you with your life as a whole?</li>
<li>How much do you agree? My life could be happier than it is now.</li>
<li>How much do you agree? These are the best years of my life.</li>
<li>How much do you agree? As I look back on my life I am fairly well satisfied.</li>
<li>How much do you agree? I would not change my past life even if I could.</li>
<li>How much do you agree? Life is not worth living if one cannot contribute to the well-being of other people.</li>
<li>How much do you agree? I take a positive attitude toward myself.</li>
<li>How much do you agree? At times I think I am no good at all.</li>
<li>How much do you agree? All in all, I am inclined to feel that I am a failure.</li>
<li>How much do you agree? I can do just about anything I really set my mind to do.</li>
<li>How much do you agree? Sometimes I feel that I am being pushed around in life.</li>
<li>How much do you agree? There is really no way I can solve the problems I have.</li>
</ul>
</div>
</div>
<div id="selfDescript-container">
<svg id="selfDescript"></svg>
<div class="questions">
<ul>
<h3>Self Description</h3>
<li>During the past week, how often did you feel depressed?</li>
<li>During the past week, how often did everything you did feel like an effort?</li>
<li>During the past week, how often did you feel that there were people who really understood you?</li>
<li>During the past week, how often was your sleep restless?</li>
<li>During the past week, how often did you feel happy?</li>
<li>During the past week, how often did you feel lonely?</li>
<li>During the past week, how often did you feel that no one really knows you well?</li>
<li>During the past week, how often did you enjoy life?</li>
<li>Have you ever had a time in your life that lasted an entire week or more when you felt sad, blue or depressed most of the time, or when you lost all interest and pleasure in things you usually care about or enjoy?</li>
<li>Are you a talkative person?</li>
<li>Are you a worrier?</li>
<li>Are you the type of person who plans for the future?</li>
<li>Have you usually felt pretty sure your life would work out the way you want it to, or have there been times when you haven't been sure about it?</li>
</ul>
</div>
</div>
<div id="social-container">
<svg id="social"></svg>
<div class="questions">
<ul>
<h3>Social Support</h3>
<li>Are you currently married, separated, divorced, widowed or have you never been married?</li>
<li>How much does your partner make you feel loved and cared for?</li>
<li>How much do you feel your partner makes too many demands on you?</li>
<li>How much is your partner critical of you or what you do?</li>
<li>How much do your children make you feel loved and cared for?</li>
<li>At this point in your life, how satisfied are you with being a parent?</li>
<li>How happy are you with the way your children have turn out to this point?</li>
<li>During the past 12 months, how often did you have contact with your mother, by phone or mail?</li>
<li>On the whole, how much do your friend and other relatives make you feel loved and cared for?</li>
<li>How much are these friends and relatives willing to listen when you need to talk about your worries or problems?</li>
<li>Is there anyone in your life with whom you can really share your very private feelings and concerns?</li>
<li>How many of your close family or friends are close to each other in the same way?</li>
</ul>
</div>
</div>
<div id="volunteering-container">
<svg id="volunteering"></svg>
<div class="questions">
<ul>
<h3>Voluntary Activity</h3>
<li>Did you do volunteer work in the last year for a church, synagogue or other religious organization?</li>
<li>Did you do volunteer work in the last year for a political group or labor union in the last 12 months?</li>
<li>About how many hours did you spend on volunteer work during the last 12 months?</li>
<li>How much did you enjoy doing that volunteer work?</li>
<li>How satisfied were you with the results of your volunteer work?</li>
<li>Are you better off because of your volunteer work?</li>
<li>Are there other people who are better off because of your volunteer work?</li>
<li>Did you do any other things in the last 12 months to help neighbors, friends or relatives who did not live with you?</li>
<li>Are you better off because of your help to friends, neighbors, and relatives?</li>
<li>Would you have liked to do more of that kind of unpaid work?</li>
</ul>
</div>
</div>
</div>
<div id="health-container">
<svg id="health"></svg>
<div class="questions">
<ul>
<h3>Health and Limitation of Activities</h3>
<li>In general, how satisfied are you with your health?</li>
<li>Do you wear a hearing aid?</li>
<li>Are you currently in bed or in a chair for most or all of the day because of your health?</li>
<li>Do you currently have any difficulty walking several blocks because of your health?</li>
<li>Are you able to get to any place you want to go?</li>
<li>How would you rate your health at the present time?</li>
<li>How much are your daily activities limited in any way by your health or health-related problems?</li>
<li>During the past 3 months have you seen somebody for a personal or mental problem?</li>
<li>How often does someone remind you to do things while will help you stay healthy?</li>
<li>Do you smoke cigarettes now?</li>
</ul>
</div>
</div>
<div id="life-container">
<svg id="life"></svg>
<div class="questions">
<ul>
<h3>Life Events</h3>
<li>Have you ever been the victim of a serious physical attack or assualt at any time in your life?</li>
<li>Did you have any serious illness or accidental injury that occurred or got worse in the last three years?</li>
<li>Have you moved to a new residence during the past three years?</li>
<li>In the last three years, have you involuntarily lost a job for reasons other than retirement?</li>
<li>In the last three years, were you robbed or was your home burglarized?</li>
<li>Are you currently involved in helping someone like this by caring for them directly or arranging for their care by others?</li>
</ul>
</div>
</div>
<div id="views_religion-container">
<svg id="views_religion"></svg>
<div class="questions">
<ul>
<h3>World Views and Religion</h3>
The higher the score, the less religious/spiritual.
<li>How much do you agree? When bad things happen, we are not supposed to know why. We are just supposed to accept them.</li>
<li>How much do you agree? People die when it is their time to die, and nothing can change that.</li>
<li>How much do you agree? Everything that happens is a part of God's plan.</li>
<li>How much do you agree? By and large, people deserve what they get.</li>
<li>How much do you agree? In the long run good people will be rewarded for the good things they have done.</li>
<li>How much do you agree? Because I worked hard and sacrificed in the past, I am entitled to good things in my future.</li>
<li>In general, how important are religious or spiritual beliefs in your day-to-day life?</li>
<li>When you have problems or difficulties in your work, family or personal life, how often do you seek spiritual comfort and support?</li>
<li>Some people believe that people simply stop existing after death while others believe in an afterlife. Which comes closest to what you believe?</li>
</ul>
</div>
</div>
</body>
</html>
wave category sample1994_avgs sample_avg_1 sample_avg_2 sample_avg_3 sample_avg_4 sample_avg_5 sample_avg_6 sample_avg_7 sample_avg_8 sample_avg_9 sample_avg_10 sample_avg_11 sample_avg_12 sample_avg_13 sample_avg_14 sample_avg_15 sample_avg_16 sample_avg_17 sample_avg_18 sample_avg_19 sample_avg_20 sample_avg_21 sample_avg_22 sample_avg_23 sample_avg_24 sample_avg_25 sample_avg_26 sample_avg_27 sample_avg_28 sample_avg_29 sample_avg_30 sample_avg_31 sample_avg_32 sample_avg_33 sample_avg_34 sample_avg_35 sample_avg_36 sample_avg_37 sample_avg_38 sample_avg_39 sample_avg_40 sample_avg_41 sample_avg_42 sample_avg_43 sample_avg_44 sample_avg_45 sample_avg_46 sample_avg_47 sample_avg_48 sample_avg_49 sample_avg_50 sample_avg_51 sample_avg_52 sample_avg_53 sample_avg_54 sample_avg_55 sample_avg_56 sample_avg_57 sample_avg_58 sample_avg_59 sample_avg_60 sample_avg_61 sample_avg_62 sample_avg_63 sample_avg_64 sample_avg_65 sample_avg_66 sample_avg_67 sample_avg_68 sample_avg_69 sample_avg_70 sample_avg_71 sample_avg_72 sample_avg_73 sample_avg_74 sample_avg_75 sample_avg_76 sample_avg_77 sample_avg_78 sample_avg_79 sample_avg_80 sample_avg_81 sample_avg_82 sample_avg_83 sample_avg_84 sample_avg_85 sample_avg_86 sample_avg_87 sample_avg_88 sample_avg_89 sample_avg_90 sample_avg_91 sample_avg_92 sample_avg_93 sample_avg_94 sample_avg_95 sample_avg_96 sample_avg_97 sample_avg_98 sample_avg_99 sample_avg_100 NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA
Wave1 life 4.23454477889261 4.27272065380313 4.34993709189361 4.22208177727359 4.44854688369811 4.24971306471306 4.28117547911026 4.26483752057122 4.40562029008806 4.24355424514463 4.39083708248714 4.33233590029121 4.28749003044844 4.24824680277769 4.23270723640289 4.45436337958717 4.23909843779409 4.39663395973465 4.06882803187151 4.29209158920198 4.42879446640316 4.41359805145274 4.5935797591016 4.33861964884848 4.37447919810646 4.34295280167403 4.18762779440162 4.26542819499341 4.46752615670774 4.31925287019109 4.22846481769953 4.32006597267467 4.23460656755553 4.33275125840343 4.44735007914103 4.34805288913985 4.43193557284014 4.52866010694335 4.16556740361088 4.24256578885735 4.32592203898051 4.43117322291235 4.36273040968693 4.38371179545093 4.14447204968944 4.47041763082044 4.34676135742632 4.46170948616601 4.33351245372984 4.38231549141396 4.22278146973799 4.43030562843139 4.38612686195066 4.24358911619781 4.40116450636787 4.32772982802561 4.34390759689685 4.37757757729625 4.19112375547158 4.34283267457181 4.35231238504694 4.37894171046345 4.45228586948267 4.34058031908416 4.39334049378473 4.36862971530573 4.34751350353181 4.50286037633864 4.42570267896355 4.4472519729213 4.3202856925683 4.32111942522181 4.44991305028117 4.15299154951329 4.25013701132627 4.17080268916252 4.45268626807196 4.2508756702235 4.23402832674572 4.37144268774704 4.49260869565217 4.28539808018069 4.18506587615283 4.39533488565625 4.15816191252809 4.19326070065201 4.26181224004753 4.31556064073227 4.30591460535396 4.25043521979583 4.38746748420661 4.41966585121761 4.78760765804244 4.3789277789335 4.32827192415428 4.3567004467691 4.40322291235335 3.97569716096879 4.37486993682646 4.52672423910276 4.44951695227688 4.3279620620925 4.28842977007737 4.40566597653554 4.26084555414075 4.17072851534099 4.28383447680234 4.05570675701111 4.18901019524589 4.25003755448283 4.33145557094351 4.31358587703856 4.3963768115942 4.28219731749032 4.4846011760334 4.37284616349834 4.34341386454335 4.26774001360958 4.23377126496692 4.16809199624653 4.28706814924206 4.34666073057377 4.36273764455086 4.17514881254012 4.21423913043478 4.2308519982433
Wave2 life 4.593831989405 4.46784722222222 4.43190362057639 4.3689929684272 4.77298821158095 4.90441599092101 4.51150260760256 4.40938379114395 4.5160583295046 4.61895324262714 4.63481406507722 4.55872086372086 4.52927977220045 4.29600126692797 4.65594011254301 4.83753288552666 4.2971711168764 4.48221304773353 4.29743614453873 4.3567306935951 4.45948766670389 4.69383488243782 4.62249402711268 4.47365377003436 4.70768404644783 4.53200832241502 4.53152014563498 4.5407965572197 4.48531438136701 4.53748865630514 4.43713103417051 4.68510500623177 4.5097368383732 4.61248287341589 4.44718824351177 4.42776404220341 4.64560624392519 4.60549472752463 4.54863027130897 4.42913101603698 4.2918214152679 4.64393113482691 4.58198568098568 4.57831662271317 4.64279041208248 4.28889915414875 4.41720033947696 4.5923192161199 4.47092784666314 4.53935794991398 4.65106052097413 4.59635747706161 4.43228464597844 4.3856271954054 4.41083187169749 4.49163122538123 4.64790148256294 4.67251876843234 4.58356506102562 4.34146845345862 4.43535021788192 4.64300406122566 4.51526746526747 4.54596162139568 4.50735041688989 4.48745258878187 4.50823728496777 4.56326160548662 4.78118728816403 4.65918697423148 4.64081019321896 4.39733571835739 4.70002134746067 4.42447387819412 4.58322675014088 4.507503211944 4.44187489525327 4.69417830055057 4.50405592596976 4.71206528385099 4.63021684530159 4.64052781056309 4.46668504708759 4.69074485860301 4.56970728510458 4.79445616590053 4.56966274511032 4.74363611026812 4.44385270116173 4.54945697577276 4.55563958413641 4.70739226113558 4.62947184027527 4.80817855040821 4.69154921765365 4.63567387809323 4.22141649886462 4.83776876710678 4.36106369296687 4.61419458813837 4.25819054601313 4.54820128231994 4.41293692548992 4.80886125283447 4.50307647968387 4.51555179436535 4.5230948808991 4.18753334836102 4.65642075633309 4.76868887691256 4.99579393716579 4.48046424381152 4.19769320063438 4.72510007385234 4.55175333355225 4.68548162724812 4.41552814970379 4.52935309765193 4.37450239289484 4.60645858770859 4.45163395163395 4.55353433577118 4.37648223782695 4.6505145009148 4.3735877747758 4.63980222247007
Wave3 life 4.57089271089271 4.78001145912911 5.17484848484848 5.10653243611734 5.18658074505532 5.31840995757142 5.37666510605382 4.79780543859275 5.22512575144154 5.13719968710535 4.65590491379965 5.82267634326458 5.10814855875832 4.96898799313894 4.9895008912656 4.91002415458937 5.05244171033645 4.94383329089211 5.22305126739089 4.91387589683044 4.86753246753247 5.19960735580682 4.98308557270821 5.38904316271963 5.0110619178801 5.15870135746606 4.85938267401144 4.91988321755764 5.14111825281637 5.2093716759431 5.0899419729207 4.97500243072436 4.79295270332504 5.31493877469487 5.22559830107 5.01325024910615 5.1212715389186 5.4533316035288 5.04181818181818 5.07166102701493 5.22352472089314 4.69376018246986 5.17147504456328 5.09410752450052 5.06744380662876 5.10966810966811 5.04053544494721 5.2035187035187 4.9053050722862 5.1484477124183 5.35976614747379 5.15013493000506 4.77665226929933 5.21489955808828 5.22157205539559 5.15066212494024 5.06055808114127 4.75877024873635 4.90152205582828 4.98143025805363 4.90608556223651 5.58029505582137 4.81070940553699 5.33735764235764 5.18519740217853 4.82168367346939 5.09700466200466 4.97444794828294 5.03500936606527 4.96229946524064 5.07412180814355 5.04997383568812 5.66559472273758 5.25378787878788 4.69683356475809 5.64972789115646 5.24794361417569 5.18330701977761 4.7888480145132 5.01254689056913 5.24895748387575 5.09465418302628 4.62792758089368 4.93337101720464 5.30088578088578 4.76875822590108 5.14288961038961 5.26068922305764 5.16752022155794 4.82573211102623 5.1563165258665 5.15292926305349 4.86982759410185 5.34188282517123 5.04878304319794 5.3306746031746 4.7826643944291 5.09415600086188 4.92927698944852 4.7868423026191 4.9649778071856 4.8211124229306 5.28201365529839 5.18725501770956 4.98273113500719 4.94049053277017 5.17828462275289 5.29995820271682 4.98456202888021 4.96874056176382 5.08877589915326 4.83597477870508 4.74327754488467 4.84918162645435 5.2828305785124 5.53326833125595 5.08626765391471 4.71753010295027 4.9483065673822 5.23632641356664 4.78713691070834 5.09682856652996 5.30420683090494 5.58959595959596 4.90460448642267 5.04972467934542
wave category sample1994_avgs sample_avg_1 sample_avg_2 sample_avg_3 sample_avg_4 sample_avg_5 sample_avg_6 sample_avg_7 sample_avg_8 sample_avg_9 sample_avg_10 sample_avg_11 sample_avg_12 sample_avg_13 sample_avg_14 sample_avg_15 sample_avg_16 sample_avg_17 sample_avg_18 sample_avg_19 sample_avg_20 sample_avg_21 sample_avg_22 sample_avg_23 sample_avg_24 sample_avg_25 sample_avg_26 sample_avg_27 sample_avg_28 sample_avg_29 sample_avg_30 sample_avg_31 sample_avg_32 sample_avg_33 sample_avg_34 sample_avg_35 sample_avg_36 sample_avg_37 sample_avg_38 sample_avg_39 sample_avg_40 sample_avg_41 sample_avg_42 sample_avg_43 sample_avg_44 sample_avg_45 sample_avg_46 sample_avg_47 sample_avg_48 sample_avg_49 sample_avg_50 sample_avg_51 sample_avg_52 sample_avg_53 sample_avg_54 sample_avg_55 sample_avg_56 sample_avg_57 sample_avg_58 sample_avg_59 sample_avg_60 sample_avg_61 sample_avg_62 sample_avg_63 sample_avg_64 sample_avg_65 sample_avg_66 sample_avg_67 sample_avg_68 sample_avg_69 sample_avg_70 sample_avg_71 sample_avg_72 sample_avg_73 sample_avg_74 sample_avg_75 sample_avg_76 sample_avg_77 sample_avg_78 sample_avg_79 sample_avg_80 sample_avg_81 sample_avg_82 sample_avg_83 sample_avg_84 sample_avg_85 sample_avg_86 sample_avg_87 sample_avg_88 sample_avg_89 sample_avg_90 sample_avg_91 sample_avg_92 sample_avg_93 sample_avg_94 sample_avg_95 sample_avg_96 sample_avg_97 sample_avg_98 sample_avg_99 sample_avg_100 NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA
Wave1 reflections 3.32662438495673 3.44143272021713 3.39185375002528 3.47670704011383 3.41174794359577 3.41356887340932 3.27374308289139 3.52982340567735 3.21936841887408 3.36728815772294 3.39908276948777 3.33286571667592 3.41353767057643 3.30315124895384 3.35556928056705 3.4746866431649 3.38774182453928 3.46029103552629 3.43211184428576 3.39231771378287 3.32664920514831 3.38209753231492 3.37314537853737 3.33349143311366 3.33347836147643 3.44044266347944 3.3519232275754 3.39898457058192 3.39179048017642 3.44712555458019 3.44096331245512 3.36351433788003 3.33561095220246 3.39178208139753 3.4549958415831 3.36898452800627 3.3603133568351 3.32489791027186 3.30292727510119 3.43832984866145 3.40230097692873 3.42881968925447 3.38401728466337 3.45150584480626 3.3923384253819 3.33813440769962 3.32721290108758 3.40981364043557 3.36872023945877 3.3032852499611 3.44271854127125 3.55015757425603 3.38314564564565 3.35582396060657 3.39883332382141 3.4036513404411 3.29423439520521 3.45177718090762 3.30446197083999 3.39754181668267 3.38051703877791 3.41954458558985 3.3737570313017 3.46354923393637 3.45343517430474 3.50085871803279 3.40141515990043 3.52406512783523 3.39969200886414 3.36506602492904 3.36266798662868 3.32844295456862 3.4078732527006 3.35544369569214 3.40385428907168 3.43074832865529 3.34932633396586 3.40345433401045 3.41451123505624 3.41724125845801 3.39453943739658 3.4733803368586 3.40887084713172 3.44717377640532 3.50375841249858 3.37993481984141 3.3498991382687 3.41707109283196 3.29545394165432 3.47118697739148 3.44495293712685 3.42199066041726 3.45359523685631 3.30277830540487 3.35441091446212 3.39887234464959 3.38370740305523 3.35795223454544 3.42844487727752 3.27496331132549 3.36619111174255 3.32067439461498 3.33568958488213 3.49308314749876 3.50382868230397 3.34020119801668 3.42680190487971 3.39427865081037 3.33448414734391 3.45673497550776 3.30261534911922 3.31286515885175 3.40965427971006 3.42714568563288 3.42623422138908 3.48368655731372 3.27676394679373 3.44197124291824 3.3750006390976 3.40698198198198 3.37356746561928 3.40479417561014 3.44423756096776 3.40348609479044 3.43749640689784 3.48488584474886
Wave2 reflections 3.47581589808987 3.72595238095238 3.67259816207185 3.84088724366884 3.76847847262809 3.71986359761296 3.81510664551384 3.74005394449346 3.68202764976959 3.70980025822131 3.79172999839667 3.71394398752889 3.62602339181287 3.81063161375661 3.73060378218273 3.87057874571486 3.74696511393426 3.72038750073838 3.88545941123996 3.762155334762 3.68538011695906 3.74383644050487 3.73747961798276 3.62517976276906 3.81364163614164 3.78473588342441 3.7266081871345 3.6316384180791 3.67859938052429 3.77326505919972 3.83329813976873 3.87507295173962 3.72074680368601 3.58976430976431 3.89608286252354 3.59445609131144 3.80338797814208 3.74544205340939 3.74673680109098 3.67898434963309 3.792594192695 3.63483931824096 3.68594035594036 3.91932016270794 3.85479030439369 3.69222222222222 3.7363615267124 3.87111346142547 3.8253519320186 3.67978142076503 3.71626729008377 3.80650691603351 3.766781164874 3.69854404001111 3.76323175462521 3.78571121517662 3.77066276803119 3.71761050785936 3.79338087740422 3.54888082274652 3.88563134978229 3.79224396263 3.80954839856313 3.74539202347606 3.72169666590719 3.86888341543514 3.66559790280298 3.75731476584993 3.77566778900112 3.88146623467378 3.80463443963444 3.68422586520947 3.6889077212806 3.84484735547665 3.69409722222222 3.78416875522139 3.79218855218855 3.7161581920904 3.75036463652816 3.70960451977401 3.73042161658514 3.73775641025641 3.7686252354049 3.66728362418473 3.68512360679607 3.59964932787843 3.81566502911313 3.80674902745078 3.63424077434967 3.73878560036455 3.76364298724954 3.78666566113625 3.83689265536723 3.73039548022599 3.87222836329755 3.80341858818855 3.63822790281251 3.77416817906836 3.52054644808743 3.57159555815313 3.81121212121212 3.80971267407016 3.69813150008814 3.67815806878307 3.91804143126177 3.87855055523086 3.79552698227158 3.80621266427718 3.78917557384597 3.76066378066378 3.73460291202227 3.77134870719776 3.70406038255465 3.83557168784029 3.79222222222222 3.80915643872979 3.66431131592422 3.8238342068199 3.73044733044733 3.71205627705628 3.80392558457075 3.87253668763103 3.81336963097399 3.64402732340027 3.7579583089811 3.72059458992308
Wave3 reflections 4.0224024024024 3.91219549799568 4.08492500765228 4.26162956091528 4.0857156470364 4.08008658008658 4.11496786042241 4.08145157005473 4.16394145070616 4.00571428571429 3.93767867352773 3.98032545326414 3.98190020826414 4.07365491651206 4.17018006148441 4.23069828722003 3.90961501810558 4.03595365418895 4.15988257025993 4.00702728643905 4.21428571428571 4.16584802175257 4.04947299077734 4.05825821237586 3.98920017787942 4.17276437847866 3.94578231292517 4.08225108225108 4.11664368295464 4.05183616594822 3.99546248796943 3.92488521579431 4.13590449954086 4.01460551460551 4.12964615850298 4.0993188125473 4.04099967259631 3.997477827051 3.88203783531479 4.15909558029425 4.07326293235384 4.12195517273317 4.04966729038769 4.15892273688257 4.17438016528926 3.97044776618914 4.04133689839572 4.15373070325901 4.16769325912183 4.11359689330278 3.97302037286181 4.14316259850087 3.97455818691113 4.24274661508704 4.03598484848485 4.01088154269972 4.14375085698615 4.05311942959002 4.23150710123518 3.98325485296944 4.15630560928433 3.96694214876033 4.14038327687272 4.06541743970315 4.10247720332287 4.06958082567839 4.1621931989579 4.02573283858998 4.0624802027241 4.25274016763378 4.1919411506368 4.02884615384615 4.00100494743352 4.05207792207792 4.15463781501517 4.06706591607777 3.99592128500547 4.02041820924174 4.06100200612396 4.0376492194674 3.9519955654102 4.19173462196718 4.00294230874993 4.00679638526475 4.0078293135436 4.08154668860551 3.93572084481175 4.16485265169476 3.98090044205266 4.14800175669741 4.12202921095843 4.07831444326527 4.08163265306122 4.04730983302412 3.90055096418733 4.08702173247628 4.02342245989305 4.13677179962894 4.01363636363636 4.07317859445519 4.05320964749536 4.01528756957328 4.1114922813036 4.14441558441558 4.20768858800774 4.09090909090909 4.14850244095527 4.08574712245381 3.99425956396545 3.92826254084182 4.1348627787307 4.10132380224817 4.14096001644568 4.1169696969697 4.10937193395565 4.03201789806832 3.95016042780749 4.05056851076988 4.22443634126765 4.06675948366249 4.05708010960671 4.10580351021528 4.01953617810761 4.00307746062463 4.11484542393633 3.98105096584088
async function getData() {
let activities = await d3.csv("activities.csv")
let employment = await d3.csv("employment.csv")
let reflections = await d3.csv("reflections.csv")
let selfDescript = await d3.csv("self_description.csv")
let social = await d3.csv("social.csv")
let life = await d3.csv("life.csv")
let views_religion = await d3.csv("views_religion.csv")
let health = await d3.csv("health.csv")
let volunteering = await d3.csv("volunteering.csv")
let demographics = await d3.json("demographics.json")
return { activities, employment, reflections, selfDescript, social, life, views_religion, health, volunteering, demographics }
}
getData().then(function(data){
console.log(data)
let margin = {top:60, right:40, bottom:60, left: 40};
let bootstrapWidth = 350
let bootstrapeHeight = 650
let xScale = d3.scaleLinear()
.domain([1,3])
.range([margin.left, bootstrapWidth])
.nice()
let yScale = d3.scaleLinear()
.domain([0,7]) // filter after March 22
.range([bootstrapeHeight - margin.bottom, margin.top])
let xTicks = d3.axisBottom(xScale)
// .ticks(3)
.tickValues([1,2,3])
.tickPadding(10)
.tickFormat(d => {
if(d == 1){
return "1986"
}
else if (d==2){
return "1989"
}
else{
return "1994"
}
})
.tickSize(-(bootstrapeHeight-margin.top-margin.bottom))
let yTicks = d3.axisLeft(yScale)
.tickSize(-(bootstrapWidth-margin.right))
.ticks(7)
// .tickSizeOuter(0)
.tickPadding(10)
let xAxis = g => g
.attr("transform", "translate(0,"+(bootstrapeHeight-margin.bottom)+")") // move x axis to bottom of chart
.call(xTicks)
.call(g => g.select(".domain").remove()) // removes y axis line
.call(g => g.attr("class", "xAxis")); // gives class of .xAxis
// assemble y axis
let yAxis = g => g
.attr("transform", "translate("+margin.left+",0)") // enforces left margin
.call(yTicks)
.call(g => g.select(".domain").remove()) // removes y axis line
.call(g => g.selectAll(".tick:first-of-type text").remove())
.call(g => g.select(".tick:first-of-type line").remove()) // removes first y axis tick
.call(g => g.select(".tick:last-of-type line").remove()) // removes first y axis tick
.call(g => g.attr("class", "yAxis")); // gives class .yAxis
const line = d3.line()
.x(d => xScale(parseInt(Object.keys(d)[0])))
.y(d => yScale(parseFloat(d[Object.keys(d)[0]])))
let categories = Object.keys(data)
categories.pop()
console.log(categories)
categories.forEach(category => {
let chartSVG = d3.select("#"+category)
.attr("height", 650 + margin.top + margin.bottom + "px")
.attr("width", 350 + margin.right + margin.left + "px")
chartSVG.append("g")
.call(xAxis);
chartSVG.append("g")
.call(yAxis);
chartSVG.append("text")
.text(category)
.attr("y", 30)
.attr("x", (bootstrapWidth+margin.right)/2)
.attr("class", "chart-title")
for(var i = 0; i <= 100; i++){
let sampleName
if(i == 0){
sampleName = "sample1994_avgs"
}
else{
sampleName = "sample_avg_" + i
}
let currentSampleData = []
data[category].forEach((wave,i) => {
let waveData = {}
waveData[i+1] = +wave[sampleName]
currentSampleData.push(waveData)
})
chartSVG.append("path")
.datum(currentSampleData)
.attr("class", function(){
if(sampleName == "sample1994_avgs"){
return "sample1994Line";
}
else{
return "line";
}
})
.attr("d", line)
}
})
let sample1994Lines = d3.selectAll(".sample1994Line").nodes()
sample1994Lines.forEach(line =>{
line.parentElement.appendChild(line)
})
let demoKeys = Object.keys(data.demographics)
let waveToYear = {
"wave_1": "1986",
"wave_2": "1989",
"wave_3": "1994",
"wave_4": "2002",
"wave_5": "2011"
}
demoKeys.forEach(category => {
let currentData = data["demographics"][category]
let width = 600
let height = 400
let chartSVG = d3.select("#"+category)
.attr("height", height + margin.top + margin.bottom + "px")
.attr("width", width + margin.right + margin.left + "px")
let xLabels = Object.keys(currentData)
let yScale = d3.scaleLinear()
.domain([0,d3.max(Object.values(currentData))])
.range([height - margin.bottom, margin.top])
let yTicks = d3.axisLeft(yScale)
.tickSize(-(width-margin.right))
.tickPadding(10)
.ticks(4)
// assemble y axis
let yAxis = g => g
.attr("transform", "translate("+margin.left+",0)") // enforces left margin
.call(yTicks)
.call(g => g.select(".domain").remove()) // removes y axis line
.call(g => g.select(".tick:first-of-type text").remove()) // removes first y axis tick
.call(g => g.attr("class", "yAxis")); // gives class .yAxis
chartSVG.append("g")
.call(yAxis);
chartSVG.append("text")
.text(category.replace(/_/g, " "))
.attr("y", 30)
.attr("x", (width+margin.right)/2)
.attr("class", "chart-title")
if(xLabels[0].includes("wave")){
let xScale = d3.scalePoint()
.domain(Object.values(waveToYear))
.range([margin.left, width])
let xTicks = d3.axisBottom(xScale)
.ticks(xLabels.length)
.tickPadding(10)
.tickSize(-(height-margin.top-margin.bottom))
let xAxis = g => g
.attr("transform", "translate(0,"+(height-margin.bottom)+")") // move x axis to bottom of chart
.call(xTicks)
.call(g => g.select(".domain").remove()) // removes y axis line
.call(g => g.attr("class", "xAxis")); // gives class of .xAxis
chartSVG.append("g")
.call(xAxis);
let newData = []
xLabels.forEach(key => {
let wave = {}
wave["wave"] = waveToYear[key]
wave["val"] = currentData[key]
newData.push(wave)
})
console.log(newData)
const line = d3.line()
.x(d => xScale(d.wave))
.y(d => yScale(d.val))
chartSVG.append("path")
.datum(newData)
.attr("class", "demo-line")
.attr("d", line)
if(category == "first_reported_depression"){
chartSVG.append("circle")
.attr("cx", xScale("1994"))
.attr("cy", yScale(75))
.attr("fill", "black")
.attr("r", 4)
chartSVG.append("text")
.text("↓")
.attr("fill", "red")
.attr("font-size", 28)
.attr("text-anchor", "middle")
.attr("x", xScale("1994"))
.attr("y", yScale(90))
chartSVG.append("text")
.text("This is our sample")
.attr("fill", "red")
.attr("font-size", 13)
.attr("font-weight", "bold")
.attr("text-anchor", "middle")
.attr("x", xScale("1994"))
.attr("y", yScale(110))
}
}
else{
let xScale = d3.scaleBand()
.domain(xLabels)
.rangeRound([margin.left, width])
.padding(0.1)
let xTicks = d3.axisBottom(xScale)
.ticks(xLabels.length)
.tickPadding(10)
.tickSize(-(height-margin.top-margin.bottom))
let xAxis = g => g
.attr("transform", "translate(0,"+(height-margin.bottom)+")") // move x axis to bottom of chart
.call(xTicks)
.call(g => g.select(".domain").remove()) // removes y axis line
.call(g => g.attr("class", "xAxis")); // gives class of .xAxis
chartSVG.append("g")
.call(xAxis);
let newData = []
xLabels.forEach(key => {
let wave = {}
wave["key"] = key
wave["val"] = currentData[key]
newData.push(wave)
})
chartSVG.selectAll(".bar")
.data(newData)
.enter()
.append("rect")
.attr("x", d => xScale(d.key))
.attr("y", d => yScale(d.val))
.attr("height", d => height - margin.top - yScale(d.val))
.attr("width", xScale.bandwidth())
.attr("class", "bar")
}
// d3.select(".xAxis").parentElement.insertBefore(xAxis,d3.select(".xAxis").parentElement.firstChild)
})
})
wave category sample1994_avgs sample_avg_1 sample_avg_2 sample_avg_3 sample_avg_4 sample_avg_5 sample_avg_6 sample_avg_7 sample_avg_8 sample_avg_9 sample_avg_10 sample_avg_11 sample_avg_12 sample_avg_13 sample_avg_14 sample_avg_15 sample_avg_16 sample_avg_17 sample_avg_18 sample_avg_19 sample_avg_20 sample_avg_21 sample_avg_22 sample_avg_23 sample_avg_24 sample_avg_25 sample_avg_26 sample_avg_27 sample_avg_28 sample_avg_29 sample_avg_30 sample_avg_31 sample_avg_32 sample_avg_33 sample_avg_34 sample_avg_35 sample_avg_36 sample_avg_37 sample_avg_38 sample_avg_39 sample_avg_40 sample_avg_41 sample_avg_42 sample_avg_43 sample_avg_44 sample_avg_45 sample_avg_46 sample_avg_47 sample_avg_48 sample_avg_49 sample_avg_50 sample_avg_51 sample_avg_52 sample_avg_53 sample_avg_54 sample_avg_55 sample_avg_56 sample_avg_57 sample_avg_58 sample_avg_59 sample_avg_60 sample_avg_61 sample_avg_62 sample_avg_63 sample_avg_64 sample_avg_65 sample_avg_66 sample_avg_67 sample_avg_68 sample_avg_69 sample_avg_70 sample_avg_71 sample_avg_72 sample_avg_73 sample_avg_74 sample_avg_75 sample_avg_76 sample_avg_77 sample_avg_78 sample_avg_79 sample_avg_80 sample_avg_81 sample_avg_82 sample_avg_83 sample_avg_84 sample_avg_85 sample_avg_86 sample_avg_87 sample_avg_88 sample_avg_89 sample_avg_90 sample_avg_91 sample_avg_92 sample_avg_93 sample_avg_94 sample_avg_95 sample_avg_96 sample_avg_97 sample_avg_98 sample_avg_99 sample_avg_100 NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA
Wave1 self_description 3.56316858327817 3.4898500294288 3.58102294720184 3.57231362869719 3.56661469938182 3.64401801801802 3.49909305647111 3.52356078962976 3.65907452907453 3.4967388263208 3.63741195741196 3.54636061746678 3.62023564785209 3.53110730157305 3.62612612612613 3.54297812097812 3.55588042588043 3.49447654551103 3.63214290152221 3.5898101965602 3.47190605478277 3.61603603603604 3.60445045045045 3.72640874292929 3.47665336994749 3.55045025245025 3.57912483912484 3.62195815170009 3.55931418475632 3.63244595005268 3.58039414414414 3.61549158747789 3.62457605207948 3.59216849871287 3.59238935419757 3.57223007623008 3.52143619322278 3.55282576775002 3.4933635916449 3.5391888218943 3.42871596301072 3.3924388259227 3.63116747070857 3.72286683944218 3.5537045795128 3.58401287001287 3.58054682618182 3.53190356732823 3.56247876447876 3.50946777546778 3.59321688936757 3.53332261900755 3.50367258641762 3.53161647361647 3.49662290862291 3.50946103998736 3.5141272973949 3.56729216466203 3.60495614035088 3.53730923967668 3.6253447993448 3.51670652844625 3.57355442877478 3.50445945547846 3.48991179762899 3.62289382239382 3.52076137297209 3.52424117891241 3.64029690035169 3.52367535833289 3.5127716451963 3.59770181170181 3.57319128373889 3.54335774484162 3.53051777944222 3.63542342342342 3.48481819196888 3.52701963032409 3.52085465700534 3.57921304399044 3.66156252828171 3.52040885124756 3.53941673180029 3.58639039039039 3.59717737257806 3.62438095238095 3.57360577959208 3.52016736603022 3.55397518487929 3.57020549979454 3.60016926016926 3.50425084624742 3.52026265618046 3.35568097837121 3.49382667794997 3.55530501778845 3.59937702085647 3.61648906048906 3.58732070374738 3.60405928509154 3.57443561467534 3.67604633204633 3.52936422136422 3.5492649699225 3.64754868169097 3.58887773487773 3.66572736789695 3.51746722313846 3.49519270448871 3.5942972972973 3.54599786087457 3.49076121040505 3.64028263488537 3.64274877029672 3.62758235766455 3.55512756592209 3.62011791648435 3.46169589452466 3.51817510162716 3.53512812812813 3.52941546420998 3.5341459396544 3.48231804407147 3.58815701415701 3.60368386568387 3.60251671025865
Wave2 self_description 3.64226172989908 3.51703136845125 3.6379967399978 3.5956031899439 3.60272540976286 3.54026262269935 3.52751326610624 3.48849708399772 3.40200164579894 3.41589966295048 3.45520434227331 3.51519795657727 3.64201550113528 3.60852832512315 3.30060063952986 3.3329128409609 3.38027549145266 3.52172987327252 3.5659979040287 3.63260453748472 3.72558967046263 3.4216389221951 3.1519499712903 3.4395228603584 3.52140628767784 3.41404748445449 3.54769509981851 3.42142688551585 3.55690574168482 3.42615673330987 3.65669366057407 3.50353387485788 3.26718742669482 3.31937304075235 3.38258467618491 3.49970601701246 3.56244311861664 3.68482628986259 3.39248550142563 3.26964066184325 3.40232739961188 3.3983235724838 3.25784429213964 3.6206291361808 3.5962019046335 3.48832432782068 3.18911171550247 3.5754582703387 3.4641065830721 3.58133293731017 3.5007836233841 3.60304016606542 3.66451644546676 3.48846402325769 3.58339522546419 3.23160098522167 3.47211563391237 3.31108289783535 3.64001532505168 3.57093066517937 3.37972323707522 3.65103509612436 3.47548435747059 3.51601495770722 3.37847420274825 3.55282826567012 3.38070763331418 3.65702753607556 3.34407522885077 3.34253997827518 3.41056520611875 3.34651258859851 3.60390090672745 3.56906886844705 3.76518986042693 3.40116285842041 3.56185997910136 3.60866545937184 3.38819763570714 3.57493319876681 3.75057892299272 3.82603258810155 3.30349779606314 3.52245853221751 3.48503938103587 3.38403987429907 3.54380651604073 3.19098608590442 3.43646193908726 3.60870789827233 3.266682315969 3.59665054350653 3.54843305991656 3.30469511007208 3.75679744241878 3.5343096749267 3.46917907166635 3.62684142595276 3.33274992390312 3.42041542221788 3.52346265349895 3.64840785684528 3.76619853142512 3.55666208791209 3.32937713951741 3.49269719019613 3.68196442170726 3.49780620442467 3.25716755617197 3.55535547332281 3.34704112628195 3.4432891608061 3.67227571279295 3.56702338485929 3.49220108743779 3.41214608256088 3.37768596500521 3.4751998707906 3.63893306935049 3.51189729810419 3.45890799532368 3.29138419942201 3.43124457993974 3.53301695265535 3.32674376262649 3.53863709511591
Wave3 self_description 4.155 3.1916445035461 3.09375 3.02098214285714 3.09934361585305 3.06046365914787 3.07992424242424 3.22063294926387 2.9799915158371 3.335 3.26915181691125 3.35722853535354 3.10544969512195 3.20125 3.2179347826087 2.94671972049689 3.20823506289308 2.93826593137255 3.05215892597968 3.37368697478992 3.26160714285714 3.05210956842824 2.98913043478261 3.19985294117647 3.16760392385392 3.02188775510204 3.17132653061224 2.99255952380952 3.03380102040816 3.1752586076714 3.16908533765032 3.17343524531025 3.11477272727273 3.22449324324324 3.31161556603774 3.25507962204308 3.28645833333333 3.35709134615385 3.19921085858586 3.08391203703704 2.87206439393939 3.27365339578454 3.38397606382979 3.21133390591966 3.13439078282828 3.30169208640903 3.35801820728291 3.33365082244799 3.08863520408163 3.16720488195278 3.26086812896406 3.14151691331924 3.08198529411765 3.5724040240518 3.203125 3.20679563492063 3.34278846153846 3.10776960784314 3.1025069881202 3.17806553911205 3.27725765306122 3.01269841269841 3.27530504602022 3.3559056122449 3.17070707070707 3.16967915214866 3.28436085972851 3.22834183673469 3.13363095238095 3.25911458333333 3.01268115942029 3.29080141672053 3.20256696428571 3.30284090909091 3.33607356676343 3.27089803312629 3.18816489361702 3.29944044925663 3.22827380952381 3.18923611111111 3.09451219512195 3.36308139534884 3.14042271627344 3.12288189404935 3.38271045918367 3.31308446455505 3.00265151515151 3.14394559032717 3.05032467532468 2.94235248447205 3.20644283121597 3.15489130434783 3.33673469387755 2.99910714285714 3.1131470959596 3.53094561688312 3.06433823529412 3.06892857142857 3.24729591836735 3.35677083333333 3.14239795918367 3.37383928571429 3.18487196765499 3.24017857142857 3.32532690602837 3.12748226950355 3.12794811320755 3.16316287878788 3.30217760180995 2.99431818181818 3.34406295355588 3.35225090036014 3.09157223250077 3.25402997737557 3.00664893617021 3.28703606442577 3.21182172869148 3.1616549744898 3.25902423469388 2.88839285714286 3.03343306737589 3.27014988687783 3.44739795918367 3.01444419486872 3.21824494949495 3.12922619047619
wave category sample1994_avgs sample_avg_1 sample_avg_2 sample_avg_3 sample_avg_4 sample_avg_5 sample_avg_6 sample_avg_7 sample_avg_8 sample_avg_9 sample_avg_10 sample_avg_11 sample_avg_12 sample_avg_13 sample_avg_14 sample_avg_15 sample_avg_16 sample_avg_17 sample_avg_18 sample_avg_19 sample_avg_20 sample_avg_21 sample_avg_22 sample_avg_23 sample_avg_24 sample_avg_25 sample_avg_26 sample_avg_27 sample_avg_28 sample_avg_29 sample_avg_30 sample_avg_31 sample_avg_32 sample_avg_33 sample_avg_34 sample_avg_35 sample_avg_36 sample_avg_37 sample_avg_38 sample_avg_39 sample_avg_40 sample_avg_41 sample_avg_42 sample_avg_43 sample_avg_44 sample_avg_45 sample_avg_46 sample_avg_47 sample_avg_48 sample_avg_49 sample_avg_50 sample_avg_51 sample_avg_52 sample_avg_53 sample_avg_54 sample_avg_55 sample_avg_56 sample_avg_57 sample_avg_58 sample_avg_59 sample_avg_60 sample_avg_61 sample_avg_62 sample_avg_63 sample_avg_64 sample_avg_65 sample_avg_66 sample_avg_67 sample_avg_68 sample_avg_69 sample_avg_70 sample_avg_71 sample_avg_72 sample_avg_73 sample_avg_74 sample_avg_75 sample_avg_76 sample_avg_77 sample_avg_78 sample_avg_79 sample_avg_80 sample_avg_81 sample_avg_82 sample_avg_83 sample_avg_84 sample_avg_85 sample_avg_86 sample_avg_87 sample_avg_88 sample_avg_89 sample_avg_90 sample_avg_91 sample_avg_92 sample_avg_93 sample_avg_94 sample_avg_95 sample_avg_96 sample_avg_97 sample_avg_98 sample_avg_99 sample_avg_100 NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA
Wave1 social 4.0029911584311 3.952883392079 3.91374374040939 3.97147529337983 3.94339242685136 3.96669703969281 3.91997750566256 4.05452727754204 3.86886309944014 3.89545095675222 3.99606888421421 3.99196106370887 3.86948751356216 3.98083595307456 3.99596519203234 3.88299646815806 4.06292304862322 3.92227176201438 4.00955607241843 3.97832059730726 4.03016339146161 4.0016464573748 3.94557773137234 3.99567973220112 4.01179416749563 3.96366637681263 3.91278257975956 3.97055342531293 4.01435989736568 4.07673897443658 3.91401729446326 3.98484812483022 3.99365087908955 4.13363908088726 3.89764979350741 3.9553490856257 4.00086082388766 4.00869278970672 4.02180188592393 3.84226750445817 3.8418185189478 3.97388987674719 3.94286573296902 3.98015897951102 3.84891493375318 3.94058381625223 4.02236223345977 3.89689751143093 3.98427439661827 3.93337585626481 3.87344711256153 3.97281181648415 4.04101483802255 3.97168855686952 3.98631711648514 4.04707433365397 4.02749358808828 3.87827199766392 4.05096005881285 3.9301780658192 3.89943132597088 3.92140053200395 3.92257235705542 4.03169758072724 4.00999319875613 3.85917917419146 3.85572748061719 3.9930583254868 3.93353249688698 4.02211767386964 3.93445379654426 3.92092023465457 3.96007440367567 4.00087827386818 4.05496629007158 4.03342982315611 3.9699618342346 3.94478154677328 3.96703043686935 3.95998485095419 4.02733327162755 3.92665729214678 3.93557715900818 3.84070365893371 4.08140834413114 3.86955567942468 3.89477567348332 4.10629502926085 4.0039692330666 3.93317641556542 3.83327889372034 3.92590648788211 4.0694013102482 3.96824044483025 4.02213775439732 3.99197779238866 3.95043862791601 3.84685535358682 3.97296219504281 3.79977537431067 3.92397113893306 3.94526107721786 3.99348780716253 4.0181786426234 3.97163132597237 3.9470487811521 4.02832385676052 3.98160634088599 3.91949982566311 3.98579034370625 3.89905883691544 4.01130599180587 3.99831583913457 3.91858148527652 4.05510121722619 3.95050385846757 3.84284382723529 3.99296411034827 3.99006286352163 4.03993197635402 4.04539002850596 3.92830602593226 3.91173766729001 3.90443096923547 3.86195905665676 4.06106589123745
Wave2 social 4.00049725779533 4.00246531306078 4.07070165983624 4.05070673494907 3.97100785305441 4.04989262410692 4.07058029938205 4.07573476082431 4.09246007941895 4.17047713591959 4.13487761858469 4.13298035539471 4.13989641508822 4.10362543519027 4.12173048329193 3.99833021759293 4.04248091217912 4.04814275531844 4.04234551012866 4.10249641226129 4.06674351431368 3.97028778601649 4.08363695651021 4.04573214012976 4.10671341010742 3.96422663606808 3.97653903812235 4.17125733324493 4.06778842172986 4.18733974516892 3.96520457196655 3.98285339668072 4.10988231291654 4.15071312630587 3.98894689690904 4.01900623241382 4.0829730736317 4.10434326737516 4.11795166354771 4.04181200724056 4.04985449717761 4.01640918459508 4.09330862267235 4.11502548496147 4.10328298229081 4.01825970392844 4.06311071130297 4.04484239937948 4.06621329963868 4.14011865932589 4.0011426766883 4.02287451823564 4.04379355317104 4.01341253881517 4.15026302751397 4.09036385156456 4.12054965409793 4.01686473496004 4.15071631316814 3.95612501992424 3.95468860726336 4.05053869554523 3.95746659146368 4.17230799220168 4.19167436885799 3.99200364580341 3.96190401681005 4.08050420137961 4.10175369520865 4.1891145734059 4.20822159524936 4.12058147246611 3.99978575152714 4.06723584576932 4.0220323015007 4.14921066207184 4.0199589879777 4.04554203004488 4.13468445325213 4.07024555651955 4.12765561862396 4.13782547477198 4.05874256847027 4.04413748663678 4.06167170940724 4.05546757637719 4.0649416725836 4.15829366136522 4.08486997239461 4.02175528832776 3.93177773718261 4.00939472001823 4.08705241432291 4.08716152595899 4.11549460496691 4.0654067663318 4.02980283334121 3.97192564449895 4.05122705589127 4.06871887522824 3.96419024230245 4.05334338896592 4.18492682290914 4.11613664314914 4.087430600766 4.2139794629626 4.12375739534662 4.00249501636734 4.03652663101624 4.14452019737606 4.07474674389315 4.08576804475901 4.12621164589056 4.12207630147783 4.20084113388152 4.07607159141826 4.05593918898816 4.05670359944295 4.03945841667962 4.06127876177471 4.05189452217713 4.07495811600866 4.04818548964566 3.98850015580703 3.94686353779973 4.13752997167331
Wave3 social 3.51484206738052 3.36493790859016 3.28361962357988 3.29144588479688 3.19564976939179 3.17461022579354 3.27789508361972 3.21359068867058 3.34102460738832 3.26038076683261 3.31354045812002 3.39468481025471 3.2814891670118 3.4531205214268 3.44867510109131 3.15287017663877 3.3723533026295 3.28012021295632 3.33551348161697 3.34713481842441 3.53162763184792 3.16934169379182 3.19810020064611 3.27225105132372 3.43576791712162 3.1433095245508 3.1248478780093 3.51879803246627 3.34300843880718 3.4224284923627 3.38964696077563 3.29722316478128 3.17265578479543 3.4882609126398 3.07742787621372 3.37440455183805 3.25249555409191 3.3555659997092 3.39433326636455 3.26861548596031 3.12014691852798 3.32678747624843 3.2256264535597 3.32760921654623 3.14624552820187 3.28571346568178 3.26739903248677 2.93298033672564 3.23400828037696 3.42051347357775 3.06725165248814 3.16267852692738 3.08709897577947 3.2256044381848 3.35867921626572 3.20128421177374 3.32254100408564 3.04227580813281 3.41146570642484 3.20905561858122 3.10926170437774 3.24029663385067 3.23938822503072 3.30011634121572 3.27014561784399 3.04883358061173 3.1891666764673 3.18949398601399 3.14013966677806 3.42662875644158 3.46338482373934 3.41579159231584 3.23817935806865 3.35375598760214 3.14964384053472 3.24675404292701 3.34337273290609 3.21180284228927 3.127555353902 3.31877869263833 3.21570501652819 3.40807213206533 3.25382892024323 3.26195787548946 3.10099957916156 3.31540474682481 3.35764199466457 3.07406568538957 3.25360009170991 3.18272013751318 3.31680751729657 3.4115042323304 3.21410338689818 3.13045205799023 3.36028832416664 3.39729808005688 3.15028530248063 3.36935094977101 3.44812400962884 3.12842169864935 3.16681534463865 3.31396651878143 3.35946859766176 3.31244686318972 3.23496188834454 3.46509257291964 3.16381002653469 3.35063886499889 3.26737146337825 3.2056168574445 3.25462564267835 3.15992689673217 3.19347810625443 3.45909249028962 3.34731208902706 3.38025261822176 3.31312294311134 3.17266571440125 3.3388232134306 3.36177370160053 3.31242774893804 3.32714337904113 3.11426515883396 3.30413526471968 3.16703609715828 3.40707632312097
wave category sample1994_avgs sample_avg_1 sample_avg_2 sample_avg_3 sample_avg_4 sample_avg_5 sample_avg_6 sample_avg_7 sample_avg_8 sample_avg_9 sample_avg_10 sample_avg_11 sample_avg_12 sample_avg_13 sample_avg_14 sample_avg_15 sample_avg_16 sample_avg_17 sample_avg_18 sample_avg_19 sample_avg_20 sample_avg_21 sample_avg_22 sample_avg_23 sample_avg_24 sample_avg_25 sample_avg_26 sample_avg_27 sample_avg_28 sample_avg_29 sample_avg_30 sample_avg_31 sample_avg_32 sample_avg_33 sample_avg_34 sample_avg_35 sample_avg_36 sample_avg_37 sample_avg_38 sample_avg_39 sample_avg_40 sample_avg_41 sample_avg_42 sample_avg_43 sample_avg_44 sample_avg_45 sample_avg_46 sample_avg_47 sample_avg_48 sample_avg_49 sample_avg_50 sample_avg_51 sample_avg_52 sample_avg_53 sample_avg_54 sample_avg_55 sample_avg_56 sample_avg_57 sample_avg_58 sample_avg_59 sample_avg_60 sample_avg_61 sample_avg_62 sample_avg_63 sample_avg_64 sample_avg_65 sample_avg_66 sample_avg_67 sample_avg_68 sample_avg_69 sample_avg_70 sample_avg_71 sample_avg_72 sample_avg_73 sample_avg_74 sample_avg_75 sample_avg_76 sample_avg_77 sample_avg_78 sample_avg_79 sample_avg_80 sample_avg_81 sample_avg_82 sample_avg_83 sample_avg_84 sample_avg_85 sample_avg_86 sample_avg_87 sample_avg_88 sample_avg_89 sample_avg_90 sample_avg_91 sample_avg_92 sample_avg_93 sample_avg_94 sample_avg_95 sample_avg_96 sample_avg_97 sample_avg_98 sample_avg_99 sample_avg_100 NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA
Wave1 views_religion 2.96395682708904 3.29222140679088 3.10049310641109 3.34693918326795 3.41319415587837 3.29142576392818 3.04925947536742 3.48750567981782 2.93375075075075 3.24036161886906 3.27700107822604 3.24372609814248 3.05910557437194 3.14302309715345 3.16653025892395 3.22583264033264 3.14919492219492 3.29055705055705 3.3553121502828 3.19558659902138 3.11215476297607 3.3573894175866 3.25204253854358 3.07798200157104 3.32625754383369 3.20209301088528 3.22670686377536 3.17373014561927 3.03797037549564 3.18188116759914 3.33739930235093 3.03662089101721 3.14794061695272 3.12674025703289 3.07912945149854 3.22557994784082 3.19942469107585 3.13818315467375 3.29414510048837 3.27487536078404 3.24239959909694 3.13973625208376 3.2368218416461 3.22534722048583 3.27826058381614 3.14148675948676 3.20888169488169 3.26275563211476 3.06423435777625 3.23340545219318 3.02700169290141 3.17365100941873 3.257457694849 3.01154256176791 3.12206667861892 3.0168022481454 3.39108727958728 3.2850028128949 3.09344747048839 3.15092406812955 3.27520739787406 3.26957634653525 3.26505438244569 3.26902068418486 3.19419305019305 3.23836080158119 3.16989602944219 2.90862587703001 3.14222253312303 3.14851021851828 3.14435786115634 3.10112976612977 3.11436886236886 3.23880063386794 3.09152313839544 3.22479329468498 3.34472349082519 3.13972607389999 3.26191107991108 3.19885392035356 2.95732669392556 3.14994654972433 3.22688554111089 3.078907840171 3.29013303661934 3.10615954966283 3.38242334654198 3.17110600314542 3.16682502226315 3.1803757380569 3.2352174011136 3.1102297055527 3.3100960960961 3.02957171918462 3.11313680684565 3.17638257971398 3.11990675899103 3.39444336103032 3.2722788241601 3.19322194865673 3.12819944982464 3.46504110833523 3.11897634476582 3.12085033142479 3.32656634531144 3.33693675187793 3.12681196322373 3.12691828071277 3.19711026152203 3.18673134673135 3.18424433221293 3.15180449290343 3.13476514694603 3.20035396521842 3.30936037495737 3.35614897618927 3.15546785115664 3.24251697037962 3.17673233968756 3.12165639450174 3.08564032704384 3.26841086416429 3.1223738758455 3.25785313070821 3.20897247092431 3.18137097661041
Wave2 views_religion 2.99752792792793 3.13017857142857 3.2187969924812 3.42448968799577 3.49419512398764 3.34315430520034 3.1324778388262 3.34030747728861 3.08744629951399 3.46324561403509 3.35615860990861 3.19594312745256 3.15885964912281 3.23765625 3.07056390977444 3.26538717483364 3.06793103448276 3.20151059466849 3.4871332554062 3.55693502824859 3.34298245614035 3.39194060419867 3.36631027253669 3.11022017409114 3.32053613053613 3.22475409836066 3.40610275689223 3.07175336060783 2.99913609159511 3.23405626134301 3.03096907993967 3.13571428571429 3.33765306122449 3.06971869639794 3.2445 3.145 3.2852221047065 2.90919842710224 3.1326943308007 3.12621887784921 3.1998283890169 3.13274553571429 3.31886363636364 3.11062613430127 3.18650793650794 3.09966101694915 3.48448051948052 3.30107086197779 3.16321428571429 3.19482888765398 3.14186440677966 3.1533430742256 3.29509059029807 3.18852459016393 3.14077225793883 3.17714285714286 3.14714285714286 3.30305084745763 2.93857923497268 3.1601724137931 3.29320754716981 3.20949497620307 3.29021634521722 3.32632733093237 3.143671679198 3.16382940108893 3.16655172413793 2.93193548387097 3.1410505050505 3.32686868686869 3.12660714285714 3.19016393442623 3.17365254237288 3.31096262160778 3.05319444444444 3.28017543859649 3.48019096626644 3.23166666666667 3.24624039133473 3.20576855639977 2.91939552760307 3.00661538461538 3.30954519774011 2.99274193548387 3.24147457627119 3.24661016949153 3.39985507246377 3.06832194121668 3.02661222020569 3.27709273182957 3.09131147540984 3.02039215686275 3.29668079096045 3.32789887415793 3.34649109381185 3.39666666666667 3.31371584699454 3.45103448275862 3.34062424747615 3.04870835768556 3.13477272727273 3.52822580645161 2.98061607615019 3.09447420634921 3.2535 3.53350579839429 2.9925 3.08229281559266 3.12910926742143 2.97686754765702 3.09383653846154 2.90907407407407 3.29107142857143 3.00793103448276 3.17 3.39949736995909 3.19022785458269 3.41174956006298 3.20877192982456 3.2211038961039 3.26079365079365 3.55907407407407 3.32209316394434 3.04532258064516 3.13406779661017 3.17432374038545
Wave3 views_religion 2.84113513513514 3.18395004625347 3.24731402071025 3.3525306122449 3.28148148148148 3.24589598997494 3.04545454545455 3.26738749269433 3.19905731523379 3.19134693877551 3.21586303284416 3.08212121212121 3.24634146341463 3.14930612244898 3.10915290416807 3.02391304347826 3.08682336182336 3.04234093637455 3.22452830188679 3.65 3.5047619047619 3.19751373118188 3.32608695652174 3.15046018407363 2.96686868686869 3.15351020408163 3.01044897959184 3.01428571428571 3.062 3.14090909090909 3.20485661424607 2.87777777777778 2.92611111111111 3.13291505791506 2.95216426193119 3.35531914893617 3.17254901960784 3.00487804878049 2.8739898989899 3.23888888888889 3.28181818181818 2.90934426229508 3.03333333333333 2.99090909090909 3.04 3.19460034013605 3.12156862745098 3.31617647058824 3.11612244897959 3.36007202881152 2.81009513742072 3.07278012684989 3.156 3.0077243293247 3.03639184397163 3.09111111111111 3.00769230769231 3.22647458983593 3.19073939687147 3.25227272727273 3.32632653061224 3.07676767676768 2.97959082659627 3.02130612244898 3.25651515151515 3.09123112659698 3.22620663650075 2.742 3.16080139372822 3.4873670212766 3.04251207729469 3.02307692307692 3.03673469387755 3.274 2.86415094339623 3.06689723320158 3.23367252543941 3.1960407239819 3.09320557491289 3.33550505050505 2.86829268292683 3.0171650055371 2.91551724137931 2.98867924528302 3.008 3.09381598793364 3.29503906994473 2.89359886201991 2.78636363636364 3.19347826086956 2.94648150548786 2.96835748792271 3.08571428571429 3.17427721088435 2.75555555555556 3.07646103896104 2.99509803921569 3.414 3.114 2.89583333333333 2.83714285714286 3.378 3.13207547169811 3.03 3.32291666666667 3.32765957446809 2.81629172714078 3.04181818181818 2.97619894111491 2.96892177589852 3.10754716981132 2.91 2.88297872340426 3.00384615384615 2.94166666666667 3.39781832733093 3.17843137254902 3.43265306122449 3.00021258503401 3.31681117143397 3.00833333333333 3.38653846153846 3.07081632653061 2.70925925925926 2.79488215488215 3.09935974389756
wave category sample1994_avgs sample_avg_1 sample_avg_2 sample_avg_3 sample_avg_4 sample_avg_5 sample_avg_6 sample_avg_7 sample_avg_8 sample_avg_9 sample_avg_10 sample_avg_11 sample_avg_12 sample_avg_13 sample_avg_14 sample_avg_15 sample_avg_16 sample_avg_17 sample_avg_18 sample_avg_19 sample_avg_20 sample_avg_21 sample_avg_22 sample_avg_23 sample_avg_24 sample_avg_25 sample_avg_26 sample_avg_27 sample_avg_28 sample_avg_29 sample_avg_30 sample_avg_31 sample_avg_32 sample_avg_33 sample_avg_34 sample_avg_35 sample_avg_36 sample_avg_37 sample_avg_38 sample_avg_39 sample_avg_40 sample_avg_41 sample_avg_42 sample_avg_43 sample_avg_44 sample_avg_45 sample_avg_46 sample_avg_47 sample_avg_48 sample_avg_49 sample_avg_50 sample_avg_51 sample_avg_52 sample_avg_53 sample_avg_54 sample_avg_55 sample_avg_56 sample_avg_57 sample_avg_58 sample_avg_59 sample_avg_60 sample_avg_61 sample_avg_62 sample_avg_63 sample_avg_64 sample_avg_65 sample_avg_66 sample_avg_67 sample_avg_68 sample_avg_69 sample_avg_70 sample_avg_71 sample_avg_72 sample_avg_73 sample_avg_74 sample_avg_75 sample_avg_76 sample_avg_77 sample_avg_78 sample_avg_79 sample_avg_80 sample_avg_81 sample_avg_82 sample_avg_83 sample_avg_84 sample_avg_85 sample_avg_86 sample_avg_87 sample_avg_88 sample_avg_89 sample_avg_90 sample_avg_91 sample_avg_92 sample_avg_93 sample_avg_94 sample_avg_95 sample_avg_96 sample_avg_97 sample_avg_98 sample_avg_99 sample_avg_100 NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA
Wave1 volunteering 3.45676572598145 3.5823625303955 3.16065017582613 3.33129442441986 3.33894159737466 3.16700129169802 3.26993854540355 3.2734083021229 3.41797124188198 3.37917753516689 3.39796467618312 3.35286440592949 3.4049304754816 3.16933622031801 3.26551735589259 3.28256768577644 3.55973011835513 3.52968670696999 3.46567488725607 3.31432642504662 3.40375566884746 3.42794423021081 3.54544215630489 3.22977631572806 3.29202824839075 3.38286399693807 3.34192452903914 3.45990694582301 3.23337276169719 3.34813574627804 3.21717088475103 3.2303806230559 3.24625265609707 3.44314841065829 3.19332827356052 3.46169015786663 3.33466109132135 3.31010041954266 3.40921816864246 3.36459272314295 3.28361033760664 3.21673615086782 3.51138139253461 3.23462499883233 3.38392821397926 3.37504032699046 3.21489920332526 3.36757936172924 3.30709815920606 3.29592739414349 3.47654569762764 3.57942734242651 3.32655232209548 3.30442738220108 3.46315688565966 3.33293391030068 3.32471662414521 3.39828687132531 3.2282933531652 3.29472736687761 3.33562876078686 3.44391157756141 3.22665832535775 3.49085560276562 3.43473275673488 3.33598199934541 3.43866442032617 3.36502285923684 3.35895116575163 3.51836617336704 3.28175600767052 3.37343050735931 3.37318148351778 3.44439293931273 3.56746363082442 3.34018030863881 3.36678245882781 3.26605187644964 3.29243640014905 3.30796147049781 3.46297232549772 3.47146586003852 3.41080681920718 3.22290742790663 3.45328203050417 3.31065744735052 3.28138944215284 3.48456768721475 3.38954745187482 3.38776959422456 3.20848613527189 3.15170276706869 3.20167258301433 3.35724291018603 3.36413833555213 3.41720208114694 3.4942887418851 3.25194245919422 3.33567821838275 3.34631961124908 3.2390887469245 3.36637505659655 3.31281962603366 3.42989266248457 3.44500697780715 3.45956827054258 3.54360160696492 3.20233332615918 3.35110609865681 3.51234582166976 3.26357389768278 3.36819363782847 3.26098959036459 3.57161692989963 3.29513006467333 3.39574635398667 3.28229256085824 3.39776825575245 3.3293128808541 3.3306484704647 3.37135645337002 3.53117176306002 3.46438501492734 3.2285070781725 3.28629736821103 3.49437535092555
Wave2 volunteering 4.02782086757774 3.9621153042095 4.04217453943001 4.03322459452899 3.88889533010661 3.85502523201637 3.99263348680044 4.16529423484932 4.05954938781026 3.91484427880824 4.12953492410079 4.06022683898677 4.10918558170063 4.07771964146964 3.93550359473887 3.98342762347976 3.99090155149858 3.94436338271101 4.13772912021025 3.9528453789955 4.08964341185703 4.06513887891751 4.06866844910323 3.98575761219701 3.93386719325137 4.03806802086955 3.84988317868423 4.33163598196341 3.9873064225337 4.10499716175702 4.09657183748243 3.96101972475736 4.09174906964381 4.16317808603441 3.98755429334039 4.07532901441992 4.06686450322862 4.07991403406764 4.30162341013286 3.91064926224781 3.9477553133921 4.05836802785315 4.0357068495282 3.89331505533995 4.02198674782008 4.0299896503691 4.01893741017354 4.01802503972224 4.08743527969279 3.99120289427045 4.02686465378034 4.18067228396357 3.94073230541935 3.99476535488375 4.10173488296431 3.94688404287335 3.89826110905966 4.01201774562128 4.05829586743154 3.96989618344942 3.94270531991724 4.06070265984145 4.12134381787327 4.02179540273968 4.13665586275467 3.89528453321951 4.00817457287285 4.13529254994788 3.94046700947955 4.14209764432864 4.17630573875952 3.99173067155216 3.97483436525114 3.97561092226977 4.03530207241229 4.00954949165238 4.00702102584483 3.97052197506985 4.04619172606977 3.89201706143169 4.01728068394735 4.09325634457344 3.95006236188054 3.95324248233115 3.89419806081554 4.03789333134695 4.03185849576656 4.15755488360591 4.02410294918132 3.92542376298357 3.83470517978715 4.01381512715609 4.12309330271439 4.14244609451549 3.99321069107165 4.04175436556389 4.15393773471322 3.85841864236177 4.00005687268882 3.95842302555798 4.17357210673639 4.08978234769277 3.98557992276467 4.07447648238162 4.13633108536851 4.13554307621941 3.99077992714356 4.0159230659481 4.15064422367421 4.09384175765755 3.91822473462654 4.02194936499412 3.93019753989897 3.97855210578878 4.0491047189493 4.05682809599182 3.97489736549298 3.98866920308804 3.99449659962838 4.11656189354048 4.07656085178056 4.03762773298028 4.12361632611766 3.92405336827437 4.09193498803928 4.0827364006596
Wave3 volunteering 4.48229166666667 4.37680740312319 4.22185545935546 4.17549242424242 4.17915769385796 3.84102852852853 4.20901515151515 4.43460656122569 4.38659188034188 4.27252367065596 4.37894265926786 4.51563915012191 4.13191056910569 4.21984819121447 4.30350437605872 4.40098905723906 4.35115514115514 4.41474290458424 4.07693047999238 4.36436155749517 4.50304999032133 4.19645921700551 4.3265750222272 4.20705044511159 4.21484487734488 4.27893119113112 4.10575100674694 4.3343253968254 4.17789072039072 4.33377965703547 4.18536109759514 3.9557783347257 4.12939959650486 4.40791569958237 4.1421034241789 4.29362508059317 4.14593388447698 4.09956732750596 4.42049663299663 4.20328967178561 4.20093795093795 4.14783164748285 4.39246031746032 4.06436208936209 4.18490416588243 4.21345407235915 4.29865574462018 4.05752429498741 4.28409891598916 4.39394810555801 4.08302434590624 4.23360088985089 4.34358098278071 4.09565901322172 4.40235867074102 4.31873638344227 4.1010101010101 4.20989680303901 4.36017331433998 4.04323103683569 4.52715838509317 4.42751477912768 4.33825824411691 4.10633914856265 4.29782576098366 3.66525064441731 4.29898504273504 4.34020211930926 3.94081357239252 4.50819327731092 4.23907279314888 4.20950594121326 4.12855442176871 4.30404923164792 4.17521747120804 4.22302164622817 4.12883961405681 4.11175837888582 3.94548941798942 4.07056030389364 3.99189147573294 4.10417538246996 4.26856561302682 4.31960949211275 4.01916570660522 4.22206196581197 4.21651353470681 4.29558338049425 4.08196578640658 4.2504775942991 4.02369281045752 4.23756139577793 4.26913604357213 4.39747349390207 4.18817993985034 4.14817821067821 4.20446350762527 4.1927565522333 4.29508527758528 4.21379956083903 4.17288126361656 4.33257355787844 4.38466537119455 4.55511272141707 3.97860831155904 4.02529973884141 4.19747134998707 4.29549062049062 4.41548382173382 4.09160902954006 4.03581544010928 4.27821012462956 4.09576227410553 4.59952434952435 4.38481474665685 4.18382936507937 4.02835795170781 4.45292894935752 4.3590840140404 4.26659003394639 4.32418929110106 4.35332722832723 4.46479797979798 4.2505664636041 4.24544656092371 4.37599867452809
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment