import numpy as np

from statsmodels.tools.tools import Bunch

mpg_bs_poisson = Bunch()

mpg_bs_poisson.smooth0 = Bunch()
mpg_bs_poisson.smooth0.term = "weight"
mpg_bs_poisson.smooth0.bs_dim = 12
mpg_bs_poisson.smooth0.dim = 1
mpg_bs_poisson.smooth0.p_order = np.array([
    3, 2
    ])
mpg_bs_poisson.smooth0.by = "NA"
mpg_bs_poisson.smooth0.label = "s(weight)"
mpg_bs_poisson.smooth0.sp = -1
mpg_bs_poisson.smooth0.m = np.array([
    3, 2
    ])
mpg_bs_poisson.smooth0.knots = np.array([
    1488, 1488, 1488, 1488, 1953.22222222, 2118.77777778, 2275,
    2383.88888889, 2515.55555556, 2757.33333333, 3016.44444444,
    3208.11111111, 4066, 4066, 4066, 4066
    ])
mpg_bs_poisson.smooth0.rank = 10
mpg_bs_poisson.smooth0.null_space_dim = 1
mpg_bs_poisson.smooth0.df = 11
mpg_bs_poisson.smooth0.S_scale = 2.44395544177397e-06
mpg_bs_poisson.smooth0.vn = "weight"
mpg_bs_poisson.smooth0.first_para = 5
mpg_bs_poisson.smooth0.last_para = 15
mpg_bs_poisson.smooth0.S = np.array([
    0.130569121544375, -0.0191732921244136, 0.0202548028417763,
    0.0393112950002946, 0.032061392663319, 0.0241651485426007,
    0.0238771778381105, 0.0389406835250852, 0.0171569521441248,
    0.00680570834700402, 0.00541920498010491, -0.0191732921244136,
    0.0631473273216884, -0.0592997810399249, 0.0178641542128365,
    0.00461438941034586, 0.00793912465273829, 0.00408821971418319,
    -0.000681869049168392, 0.00213834646721613, 0.000935846814259467,
    0.000163463753965317, 0.0202548028417763, -0.0592997810399249,
    0.201022514824508, -0.186241322892132, 0.00284878067469136,
    0.0287314367063779, 0.00263260805442764, -0.00708846456492193,
    0.00065385484055723, 0.000395067932117418, -0.000586348849229599,
    0.0393112950002947, 0.0178641542128365, -0.186241322892132,
    0.479322071007576, -0.286380917395105, 0.0563704638942206,
    0.0348887744557148, 0.0255203052273876, 0.0138979985789615,
    0.00560832050247454, 0.00383270204450356, 0.032061392663319,
    0.00461438941034587, 0.00284878067469137, -0.286380917395105,
    0.414581586658592, -0.181289913269406, -0.00412646444222532,
    -0.00354719180127285, -0.00206283566879658, -0.000685858743449883,
    -0.00142523589453221, 0.0241651485426007, 0.00793912465273829,
    0.0287314367063779, 0.0563704638942206, -0.181289913269406,
    0.213321319885371, -0.0483506678191679, 0.0110304252072989,
    0.0122299348640366, 0.00357726593043956, 0.00234383478372281,
    0.0238771778381105, 0.00408821971418319, 0.00263260805442764,
    0.0348887744557148, -0.00412646444222533, -0.0483506678191679,
    0.0999220996092033, -0.0356092452156359, 0.00921547832469341,
    0.00389860712399989, 0.00147745030481206, 0.0389406835250852,
    -0.000681869049168392, -0.00708846456492192, 0.0255203052273876,
    -0.00354719180127286, 0.0110304252072989, -0.0356092452156359,
    0.0574427000604467, -0.0102653399490586, -0.000311188772793241,
    0.00285258581655637, 0.0171569521441248, 0.00213834646721613,
    0.000653854840557233, 0.0138979985789615, -0.00206283566879658,
    0.0122299348640366, 0.00921547832469341, -0.0102653399490586,
    0.0189789273643945, -0.0062453384832703, 0.00255839876648785,
    0.00680570834700402, 0.000935846814259467, 0.000395067932117419,
    0.00560832050247454, -0.000685858743449884, 0.00357726593043956,
    0.00389860712399989, -0.000311188772793241, -0.0062453384832703,
    0.0211496391608495, -0.0111654555301857, 0.00541920498010491,
    0.000163463753965317, -0.000586348849229599, 0.00383270204450356,
    -0.00142523589453221, 0.00234383478372281, 0.00147745030481206,
    0.00285258581655637, 0.00255839876648785, -0.0111654555301857,
    0.00794139033444708
    ]).reshape(11, 11, order="F")

mpg_bs_poisson.coefficients = np.array([
    3.38155196812657, -0.2398057983025, 0.0385574655971876,
    0.0308789097162079, 0.322087207070371, 0.114222640046661,
    -0.0703319473834318, -0.0932993942273026, -0.164529819124519,
    -0.150860338924587, -0.19827414261489, -0.318132823476157,
    -0.277920321049033, -0.291752287584618, -0.335850782440607,
    0.147266917321495, 0.0655746640077953, 0.00329634588440575,
    -0.0178203244735351, -0.0949069908870388, -0.162736107333124,
    -0.267760412623755, -0.31426029441775, -0.36537967845964
    ])
