diff --git a/p2/data/ir.csv b/p2/data/ir.csv new file mode 100644 index 0000000..70ae936 --- /dev/null +++ b/p2/data/ir.csv @@ -0,0 +1,725 @@ +0 +0.0192028646383317 +0.0365468366356751 +0.0521969701061272 +0.0663037830433006 +0.0790045364572426 +0.0904244009601488 +0.100677520704167 +0.109867983703204 +0.118090706775934 +0.125432242622432 +0.131971515885833 +0.137780494447574 +0.142924801654974 +0.147464274678467 +0.151453473738515 +0.154942146525129 +0.157975651752584 +0.160595345444996 +0.162838933232035 +0.164740791645539 +0.166332261144614 +0.167641913356812 +0.168695794804103 +0.16951764918274 +0.170129120084029 +0.170549935877025 +0.170798078322701 +0.170889936351059 +0.170840446306684 +0.170663219853393 +0.170370660623837 +0.169974070604386 +0.169483747158506 +0.168909071512321 +0.16825858945362 +0.167540084929447 +0.166760647167114 +0.165926731888533 +0.165044217137586 +0.164118454194528 +0.163154314009736 +0.162156229551041 +0.161128234424221 +0.160073998094582 +0.158996858008691 +0.157899848889035 +0.156785729450356 +0.15565700676453 +0.154515958480908 +0.153364653090811 +0.152204968408287 +0.151038608424082 +0.149867118675967 +0.148691900265979 +0.147514222643633 +0.146335235263695 +0.145155978217543 +0.143977391928447 +0.142800325993124 +0.141625547244697 +0.140453747105582 +0.139285548292772 +0.138121510932514 +0.136962138136345 +0.135807881085902 +0.134659143669714 +0.133516286711412 +0.132379631825321 +0.131249464932203 +0.130126039465088 +0.12900957929244 +0.127900281383557 +0.12679831823887 +0.12570384010585 +0.124616976999383 +0.123537840543823 +0.122466525652422 +0.121403112058443 +0.120347665711025 +0.11930024004769 +0.118260877154357 +0.117229608822772 +0.116206457514372 +0.115191437238836 +0.114184554354814 +0.113185808299709 +0.11219519225474 +0.111212693750996 +0.110238295221672 +0.10927197450523 +0.108313705303807 +0.107363457600807 +0.106421198041281 +0.10548689027837 +0.10456049528879 +0.103641971660115 +0.102731275852308 +0.101828362435799 +0.100933184308164 +0.100045692891291 +0.0991658383107597 +0.0982935695590022 +0.0974288346436722 +0.0965715807225315 +0.0957217542260424 +0.0948793009687529 +0.0940441662504619 +0.0932162949480705 +0.0923956315989403 +0.0915821204765101 +0.0907757056588567 +0.0899763310908228 +0.0891839406402829 +0.0883984781490652 +0.0876198874790043 +0.0868481125535555 +0.0860830973953662 +0.0853247861601612 +0.0845731231672718 +0.0838280529271063 +0.0830895201658338 +0.0823574698475312 +0.0816318471940182 +0.0809125977025885 +0.0801996671618237 +0.0794930016656637 +0.0787925476258887 +0.078098251783156 +0.077410061216722 +0.0767279233529684 +0.0760517859728398 +0.0753815972182928 +0.0747173055978449 +0.0740588599913078 +0.0734062096537763 +0.072759304218945 +0.0721180937018114 +0.0714825285008248 +0.0708525593995307 +0.0702281375677591 +0.0696092145623991 +0.0689957423277987 +0.0683876731958259 +0.0677849598856233 +0.0671875555030863 +0.066595413540091 +0.0660084878734968 +0.0654267327639471 +0.0648501028544865 +0.0642785531690148 +0.0637120391105941 +0.0631505164596243 +0.0625939413719007 +0.0620422703765683 +0.0614954603739814 +0.0609534686334822 +0.0604162527911056 +0.0598837708472205 +0.0593559811641155 +0.0588328424635342 +0.0583143138241707 +0.0578003546791264 +0.0572909248133381 +0.0567859843609792 +0.0562854938028397 +0.0557894139636892 +0.0552977060096267 +0.054810331445419 +0.0543272521118337 +0.053848430182966 +0.0533738281635656 +0.0529034088863617 +0.0524371355093926 +0.0519749715133379 +0.0515168806988576 +0.051062827183938 +0.050612775401247 +0.0501666900954985 +0.0497245363208284 +0.0492862794381831 +0.0488518851127196 +0.0484213193112203 +0.0479945482995221 +0.0475715386399598 +0.0471522571888259 +0.0467366710938456 +0.046324747791669 +0.0459164550053793 +0.0455117607420188 +0.0451106332901317 +0.0447130412173251 +0.0443189533678474 +0.0439283388601848 +0.0435411670846759 +0.0431574077011449 +0.0427770306365521 +0.0424000060826644 +0.0420263044937425 +0.041655896584248 +0.0412887533265676 +0.0409248459487572 +0.0405641459323032 +0.0402066250099028 +0.0398522551632625 +0.0395010086209148 +0.0391528578560538 +0.0388077755843875 +0.0384657347620097 +0.0381267085832892 +0.0377906704787769 +0.0374575941131307 +0.0371274533830582 +0.0368002224152771 +0.0364758755644931 +0.0361543874113945 +0.0358357327606653 +0.0355198866390146 +0.0352068242932227 +0.0348965211882054 +0.0345889530050937 +0.0342840956393311 +0.0339819251987871 +0.0336824180018869 +0.0333855505757577 +0.0330912996543915 +0.0327996421768228 +0.0325105552853235 +0.0322240163236128 +0.0319400028350829 +0.0316584925610402 +0.0313794634389626 +0.0311028936007705 +0.0308287613711148 +0.0305570452656783 +0.0302877239894934 +0.0300207764352732 +0.0297561816817586 +0.0294939189920787 +0.0292339678121265 +0.0289763077689484 +0.0287209186691482 +0.0284677804973043 +0.0282168734144022 +0.0279681777562796 +0.0277216740320855 +0.0274773429227533 +0.0272351652794866 +0.0269951221222589 +0.0267571946383265 +0.0265213641807539 +0.0262876122669528 +0.0260559205772337 +0.0258262709533704 +0.0255986453971768 +0.0253730260690967 +0.0251493952868057 +0.0249277355238254 +0.0247080294081501 +0.0244902597208852 +0.0242744093948981 +0.02406046151348 +0.0238483993090212 +0.0236382061616961 +0.0234298655981611 +0.0232233612902639 +0.0230186770537631 +0.0228157968470606 +0.0226147047699441 +0.022415385062341 +0.0222178221030831 +0.0220220004086829 +0.0218279046321194 +0.0216355195616361 +0.0214448301195482 +0.0212558213610614 +0.0210684784731005 +0.0208827867731482 +0.0206987317080949 +0.0205162988530981 +0.0203354739104512 +0.020156242708464 +0.0199785912003512 +0.0198025054631321 +0.0196279716965391 +0.0194549762219361 +0.0192835054812468 +0.0191135460358919 +0.0189450845657359 +0.0187781078680432 +0.0186126028564435 +0.0184485565599059 +0.0182859561217228 +0.0181247887985016 +0.0179650419591667 +0.0178067030839691 +0.0176497597635055 +0.0174941996977454 +0.0173400106950674 +0.0171871806713038 +0.017035697648793 +0.0168855497554416 +0.0167367252237931 +0.0165892123901064 +0.0164429996934411 +0.0162980756747518 +0.01615442897599 +0.0160120483392138 +0.0158709226057056 +0.0157310407150976 +0.0155923917045052 +0.0154549647076673 +0.0153187489540953 +0.0151837337682285 +0.0150499085685976 +0.0149172628669955 +0.0147857862676551 +0.014655468466435 +0.0145262992500112 +0.0143982684950774 +0.0142713661675512 +0.0141455823217879 +0.0140209070998007 +0.0138973307304885 +0.01377484352887 +0.0136534358953247 +0.0135330983148402 +0.0134138213562669 +0.0132955956715789 +0.013178411995141 +0.0130622611429827 +0.0129471340120786 +0.0128330215796347 +0.0127199149023815 +0.0126078051158729 +0.0124966834337916 +0.0123865411472605 +0.01227736962416 +0.0121691603084517 +0.0120619047195077 +0.0119555944514459 +0.0118502211724715 +0.0117457766242236 +0.0116422526211284 +0.0115396410497573 +0.0114379338681914 +0.0113371231053907 +0.01123720086057 +0.0111381593025794 +0.0110399906692905 +0.0109426872669882 +0.0108462414697675 +0.0107506457189361 +0.0106558925224221 +0.0105619744541863 +0.0104688841536408 +0.0103766143250718 +0.0102851577370677 +0.0101945072219528 +0.0101046556752253 +0.0100155960550003 +0.00992732138145826 +0.00983982473629775 +0.00975309926219337 +0.00966713816225826 +0.00958193469951143 +0.00949748219634976 +0.00941377403402466 +0.00933080365212336 +0.00924856454805473 +0.00916705027653966 +0.00908625444910595 +0.00900617073358761 +0.00892679285362858 +0.00884811458819088 +0.00877012977106701 +0.00869283229039672 +0.00861621608818796 +0.00854027515984218 +0.00846500355368364 +0.00839039537049307 +0.00831644476304521 +0.00824314593565068 +0.00817049314370163 +0.00809848069322163 +0.00802710294041935 +0.00795635429124626 +0.00788622920095824 +0.00781672217368097 +0.00774782776197927 +0.00767954056643009 +0.00761185523519944 +0.00754476646362286 +0.00747826899378976 +0.00741235761413129 +0.00734702715901192 +0.00728227250832459 +0.00721808858708944 +0.00715447036505608 +0.00709141285630932 +0.00702891111887846 +0.00696696025434995 +0.00690555540748347 +0.00684469176583147 +0.00678436455936196 +0.00672456906008466 +0.00666530058168051 +0.00660655447913434 +0.00654832614837087 +0.00649061102589383 +0.00643340458842837 +0.00637670235256648 +0.00632049987441571 +0.00626479274925079 +0.00620957661116851 +0.0061548471327455 +0.00610060002469908 +0.00604683103555115 +0.00599353595129491 +0.00594071059506466 +0.00588835082680845 +0.00583645254296357 +0.00578501167613498 +0.00573402419477652 +0.00568348610287495 +0.00563339343963679 +0.00558374227917789 +0.00553452873021575 +0.00548574893576453 +0.00543739907283281 +0.00538947535212395 +0.0053419740177391 +0.00529489134688288 +0.00524822364957156 +0.00520196726834393 +0.00515611857797461 +0.00511067398518994 +0.00506562992838638 +0.00502098287735138 +0.00497672933298668 +0.00493286582703412 +0.00488938892180378 +0.0048462952099046 +0.0048035813139773 +0.00476124388642972 +0.00471927960917443 +0.0046776851933687 +0.00463645737915674 +0.00459559293541425 +0.00455508865949513 +0.00451494137698051 +0.00447514794142998 +0.00443570523413496 +0.00439661016387432 +0.00435785966667209 +0.0043194507055573 +0.00428138027032604 +0.00424364537730546 +0.00420624306911999 +0.00416917041445956 +0.00413242450784982 +0.00409600246942447 +0.00405990144469957 +0.00402411860434978 +0.00398865114398665 +0.00395349628393885 +0.00391865126903427 +0.00388411336838413 +0.00384987987516896 +0.00381594810642642 +0.00378231540284106 +0.0037489791285359 +0.00371593667086584 +0.00368318544021291 +0.0036507228697833 +0.00361854641540623 +0.0035866535553345 +0.00355504179004692 +0.00352370864205236 +0.00349265165569562 +0.00346186839696496 +0.00343135645330132 +0.00340111343340929 +0.00337113696706967 +0.0033414247049537 +0.00331197431843894 +0.00328278349942681 +0.00325384996016164 +0.00322517143305142 +0.00319674567049005 +0.00316857044468121 +0.00314064354746376 +0.00311296279013868 +0.00308552600329751 +0.00305833103665237 +0.00303137575886744 +0.00300465805739185 +0.00297817583829421 +0.00295192702609843 +0.0029259095636211 +0.00290012141181025 +0.00287456054958555 +0.00284922497367991 +0.00282411269848246 +0.00279922175588296 +0.00277455019511756 +0.00275009608261589 +0.00272585750184953 +0.00270183255318179 +0.00267801935371889 +0.0026544160371623 +0.00263102075366257 +0.00260783166967429 +0.00258484696781239 +0.00256206484670977 +0.00253948352087603 +0.00251710122055761 +0.00249491619159907 +0.00247292669530559 +0.00245113100830674 +0.00242952742242138 +0.00240811424452381 +0.00238688979641107 +0.00236585241467142 +0.00234500045055394 +0.00232433226983938 +0.00230384625271201 +0.00228354079363273 +0.0022634143012132 +0.00224346519809113 +0.00222369192080667 +0.00220409291967988 +0.00218466665868924 +0.00216541161535131 +0.00214632628060141 +0.00212740915867531 +0.00210865876699205 +0.0020900736360377 +0.00207165230925025 +0.0020533933429054 +0.00203529530600344 +0.00201735678015708 +0.00199957635948032 +0.00198195265047825 +0.0019644842719378 +0.00194716985481957 +0.00193000804215047 +0.0019129974889174 +0.00189613686196182 +0.0018794248398753 +0.00186286011289591 +0.0018464413828056 +0.00183016736282848 +0.00181403677752992 +0.00179804836271661 +0.0017822008653375 +0.0017664930433856 +0.00175092366580058 +0.00173549151237237 +0.00172019537364547 +0.00170503405082421 +0.00169000635567874 +0.00167511111045195 +0.00166034714776716 +0.00164571331053662 +0.00163120845187081 +0.00161683143498861 +0.00160258113312814 +0.0015884564294585 +0.00157445621699223 +0.00156057939849854 +0.00154682488641733 +0.00153319160277395 +0.00151967847909472 +0.00150628445632319 +0.00149300848473715 +0.00147984952386631 +0.00146680654241085 +0.0014538785181605 +0.00144106443791447 +0.00142836329740207 +0.00141577410120392 +0.00140329586267405 +0.00139092760386246 +0.00137866835543856 +0.00136651715661515 +0.00135447305507317 +0.001342535106887 +0.00133070237645054 +0.00131897393640385 +0.00130734886756049 +0.00129582625883548 +0.00128440520717386 +0.00127308481747998 +0.00126186420254729 +0.00125074248298885 +0.00123971878716837 +0.00122879225113194 +0.00121796201854027 +0.00120722724060165 +0.00119658707600535 +0.00118604069085573 +0.00117558725860686 +0.00116522595999777 +0.00115495598298824 +0.00114477652269512 +0.00113468678132929 +0.00112468596813311 +0.00111477329931848 +0.00110494799800536 +0.00109520929416094 +0.00108555642453926 +0.00107598863262138 +0.00106650516855613 +0.0010571052891013 +0.00104778825756542 +0.00103855334375001 +0.00102939982389236 +0.0010203269806088 +0.00101133410283849 +0.00100242048578766 +0.000993585430874406 +0.000984828245673944 +0.000976148243864312 +0.000967544745172606 +0.000959017075321657 +0.000950564565977184 +0.000942186554695423 +0.000933882384871201 +0.000925651405686483 +0.00091749297205936 +0.000909406444593498 +0.000901391189528022 +0.00089344657868785 +0.000885571989434459 +0.000877766804617091 +0.000870030412524379 +0.000862362206836414 +0.000854761586577218 +0.00084722795606765 +0.000839760724878718 +0.000832359307785308 +0.000825023124720315 +0.000817751600729185 +0.000810544165924854 +0.000803400255443084 +0.00079631930939819 +0.000789300772839168 +0.000782344095706193 +0.000775448732787518 +0.000768614143676737 +0.000761839792730439 +0.000755125149026223 +0.000748469686321088 +0.000741872883010197 +0.000735334222085988 +0.000728853191097663 +0.000722429282111022 +0.000716061991668653 +0.000709750820750481 +0.000703495274734652 +0.000697294863358772 +0.000691149100681486 +0.000685057505044385 +0.000679019599034269 +0.000673034909445722 +0.000667102967244027 +0.000661223307528412 +0.00065539546949561 +0.000649618996403743 +0.000643893435536531 +0.000638218338167809 +0.00063259325952636 +0.000627017758761055 +0.000621491398906304 +0.000616013746847812 +0.000610584373288631 +0.000605202852715517 +0.000599868763365582 +0.000594581687193237 +0.000589341209837433 +0.000584146920589181 +0.000578998412359367 +0.00057389528164685 +0.000568837128506833 +0.00056382355651952 +0.000558854172759053 +0.000553928587762707 +0.000549046415500379 +0.000544207273344323 +0.000539410782039171 +0.000534656565672204 +0.000529944251643893 +0.000525273470638699 +0.000520643856596125 +0.000516055046682032 +0.000511506681260197 +0.000506998403864133 +0.000502529861169149 +0.000498100702964657 +0.00049371058212673 +0.000489359154590895 +0.000485046079325165 +0.000480771018303315 +0.000476533636478391 +0.000472333601756446 +0.000468170584970519 +0.000464044259854834 +0.000459954303019231 +0.000455900393923821 +0.000451882214853863 +0.000447899450894866 +0.000443951789907909 +0.000440038922505175 +0.000436160542025704 +0.000432316344511363 +0.000428506028683019 +0.00042472929591693 +0.000420985850221341 +0.000417275398213286 +0.000413597649095593 +0.000409952314634098 +0.000406339109135051 +0.000402757749422726 +0.000399207954817231 diff --git a/p2/data/ircra.csv b/p2/data/ircra.csv new file mode 100644 index 0000000..f9c5bce --- /dev/null +++ b/p2/data/ircra.csv @@ -0,0 +1,21 @@ +0.0194369848077255 +0.0270576193898639 +-0.000203225003971705 +-0.0102706572524384 +-0.00884216055913888 +-0.000366186886412452 +-0.000219982234054646 +-0.00149268609912265 +0.000748484509469352 +-0.00453040500050536 +-0.000257043422751901 +0.00145363636572128 +-0.00456934974933234 +-0.00755290538420915 +-0.0075171331613604 +0.00466574928050077 +-0.00128535964942171 +0.00123161653403957 +0.00585880811811966 +0.00552893057498159 +0.009885639351612 diff --git a/p2/res/cra-impulse-response-estimate.png b/p2/res/cra-impulse-response-estimate.png new file mode 100644 index 0000000..100e294 Binary files /dev/null and b/p2/res/cra-impulse-response-estimate.png differ diff --git a/p2/res/impulse-response.png b/p2/res/impulse-response.png new file mode 100644 index 0000000..72de875 Binary files /dev/null and b/p2/res/impulse-response.png differ