Art, Music, and Creative Writing homework help
Art, Music, and Creative Writing homework help. Use the file names to identify the corresponding questions. For instance,Question1.yourname.sas’. For all the questions below, use degrees of freedom N – 1.1. (32 points) Given a dataset, (file data.online.scores.txt) which includes the records of students’ exam scores (sample from the population) for the past few years of an online course. The first column students’ id, the second column is the mid-term scores, and the third column is the final scores, and data are splitted by tab. Based on the dataset, give out the following statistical description of data. If the result is not integer, then round it to 3 decimal places. Give out the basic statistical description about mid-term scores.a. (8 p) Max, minb. (12 p) First quartile Q1, median, third quartile Q3.c. (4 p) The mean score.d. (4 p) The mode score.e. (4 p) Empirical Variance.2. (25 points) Based on the data of students’ score (file data.online.scores.txt). Please normalize the mid-term score using z-score normalization (divided by the empirical standard deviation).a. (10 p) Compare the empirical variance before and after normalization.b. (5 p) Given original score of 90, what is the corresponding score after normalization?c. (5 p) Pearson’s correlation coefficient between midterm scores and final scores is:d. (5 p) Covariance between midterm scores and final scores is:data.online.score.txt097951839927981372844928457891679897686787876977811075831190991285841377100148986158687166587176794186776199393208391219710022868923614324857725969026799827616828939329989730848731549732887533869534779335919936951003780833862783964814080894194100429079438278447466455981467189479293487999499497506178517694529487538397543982558093565371571009858789159979660699361559362908363759764588265939966819867688868779269737370919871928772757773659374749675779576616277808678526179535780849381947182909983647884558785588186918687759788919289879890901009188979268939361809495979555769677909791989884869979921007788101909210282951038391104779010574851068281107809210864901096691110638811150641127981113889711487841157682116749911710010011876841198894120778212175871228793123829012472771257274126789212768971288298129789713060591316977132100951337092134738313592951366680137621001388395139741001407975141728914269951437186144779614583911465776147718214881881497296150768715178911527566153749615490951557082156658615790931585561159809016096861617792162859516385981647582165828016685921675074168819916972861709794171547417274811736578174768717580801768595177588317860761797193180939518156671827999183959718464961858392186919018774761886796189766119097971918689192100961938089194759219554591967190197626119881971996185200676120158722027394203939120463562057597206869420791952085989209699421070992116290212586621389922145286215857321663892179195218979321968682208192221819022277872239090224759822577962266574227769222883882295384230588223183922326284233869223461892357293236848723783822387095239989924074962417688242689324368852448788245667724685902479077248738624974962509510025197992528783253739925482712558396256849725774852586988259929326062842619297262586726378852646896265748326667892676377268599026967100270749627170992727567273809227484972759494276669527786962786376279808328071712818087282838828391832849610028586992868593287619928851822897792290728629168902928392293808629461792959996296967529774802987067299738930056643016488302789930364973047379305891003069797307898830880853098597310698031172843127787313708531484953156989316839331745673187596319736532089933213851322506532375773248985325858932682773277892328889432966963309499331777833270713338976334515933593853365885337808533883933391009834095953417993342657234374923447296345908834665823475789348871003497771350607635190100352838235358753543751355807935678923578795358698635984943607369361939136295853636699364839736572733669895367809636885983697792370668037187100372589237374863747990375768437667643776876378509537974743807295381808838294713837688384859438544853865888387566438882843897776390809339196973926888393528539464763959210039683843975894398918739976934008178401999840295954036395404708040581964065774407928540891894095286410808341180914127074413919141489994158177416758341785984188278419839742044434218799422898442389884245685425869642674944277699428888842984954305878431719643286864334873434838643574954367085437938743858884394574440948444188974427777443979244482974459697446707244781954486196449829145078774518287452606745396100454569645562694568891457100924589196459719146070874617483462837746372714641001004655791466998646780984688084469819447062634716681472639947385934746783475649747687100477838547882894797690480516748157624828498483738748471874859484486819448773984888998489929949045684911009449289100493769449490874959699496818149791984985881499969350065995016995502688650358775047699505677950664885078499508657650994100510527951184905128985513919951485935155589516588751792995189495519778352064925219397522798152366765247996525766052688905278067528507152966855308197531969753274875336982534948353582765368795537506353871885397087540799454189935426285543585054482995457484546618154710096548708654970885509496551691005526389553821005546775555859055671785576795558749355971935606576561851005629110056394925649076565901005666174567898356854775697898570859857192965729110057399965749096575547057610099577627257866815799197580718558176915827699583939058471745858396586841005876082588998458987975909298591908959295985938792594848459584925968692597787359890795998899600436060188856028497603816960488976056583606577960780866087884609898661069956117792612971006139510061475896158999616758461772966189295619998662095926219493622899562377986247589625767862657866275910062897836299198630657563158676327195633665463457356358786636918563790966387398639819364058516417271642675364372886449289645828664679926479293648948264973786507588651769765272100653838065474946559999656661006574971658798365972946608382661578666279876639198664737266556946666785667649966881696699195670788067152626726987673577967472936758095676839167761936787696679851006806696681667968281916838697684969768576886866994687566868891936895870690508069159966925687693758769451676956077696879969792916987189699988970070667018399702719470369887049397705889570679797078879708739870984947107889711709571262837137083714809871581907168190717889271852777197196720645772167967227288723588672458877258696726100977276583728849872969737309688731959473297847336988734546973549517367998737971007387594739758174093967419198742869874375857448497745898774687887477982748941007499780750739675184887529686753757275496947558482756848875777977584870759749176099100761977776268717639597764999176584997667788767526576871857697194770658377175707727585773799877464697759397776718277789827787685779718778089867818086782728878394837849496785789478674787877587788688278960887907899791539779278867938177794738279574987968097797851007989610079981978009292801739680294958039086804791008059592806898680761848087179809384881076888118393812839381364728146487815535481671708177472818838581974618205473821608182280998239390824898982594868268199827638682810010082997848307579831756883286100833841008347283835949483690968376083838428183978798406692841373584283848434162844979984579938467010084785968487799849839785056978517692852100888536897854808585563938567794857649785896928597774860699286177968628393863678486459858659490866729386773748688210086949738706066871879787277728735956874889087574838768897877788587866908796977880505588174848828579883979688496978859010088666898877584888758788977998907691891989889262658938598894809789566838965353897919989887958997695900719090186989025275903889890471799059597906779790777959089297909918991064809119010091266999135768914566191566949166382917839691885929195883920769392183839225694923899592489989257293926809492790929288085929919593062589317510093289959336164934729893558789366579937979693898999399093940608694187100942808694372899447985945789394684989476193948819294983909509597951659395246709535672954868095584909567693957689495877929599986960696996189789629596963999096451619657795966748196785909686772969659997091959718699972778397368100974609797554809
766998977759497892989795881980777498181759828489983939998457779858186986447098796859887493989819999083819917889992638399351629946674995979899682969978591998849999956873. (38 points) Given the inventories of two libraries Citadel’s Maester Library (CML) and Castle Black’s library(CBL), compare the similarity between this two libraries by using the different proximity measures. if the result is not integer, then round it to 3 decimal places.a. (5 p) Given 200 books, the following table summarizes how many books are supplied by corresponding library in Table 1. In Table 1, for CBL = 0, CML = 0, it corresponds the number of items among the 200 items that are served neither by CBL nor CML. For CBL = 1, CML = 0, it corresponds the number of items among the 200 items that are served by CBL but not CML. So on and so forth. Based on Table 1, calculate the Jaccard coefficient of Citadel’s Maester Library (CML) and Castle Black’s library(CBL).Citadel’s Maester Library (CML)Castle Black’s library(CBL) 0 10 20 1201 2 58b. (15 p) For each kind of books, we have multiple copies. Based on all books (treat the counts of the 100 books as a feature vector of the two libraries), (file data.libraries.inventories.txt), calculate the minkowski distance of the two vectors with regard to different h values:1. h = 12. h=23. h = ?c. (9 p) The Cosine similarity between Citadel’s Maester Library (CML) and Castle Black’s with regard to the feature vector. (file data.libraries.inventories.txt).d. (9 p) Kullbac-Leibler divergence between Citadel’s Maester Library (CML) and Castle Black’s library(CBL) with regard to the feature vector. We denote that there are i_1 of book1 in Citadel’s Maester Library (CML), and j_1 of book1 in Castle Black’s library(CBL). Assume that someone will pick up a book randomly, the probability of this person to pick up book 1 in Citadel’s Maester Library (CML) is i_1 / (i_1 + … + i_100). Based on this probability distribution, calculate the Kullback-Leibler divergence of these two libraries P(CML || CBL).DATA Library inventories:librarybook_1book_2book_3book_4book_5book_6book_7book_8book_9book_10book_11book_12book_13book_14book_15book_16book_17book_18 book_19book_20book_21book_22book_23book_24book_25book_26book_27book_28book_29book_30book_31book_32book_33book_34book_35 book_36book_37book_38book_39book_40book_41book_42book_43book_44book_45book_46book_47book_48book_49book_50book_51book_52 book_53book_54book_55book_56book_57book_58book_59book_60book_61book_62book_63book_64book_65book_66book_67book_68book_69 book_70book_71book_72book_73book_74book_75book_76book_77book_78book_79book_80book_81book_82book_83book_84book_85book_86 book_87book_88book_89book_90book_91book_92book_93book_94book_95book_96book_97book_98book_99book_100CML5313690103369319551192148793048802427717013741146116186101173110501491393011986972563173130601481296916783 12128133173149105641341372117911635119601401506814519780731283180961119512213264181165129796372187991434913184179 21511276645014446110163183107129162173CBL1038013216714417210889103636558141116152122129831751161736761114195166854287183217125109719371772091345999147 75501811021731601479790571511001021811181631411461491492501281551481231898018680114102316634592131042513175164214 5379118751691929213912212312361135901251184. (5 points) The Table 2 is a summary about customers’ purchase history of diapers and beer. Calculate the chi-square correlation value. If the result is not integer, then round it to 3 decimal places.Table 2: Purchase history.Buy diaper Do not buy diaperBuy beer 150 40Do not buy beer 15 3300