mpg_bs_poisson.residuals = np.array([
    -0.0597164611104715, -0.0597164611104715, 0.0070681780740447,
    -0.0244130279937029, -0.109459035981563, -0.167042459441988,
    -0.105640645333752, -0.0887544418878843, -0.0954712805695528,
    -0.0784623437350325, -0.0430169241934606, -0.0430169241934606,
    0.0030916078609633, 0.0137773951290736, 0.0148539285398903,
    -0.0370396919392229, -0.0112736908607727, -0.052100214301857,
    0.05696516521011, 0.132586599766586, 0.152452919091744,
    0.0958117450422904, -0.0818874568564589, -0.0996285128088896,
    -0.039947957328768, -0.0297876572186078, -0.0297876572186078,
    -0.0757627215899457, -0.0131089324697808, -0.0233738731200743,
    0.286760172557162, -0.0814957361302606, 0.0714671532989226,
    -0.0558415218265038, -0.0484787948859533, -0.0236434176492324,
    -0.0172259149323173, 0.00318143181414277, 0.0231117802042631,
    0.0285924230117791, 0.0524599141234474, 0.0116354361716793,
    -0.00558296033674166, -0.0940825558878515, 0.132586599766586,
    0.152452919091744, 0.0461585732431811, 0.036440559843717,
    0.036440559843717, 0.00758219423801565, -0.105282911203192,
    -0.0708600665943635, -0.0685585970304921, -0.0501105407364437,
    -0.0478013558335348, -0.295992218769999, -0.295992218769999,
    -0.294876506179699, -0.243930144705301, 0.010594364536701,
    0.0184495378782166, 0.010594364536701, 0.0184495378782166,
    0.0421491667369525, 0.0230515193544041, -0.102317831424696,
    -0.00921877268202032, -0.04273337969419, -0.00119636037327275,
    -0.0461713804461907, 0.00242207736643074, -0.00206774027200307,
    -0.0119510982296829, -0.0463162166023352, -0.0776191103317818,
    0.0686101070886802, 0.118868895618542, -0.0505723217649421,
    -0.0228687782317891, -0.0931020215865397, -0.0139373055232768,
    -0.0329425423946335, -0.019547742575587, -0.00462341430485536,
    -0.0037863985625175, -0.0209367502247506, -0.00850079663664394,
    -0.00363892191661508, -0.00363892191661508, -0.0725184022338961,
    0.0701390830766382, -0.0591199977863917, -0.0498592974299408,
    -0.0100344019333893, -0.0438341236186641, -0.00819025184245747,
    -0.0345607099570335, -0.00404629308005688, -0.017423468562916,
    0.0751572654869439, 0.0669394971058765, -0.0679255314192151,
    -0.0349740550587878, 0.0355822453431487, 0.0642764024494471,
    0.0402581086152893, 0.0766500282298974, -0.108739714671304,
    0.0579475740333115, -0.0762240417848723, -0.0158254364629684,
    -0.106391902749726, 0.0681088212932508, -0.073453881324304,
    -0.00607566275315818, -0.100457295597509, 0.0681088212932508,
    -0.0228550021478378, 0.118868895618542, -0.0996285128088896,
    -0.039947957328768, -0.0297876572186078, 0.0607856968972396,
    -0.0131089324697808, -0.0146135261048062, -0.0264261656715257,
    -0.0145337592605999, -0.0145337592605999, -0.0064905487190714,
    0.226809817977968, -0.0459953733057028, -0.0386603873101858,
    -0.0363408944476897, -0.0267731783454677, 0.00999638170999839,
    0.0169931451495056, 0.00192444906825173, -0.120308776123272,
    -0.0400164322133238, 0.130247697154032, 0.00746981127430812,
    0.0306709674011021, -0.0372819368771609, 0.0976557161110208,
    0.0465873287478877, 0.0269883944212412, -0.0674146853454123,
    0.0873341779571093, 0.0693951026504345, -0.0280641297469413,
    -0.0392924504624044, 0.0735437039091389, -0.0247046596041458,
    0.171463552666685, -0.013091147087648, -0.000813946803385424,
    -0.0956269920449824, 0.0107698324203134, 0.25732769645148,
    -0.0621561621420588, -0.0549179845713752, -0.00160856625504557,
    0.0126062678583092, 0.0705449231002744, 0.0842095493097967,
    0.0883081440038147, 0.0872170109597095, 0.0912812221820642,
    0.123175492931149, 0.131142517763956, 0.184711504210098,
    0.136459914352958, -0.0929831907336212, 0.0885449049874016,
    0.0885449049874016, 0.102638885670704, 0.104987186006888,
    0.0567660298014965, 0.121868643941937, 0.0694291967778775,
    -0.0353205301526058, -0.0107460163888975, -0.0342456641975604,
    -0.00957686458378415, 0.0143852426645283, 0.0450346063721021,
    0.0367753899157743, -0.0896986969406739, -0.101104390140708,
    -0.136305098940538, 0.00460226286555798, 0.0351388253204785,
    0.116934978569832, 0.13995662419881, 0.170013018072364,
    0.191118649321067, -0.0478214884195327, -0.0295329898984451,
    0.124455798890416, 0.0603367500448151, -0.0610962381564639,
    0.0212222309861203, -0.0538512733755478
    ])
mpg_bs_poisson.fitted_values = np.array([
    22.3336888624052, 22.3336888624052, 18.8666471780851, 24.6005745142783,
    20.2124334840001, 22.8102863289666, 21.2442570213741, 20.8505817458946,
    18.7943175653995, 17.3622856225417, 24.0338628565774, 24.0338628565774,
    20.9352763351109, 20.7146066788422, 19.7072696252699, 16.6154304243557,
    16.1824357783393, 15.8244576339389, 44.4669337713292, 33.5515182749217,
    32.9731474236258, 33.764923735666, 33.764923735666, 26.6556641802072,
    32.2899161942785, 31.9517683223134, 31.9517683223134, 25.9673576911837,
    24.3187934206985, 19.4547324478203, 38.080134157885, 33.7505237802536,
    35.4653895670086, 31.7743267613674, 31.5284618343364, 30.7264789753035,
    30.5258354446067, 26.9143737550779, 26.3900783105141, 26.2494642153229,
    25.6541837248854, 23.723961361835, 25.1403576194408, 26.4924802541156,
    33.5515182749217, 32.9731474236258, 22.9410728104038, 14.4726099895799,
    14.4726099895799, 12.9021732165794, 33.5301520174866, 33.3641886280506,
    33.2817500931026, 32.6353763563543, 32.5562320319588, 24.1474603736604,
    24.1474603736604, 24.1092519948462, 21.1620657641, 25.7274341836643,
    25.5290017158504, 25.7274341836643, 25.5290017158504, 34.5439992172317,
    25.4141648862486, 21.1656203778165, 31.2884410253879, 22.9821029307089,
    22.0263514540474, 23.0649401255032, 21.9468430481884, 16.0331523948941,
    16.1935304733726, 14.6799182745066, 15.1781115120846, 17.7801050860014,
    33.0691112648595, 32.6512494955146, 31.725523972003, 26.4638366952653,
    23.3250888902206, 25.8516180226821, 19.3788120289629, 19.0882529015196,
    19.0722150074884, 25.5346117891147, 25.2143419936145, 23.0840008767134,
    23.0840008767134, 33.4238437448952, 42.0506088522863, 32.9478785042368,
    32.6267466662015, 31.3142194643355, 32.4211528205977, 31.2559944662652,
    32.1097352466569, 31.1259446946281, 31.5497052984366, 25.1126052594469,
    25.3060272613759, 18.2388860257967, 17.6161066851271, 18.3471666161138,
    17.8525051915754, 16.3420980420225, 17.6473315393281, 21.3181270530784,
    26.4663398142244, 20.5677576159384, 25.401997700644, 21.2621170941322,
    26.2145573950957, 20.5062647363485, 25.1528200519264, 21.1218432510333,
    26.2145573950957, 18.4210122751131, 33.0691112648595, 26.6556641802072,
    32.2899161942785, 31.9517683223134, 29.2236217839983, 24.3187934206985,
    19.2817747181913, 19.5157258032775, 17.2507177792766, 17.2507177792766,
    17.1110601696662, 13.8570785388883, 22.01247186061, 21.8445175074418,
    21.7919385382283, 21.5777037097056, 18.8119485812727, 18.6825251385611,
    30.9404566669959, 29.5558251512617, 27.0837969236757, 28.3123779686312,
    27.7923960466705, 25.2262854221658, 24.92941694908, 21.8647793180832,
    26.7536202960708, 24.343020949218, 24.662622967121, 21.1526506443608,
    32.7287827606976, 31.8951084621752, 32.2678842431506, 28.8763278915599,
    27.6839218662126, 23.048092224925, 30.3979439554833, 30.0244382955741,
    37.5951069978098, 37.5951069978098, 30.2228290263917, 29.8557167725841,
    29.6270583323936, 29.0467235793694, 28.6389694795548, 24.2866968391243,
    23.9806041337226, 22.052577785282, 22.0747097939672, 21.9924979117765,
    21.3679875950349, 21.2174855273261, 20.2580965194576, 25.5178380106008,
    33.0754619909028, 24.8037539620954, 24.8037539620954, 24.4867112441592,
    18.0997574028658, 17.9793818727964, 17.8273990524644, 17.7664870729599,
    38.3547086431239, 27.2932941866366, 38.3120205919209, 27.2610756297141,
    26.6171064644809, 35.4055260700386, 25.0777557539364, 26.3648968966003,
    26.6994295408305, 21.998508937234, 32.8488210905178, 24.1513499334353,
    20.5920670775752, 20.1762062799231, 20.5125922782815, 20.1491262131442,
    17.8537950533904, 17.5173394077775, 20.4543389101606, 17.9188356898853,
    19.171293940347, 25.4596886075362, 20.0814094711999
    ])
mpg_bs_poisson.linear_predictors = np.array([
    3.10609624980832, 3.10609624980832, 2.93739566357681, 3.20276979690456,
    3.00629793406294, 3.12721158899991, 3.05608660102651, 3.03738184933733,
    2.9335545669874, 2.85430036085041, 3.17946378824737, 3.17946378824737,
    3.04143559905492, 3.03083908808588, 2.98098758418526, 2.81033180724024,
    2.78392644284256, 2.76155669470604, 3.79474585164685, 3.51308211648978,
    3.4956935157856, 3.51942250434414, 3.51942250434414, 3.28300166762353,
    3.4747549893589, 3.46422752584326, 3.46422752584326, 3.25684027583847,
    3.19124944323147, 2.96809035398114, 3.63969273297066, 3.51899593661304,
    3.56855727914211, 3.45865862916789, 3.45089068817213, 3.42512479018631,
    3.41857338881492, 3.2926604842363, 3.27298811794221, 3.26764557798449,
    3.24470666649875, 3.1664855653221, 3.2244744281779, 3.27686092872792,
    3.51308211648978, 3.4956935157856, 3.13292887653641, 2.67225789684402,
    2.67225789684402, 2.55739576358026, 3.51244509424318, 3.50748312800355,
    3.50500920150253, 3.48539686431283, 3.48296881060363, 3.18417921405787,
    3.18417921405787, 3.18259566702687, 3.05221022812765, 3.24755790051531,
    3.23981512809367, 3.24755790051531, 3.23981512809367, 3.54223385111242,
    3.23530669126982, 3.05237818503949, 3.44324873302594, 3.13471577957874,
    3.09223952994195, 3.13831372110367, 3.08862330449352, 2.77465860323819,
    2.78461180897998, 2.68648045603917, 2.71985435790984, 2.87808014041708,
    3.49859965227091, 3.48588312437807, 3.45712152952405, 3.27577914799641,
    3.14952955766808, 3.25237319174925, 2.96418030576864, 2.94907311450918,
    2.9482325642825, 3.24003485689474, 3.22741295935692, 3.13913977482799,
    3.13913977482799, 3.50926952986597, 3.73887386555994, 3.4949268735718,
    3.48513240187112, 3.44407229037009, 3.47881107460801, 3.44221118070723,
    3.46915926286833, 3.43804170595891, 3.45156424816504, 3.22336992164832,
    3.23104259903575, 2.90355590963404, 2.86881363611135, 2.90947515473725,
    2.88214384524492, 2.79374448033398, 2.87058458437584, 3.05955774614591,
    3.27587372992023, 3.02372468537151, 3.23482782056342, 3.0569269490534,
    3.26631488223122, 3.02073043635419, 3.22497001956098, 3.05030773017343,
    3.26631488223122, 2.91349198453504, 3.49859965227091, 3.28300166762353,
    3.4747549893589, 3.46422752584326, 3.37497734744367, 3.19124944323147,
    2.9591603346448, 2.97122059201258, 2.84785375300452, 2.84785375300452,
    2.83972504797555, 2.62879618791377, 3.09160919548466, 3.08394997506595,
    3.0815401095808, 3.07166054590621, 2.93449223078504, 2.92758860238871,
    3.43206460479669, 3.38628085306311, 3.29893564957711, 3.34329909307524,
    3.32476245978116, 3.22788652320362, 3.21604850974011, 3.08487709188384,
    3.2866698023555, 3.1922451944518, 3.20528885733209, 3.05176522361415,
    3.48825489749758, 3.46245265828934, 3.47407243971087, 3.36302215537105,
    3.32085180663105, 3.13758299920276, 3.41437497308165, 3.4020116599001,
    3.62687390889084, 3.62687390889084, 3.40859756683735, 3.39637633817112,
    3.38868807661617, 3.36890569137327, 3.35476835958596, 3.18992874525813,
    3.17724534251483, 3.09342950142183, 3.09443260003746, 3.09070139119307,
    3.06189389526813, 3.05482563075123, 3.00855454176395, 3.23937773743491,
    3.49879167788239, 3.21099501115507, 3.21099501115507, 3.19813057220198,
    2.89589853502537, 2.88922564985387, 2.88073654644261, 2.8773139339888,
    3.64687730106182, 3.30664103782876, 3.64576370051983, 3.30545988365993,
    3.28155410925581, 3.56686791163023, 3.22198122826548, 3.27203346235845,
    3.28464219966599, 3.09097467548117, 3.49191585663117, 3.18434027640117,
    3.02490590830647, 3.00450400319504, 3.0210389550426, 3.00316092334049,
    2.88221609366084, 2.86319121368963, 3.01819503162959, 2.88585243277332,
    2.95341405297199, 3.23709636239996, 2.99979448514897
    ])
mpg_bs_poisson.deviance = 37.5688885982924
mpg_bs_poisson.null_deviance = 337.261844954099
mpg_bs_poisson.iter = 2
mpg_bs_poisson.weights = np.array([
    22.3336888624052, 22.3336888624052, 18.8666471780852, 24.6005745142783,
    20.2124334840002, 22.8102863289666, 21.2442570213741, 20.8505817458947,
    18.7943175653996, 17.3622856225417, 24.0338628565775, 24.0338628565775,
    20.935276335111, 20.7146066788423, 19.70726962527, 16.6154304243558,
    16.1824357783394, 15.8244576339389, 44.4669337713293, 33.5515182749217,
    32.9731474236259, 33.7649237356661, 33.7649237356661, 26.6556641802073,
    32.2899161942786, 31.9517683223135, 31.9517683223135, 25.9673576911838,
    24.3187934206986, 19.4547324478204, 38.0801341578851, 33.7505237802537,
    35.4653895670087, 31.7743267613674, 31.5284618343365, 30.7264789753035,
    30.5258354446068, 26.9143737550779, 26.3900783105142, 26.249464215323,
    25.6541837248854, 23.7239613618351, 25.1403576194409, 26.4924802541157,
    33.5515182749217, 32.9731474236259, 22.9410728104039, 14.47260998958,
    14.47260998958, 12.9021732165794, 33.5301520174867, 33.3641886280507,
    33.2817500931026, 32.6353763563543, 32.5562320319589, 24.1474603736604,
    24.1474603736604, 24.1092519948462, 21.1620657641001, 25.7274341836644,
    25.5290017158505, 25.7274341836644, 25.5290017158505, 34.5439992172318,
    25.4141648862487, 21.1656203778166, 31.2884410253879, 22.982102930709,
    22.0263514540475, 23.0649401255033, 21.9468430481884, 16.0331523948941,
    16.1935304733727, 14.6799182745067, 15.1781115120846, 17.7801050860015,
    33.0691112648596, 32.6512494955146, 31.7255239720031, 26.4638366952653,
    23.3250888902207, 25.8516180226822, 19.3788120289629, 19.0882529015196,
    19.0722150074884, 25.5346117891148, 25.2143419936146, 23.0840008767135,
    23.0840008767135, 33.4238437448953, 42.0506088522863, 32.9478785042369,
    32.6267466662016, 31.3142194643356, 32.4211528205978, 31.2559944662652,
    32.1097352466569, 31.1259446946282, 31.5497052984367, 25.112605259447,
    25.306027261376, 18.2388860257968, 17.6161066851272, 18.3471666161139,
    17.8525051915755, 16.3420980420226, 17.6473315393282, 21.3181270530784,
    26.4663398142245, 20.5677576159385, 25.4019977006441, 21.2621170941323,
    26.2145573950958, 20.5062647363486, 25.1528200519265, 21.1218432510334,
    26.2145573950958, 18.4210122751131, 33.0691112648596, 26.6556641802073,
    32.2899161942786, 31.9517683223135, 29.2236217839984, 24.3187934206986,
    19.2817747181913, 19.5157258032775, 17.2507177792766, 17.2507177792766,
    17.1110601696662, 13.8570785388883, 22.0124718606101, 21.8445175074419,
    21.7919385382284, 21.5777037097057, 18.8119485812728, 18.6825251385612,
    30.940456666996, 29.5558251512618, 27.0837969236757, 28.3123779686313,
    27.7923960466706, 25.2262854221659, 24.9294169490801, 21.8647793180832,
    26.7536202960709, 24.343020949218, 24.6626229671211, 21.1526506443609,
    32.7287827606977, 31.8951084621753, 32.2678842431507, 28.87632789156,
    27.6839218662126, 23.048092224925, 30.3979439554834, 30.0244382955742,
    37.5951069978099, 37.5951069978099, 30.2228290263918, 29.8557167725842,
    29.6270583323937, 29.0467235793695, 28.6389694795549, 24.2866968391243,
    23.9806041337226, 22.0525777852821, 22.0747097939672, 21.9924979117766,
    21.3679875950349, 21.2174855273262, 20.2580965194577, 25.5178380106008,
    33.0754619909028, 24.8037539620955, 24.8037539620955, 24.4867112441593,
    18.0997574028658, 17.9793818727964, 17.8273990524644, 17.7664870729599,
    38.3547086431239, 27.2932941866367, 38.312020591921, 27.2610756297141,
    26.6171064644809, 35.4055260700387, 25.0777557539365, 26.3648968966003,
    26.6994295408305, 21.9985089372341, 32.8488210905178, 24.1513499334354,
    20.5920670775753, 20.1762062799232, 20.5125922782816, 20.1491262131442,
    17.8537950533905, 17.5173394077776, 20.4543389101607, 17.9188356898853,
    19.1712939403471, 25.4596886075362, 20.0814094712
    ])
mpg_bs_poisson.working_weights = np.array([
    22.3336888624052, 22.3336888624052, 18.8666471780852, 24.6005745142783,
    20.2124334840002, 22.8102863289666, 21.2442570213741, 20.8505817458947,
    18.7943175653996, 17.3622856225417, 24.0338628565775, 24.0338628565775,
    20.935276335111, 20.7146066788423, 19.70726962527, 16.6154304243558,
    16.1824357783394, 15.8244576339389, 44.4669337713293, 33.5515182749217,
    32.9731474236259, 33.7649237356661, 33.7649237356661, 26.6556641802073,
    32.2899161942786, 31.9517683223135, 31.9517683223135, 25.9673576911838,
    24.3187934206986, 19.4547324478204, 38.0801341578851, 33.7505237802537,
    35.4653895670087, 31.7743267613674, 31.5284618343365, 30.7264789753035,
    30.5258354446068, 26.9143737550779, 26.3900783105142, 26.249464215323,
    25.6541837248854, 23.7239613618351, 25.1403576194409, 26.4924802541157,
    33.5515182749217, 32.9731474236259, 22.9410728104039, 14.47260998958,
    14.47260998958, 12.9021732165794, 33.5301520174867, 33.3641886280507,
    33.2817500931026, 32.6353763563543, 32.5562320319589, 24.1474603736604,
    24.1474603736604, 24.1092519948462, 21.1620657641001, 25.7274341836644,
    25.5290017158505, 25.7274341836644, 25.5290017158505, 34.5439992172318,
    25.4141648862487, 21.1656203778166, 31.2884410253879, 22.982102930709,
    22.0263514540475, 23.0649401255033, 21.9468430481884, 16.0331523948941,
    16.1935304733727, 14.6799182745067, 15.1781115120846, 17.7801050860015,
    33.0691112648596, 32.6512494955146, 31.7255239720031, 26.4638366952653,
    23.3250888902207, 25.8516180226822, 19.3788120289629, 19.0882529015196,
    19.0722150074884, 25.5346117891148, 25.2143419936146, 23.0840008767135,
    23.0840008767135, 33.4238437448953, 42.0506088522863, 32.9478785042369,
    32.6267466662016, 31.3142194643356, 32.4211528205978, 31.2559944662652,
    32.1097352466569, 31.1259446946282, 31.5497052984367, 25.112605259447,
    25.306027261376, 18.2388860257968, 17.6161066851272, 18.3471666161139,
    17.8525051915755, 16.3420980420226, 17.6473315393282, 21.3181270530784,
    26.4663398142245, 20.5677576159385, 25.4019977006441, 21.2621170941323,
    26.2145573950958, 20.5062647363486, 25.1528200519265, 21.1218432510334,
    26.2145573950958, 18.4210122751131, 33.0691112648596, 26.6556641802073,
    32.2899161942786, 31.9517683223135, 29.2236217839984, 24.3187934206986,
    19.2817747181913, 19.5157258032775, 17.2507177792766, 17.2507177792766,
    17.1110601696662, 13.8570785388883, 22.0124718606101, 21.8445175074419,
    21.7919385382284, 21.5777037097057, 18.8119485812728, 18.6825251385612,
    30.940456666996, 29.5558251512618, 27.0837969236757, 28.3123779686313,
    27.7923960466706, 25.2262854221659, 24.9294169490801, 21.8647793180832,
    26.7536202960709, 24.343020949218, 24.6626229671211, 21.1526506443609,
    32.7287827606977, 31.8951084621753, 32.2678842431507, 28.87632789156,
    27.6839218662126, 23.048092224925, 30.3979439554834, 30.0244382955742,
    37.5951069978099, 37.5951069978099, 30.2228290263918, 29.8557167725842,
    29.6270583323937, 29.0467235793695, 28.6389694795549, 24.2866968391243,
    23.9806041337226, 22.0525777852821, 22.0747097939672, 21.9924979117766,
    21.3679875950349, 21.2174855273262, 20.2580965194577, 25.5178380106008,
    33.0754619909028, 24.8037539620955, 24.8037539620955, 24.4867112441593,
    18.0997574028658, 17.9793818727964, 17.8273990524644, 17.7664870729599,
    38.3547086431239, 27.2932941866367, 38.312020591921, 27.2610756297141,
    26.6171064644809, 35.4055260700387, 25.0777557539365, 26.3648968966003,
    26.6994295408305, 21.9985089372341, 32.8488210905178, 24.1513499334354,
    20.5920670775753, 20.1762062799232, 20.5125922782816, 20.1491262131442,
    17.8537950533905, 17.5173394077776, 20.4543389101607, 17.9188356898853,
    19.1712939403471, 25.4596886075362, 20.0814094712
    ])
mpg_bs_poisson.prior_weights = np.array([
    1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
    1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
    1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
    1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
    1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
    1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
    1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
    1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
    1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
    ])
mpg_bs_poisson.df_null = 202
mpg_bs_poisson.y = np.array([
    21, 21, 19, 24, 18, 19, 19, 19, 17, 16, 23, 23, 21, 21, 20, 16, 16, 15,
    47, 38, 38, 37, 31, 24, 31, 31, 31, 24, 24, 19, 49, 31, 38, 30, 30, 30,
    30, 27, 27, 27, 27, 24, 25, 24, 38, 38, 24, 15, 15, 13, 30, 31, 31, 31,
    31, 17, 17, 17, 16, 26, 26, 26, 26, 36, 26, 19, 31, 22, 22, 22, 22, 16,
    16, 14, 14, 19, 37, 31, 31, 24, 23, 25, 19, 19, 19, 25, 25, 23, 23, 31,
    45, 31, 31, 31, 31, 31, 31, 31, 31, 27, 27, 17, 17, 19, 19, 17, 19, 19,
    28, 19, 25, 19, 28, 19, 25, 19, 28, 18, 37, 24, 31, 31, 31, 24, 19, 19,
    17, 17, 17, 17, 21, 21, 21, 21, 19, 19, 31, 26, 26, 32, 28, 26, 24, 24,
    28, 25, 23, 23, 35, 31, 31, 31, 27, 27, 30, 30, 34, 38, 38, 28, 28, 29,
    29, 26, 26, 24, 24, 24, 24, 24, 24, 29, 30, 27, 27, 27, 20, 19, 20, 19,
    37, 27, 37, 27, 27, 37, 26, 24, 24, 19, 33, 25, 23, 23, 24, 24, 17, 17,
    23, 19, 18, 26, 19
    ])
mpg_bs_poisson.rV = np.array([
    0, 0, 0, 0, -8.9130297985463e-05, -0.000176684273823698,
    0.0011584583691732, -0.00390049177471793, 0.00344010782379437,
    -0.00135790861015704, -0.000111385074008239, -0.000176972060004861,
    -9.86203908496754e-05, -3.64890558944375e-05, -3.08026950210881e-05, 0,
    0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1.00732908209018e-08,
    -1.9968429523216e-08, 1.3092616450685e-07, -4.40824151599687e-07,
    3.88792670366615e-07, -1.53467548605631e-07, -1.25884718098402e-08,
    -2.00009544217366e-08, -1.11458381757212e-08, -4.12390489107036e-09,
    -3.48124613097974e-09, 0.000484189713776837, 0.00176326319300196,
    -0.00213289729840957, 0.00171891163782342, 0.000158871132568822,
    0.000404028755237099, 0.000172315861842303, 4.89726562858341e-05,
    1.83249073133473e-05, 0, 0, 0, 0, -0.000254544577467626,
    -0.001035854174059, 0.0046293795015643, -0.00326301657903083,
    -0.00369019497478088, 0.00424113890068213, -0.00111478223779753,
    -8.31563834028823e-05, 3.46682153808709e-06, -1.64898555754477e-05,
    -9.07732254822129e-06, 6.0169393955401e-07, 2.19117578684648e-06,
    -2.65051351077577e-06, 2.13606089860863e-06, 1.97426328806317e-07,
    5.0207934310591e-07, 2.14133854581071e-07, 6.08574483361064e-08,
    2.27720361659973e-08, 0, 0, 0, 0, -8.67530824448457e-07,
    -3.50085835082344e-06, 1.5704337049189e-05, -1.1558369799142e-05,
    -1.18261820387094e-05, 1.40035677392858e-05, -3.75511703912262e-06,
    -3.06863463308056e-07, -4.02009554224386e-09, -6.10721916028877e-08,
    -3.5318767498273e-08, -0.000382530042043907, -0.00255975045612884,
    -2.99883291413828e-06, 0.00294330517341526, -0.00281607442586145,
    0.000253368944788171, -0.000122754106081541, -4.2763005163725e-05,
    -1.30236129168315e-05, 0, 0, 0, 0, -0.00966644355174144,
    0.00269105367197029, -0.00334645589725531, -0.00234181093625769,
    -0.00216540983679256, -0.00066383484979213, -0.00237599704209698,
    -0.0025908794761289, -0.00118961452521134, -0.00047380312071635,
    -0.000383619934532888, 5.15841833882531e-08, -1.94845144065131e-07,
    -7.80952028852524e-07, 1.59403673671029e-06, -8.65625953468978e-07,
    2.30856760369028e-07, 2.27477703785993e-08, 3.88153165550371e-09,
    2.42916435116361e-09, 0, 0, 0, 0, 0.00206071513456646,
    0.00259032221886972, -0.00462767183063042, -0.000812824166230881,
    0.00327127979674583, 0.00636775605071208, -0.00706904029020125,
    0.0038451705444942, -4.78467478660841e-05, 3.51536747705564e-06,
    0.000141313878548576, 2.10782460099238e-07, 3.38869931168823e-06,
    2.86390520594828e-06, -8.91501199000953e-06, 6.11375240450779e-06,
    -1.11044209821123e-06, 4.49490645479527e-08, 3.046867980894e-08,
    4.71123050344579e-09, 0, 0, 0, 0, 0.00216388091005572,
    0.0072785576896648, -0.00311587959475874, -0.00239308716572744,
    0.00144238479341897, 0.00678208940398299, 0.00874004674289753,
    -0.00685793621788863, 0.0033588493044311, 0.000612698808337676,
    0.000171678666979125, -6.30057645838362e-07, -5.07268731106957e-06,
    -1.24429998247157e-06, 8.00582245681437e-06, -6.61366914887778e-06,
    8.37690225444627e-07, -1.92360546261274e-07, -7.34241156464652e-08,
    -2.03835562953002e-08, 0, 0, 0, 0, -2.2318052171308e-05,
    1.00187730987837e-06, 5.83061748307947e-05, -3.45050041792168e-05,
    -5.05331594075182e-05, 9.27165882205839e-06, 7.16977964102637e-05,
    -5.71805931575351e-05, 1.06595362126306e-05, 1.37331425262819e-06,
    -1.03861037743204e-06, -6.16816513887191e-05, -0.00397223763403223,
    -0.00331945740763105, 0.00040255086143712, 0.00378466857534277,
    -0.00325030280975968, -0.000271335113409458, -7.80253442210804e-05,
    -4.36513398991459e-05, 0, 0, 0, 0, 0.00182160098394648,
    0.0140353939250751, 0.00184333025785555, -0.00371605504172841,
    -0.00536561351594821, -0.00495181859482273, 0.00458467528732412,
    0.0128362620543724, -0.00605747342330702, 0.00204832461339022,
    -7.6277769152395e-05, -4.19141107502209e-06, -0.000129533993153208,
    -9.63657701282369e-05, 4.2472204591931e-05, 7.84167279344425e-05,
    -8.63726646261737e-05, -8.24485498650714e-06, -2.44196733700831e-06,
    -1.2846096191467e-06, 0, 0, 0, 0, -0.000111854458371005,
    -0.0030362002288163, -0.00103705133742332, 0.000437977493539271,
    0.00133786612382401, 0.00225092840905142, 0.000927619479306194,
    -0.00201944800380486, -0.0101339323949803, 0.0226636304940929,
    -0.0123761853740514, 1.01542617077534e-06, 2.85681463258814e-05,
    2.05230490131649e-05, -8.90719228375958e-06, -1.70051211426309e-05,
    1.88733138779214e-05, 1.83051339841541e-06, 5.41785688208812e-07,
    2.8339017949807e-07, 0, 0, 0, 0, 4.65402191088959e-05,
    0.000191816594322909, -4.54028851717489e-06, -3.18890377626848e-05,
    -5.7674071220918e-05, -3.79391537768814e-05, 2.39849167980979e-05,
    0.000203747166481438, -0.000106995289962793, 7.69291581175877e-05,
    -2.64037729668823e-05, -0.00177978600426665, 0.00388593763522146,
    0.00772623228480497, 0.00736829029955221, 0.00358935560508782,
    -0.00791584614212573, 0.00260070979940973, 0.000494193187052966,
    -5.16890264935234e-06, 0, 0, 0, 0, -0.000752774096418275,
    0.0145172326131151, 0.0135584669346244, 0.0084247696435658,
    0.00341964710536383, -0.00534543003921537, -0.0119819810541305,
    -0.00576414999763685, 0.0175467982472431, 0.00703564364103214,
    -0.0075588975595249, 0.000162124661698533, -0.000517363075356893,
    -0.000843527567273272, -0.000640702296616474, -0.000228240599694238,
    0.000629209863537068, -0.000252521203049104, -4.90223702087604e-05,
    -1.08712652734942e-06, 0, 0, 0, 0, -0.00572677403360511,
    0.00870397569070348, 0.0156669586701219, 0.0147970077092393,
    0.0140991545215927, 0.00845910163493166, 0.000446479103855692,
    -0.00616089183508052, -0.0303069331722817, -0.0036612206130011,
    0.0217792101261298, 0.000189946466274698, -0.000505169752388413,
    -0.000908200445697714, -0.000760865821994572, -0.000317806093180382,
    0.000783677174543439, -0.000284599371195069, -5.46600275429753e-05,
    -3.4861779513484e-07, 0, 0, 0, 0, 0.000154872794432739,
    0.000347867145902534, -0.000103102401856294, -0.000392898983966799,
    -0.000575837864553121, -0.000562899412506052, -9.71872572167717e-05,
    0.000520814308366405, 0.00099813091123171, 2.08971401302817e-05,
    -0.000592020227328858, -0.00410594365252939, -9.93367498970981e-05,
    0.0033499368419802, 0.00467254784048401, 0.00668857971950258,
    0.0067164286612312, -0.0212771297885921, 0.0294716435709253,
    -0.0154755121605764, 0, 0, 0, 0, -0.000206206119749145,
    0.00205597864873973, 0.00168384931295861, 0.000749679428496663,
    8.41486634926737e-05, -0.000706726922678021, -0.000617139988013067,
