MSc Money, Banking and Finance

听故事学语言 · 数据结构篇 · 第五章 藏在文件里的顺序与链 数据结构篇第五章,工业章一,前四章家当的实战回门。拖动进度条为什么秒跳,MP4 登记簿记位置供直达;FAT 文件分配表,链式存储的逻辑、数组实现的身体,1977 年马克·麦克唐纳为软盘设计它;进程档案链表轮转,一头进一头出,内核偏爱链表的连接自由;浏览器后退键,教科书的双向链表对工业界的数组加游标,同一个队形,两种站位法,谁赢谁的战场。 阅读详情


Assignment Remit

 Programme Title

 MSc Money, Banking and Finance

 Module Title

 LM Applied Financial Econometrics

 Module Code

 07 40055

 Assignment Title

 Assignment

 Level

 Masters level

 Weighting

 50%

 Hand Out Date

 28/10/2024

 Deadline Date & Time

 08/01/2025

 12pm

 Feedback Post Date

 16th working day after the deadline date

 Assignment Format

 Report

 Assignment Length

 1500 words

 Submission Format

 Online

 Individual

Module Learning Outcomes:

This assignment is designed to assess the following module learning outcomes. Your submission will be marked using the Grading Criteria given in the section below.

LO 1. Apply and evaluate econometric procedures employed to analyse financial data.

LO 2. Critically evaluate the results and the approaches adopted.

LO 3. Critically analyse financial databases and create dynamic models using appropriate software, thereby developing key transferrable skills for banking and finance graduates.

LO 4. Develop complex problem solving, digital, analytical and advanced numeracy skills.

General information

• This coursework accounts for 50% of your final mark.

• The coursework is an individual piece of work. You are required to write your own answers and cannot work jointly. All submissions will be routinely checked for plagiarism. [Plagiarism Policy]

• The coursework in either part should not be longer than 750 words, for a maximum of 1500 words in total.

• Figures, tables and codes do not count towards the word limit.

• Please make sure that you fill in the cover page when submitting your report.

Assignment:

Please read the following requirements carefully before you start your project.

The Assignment will be in two parts, Part A and Part B. Each part is worth 50% of marks. Students must answer both parts of the questions. Students shall submit two pdf documents, one for each part, clearly declaring whether the document is for part A or part B.

Part A [50%]

In Part A, you shall

• Follow the assignment remit and answer all the questions as required.

• Perform. the appropriate quantitative analysis and make sure your codes work well. If you receive any error messages, try to correct it. Otherwise, delete or hashtag (#) the code that caused the problem so that you can compile the codes.

• Perform. statistical tests to support your results and empirical approach if needed. Explain the tests hypothesis and interpret the results clearly.

• Present your tables and graphs clearly.

• Explain your procedure (of selecting the best fit model) clearly and provide a detailed and thorough analysis on your results (without going over the word limit)

Bear in mind that

• This is NOT an essay. There is no requirement on the format. But your work needs to be readable and follow the requirements in this remit.

• The coursework MUST be compiled in RStudio and submitted via Canvas in PDF format. You can compile your script. to a Word document first and then add the cover page. Please check if your document is clearly readable. If everything looks good to you, you can save it as a PDF file for submission using Microsoft Word.

• The answers to each question MUST be clearly stated. Your comments and answers to the questions could be written following “#” in your R codes, which will be compiled.

Assignment Questions

You are required to select a listed company in either S&P500 or FTSE100 indices. Download its daily close price data from 1st January 2024 to the date that you start this project (this can be any date between the release date of this remit and the deadline) and then perform. the following analysis.

1. Write a very brief description on the data you study (no more than 100 words). You need to introduce the company, the sample period, and the data source. You also need to show that the sample is in line with the requirement. [5%]

2. Create a time series plot on the price data and comment on its trends. Then take the log differences on the prices and generate the daily return rates (Returns). Report and comment on the summary statistics including mean, median and standard errors. Plot the time series plot and the histogram of the Returns. Comment on your results. [5%]

3. Plot the ACF and PACF of the Returns and comment on your graphs. Is the daily return series a white noise process? Is it stationary? [5%]

4. Test the stationarity of the Returns with appropriate ADF and KPSS tests. Explain the null hypothesis and the specific format of the tests. [5%]

5. Estimate an appropriate ARIMA model for the Returns. You need to present the estimation results in a well-organised table, explain why you select such a model, and comment on the estimated coefficients. [10%]

6. Based on the ARIMA model of your choice, forecast the stock prices in the next five trading days? You need to explain the details of your forecasting procedure. Comment on your forecast if you know the realised prices. [5%]

7. Based on the ARIMA model of your choice, check if there is an ARCH effect. You must explain your procedure and results clearly. If yes, estimate an appropriate ARMA-GARCH model and explain why you select such a model. Otherwise, estimate a GARCH(1,1) model on the Returns. Based on your model, what is the forecasted volatility of the Returns in the next trading day? [10%]

8. Reflect on your work, assuming you are a line manager and you read such a report.  Comment on the work in terms of its strengths and weaknesses. Identify the areas that need to improve. Please be honest in your reflection. You are welcome to discuss your feelings about this assignment (no more than 100 words). [5%]

Part B [50%]

Computer Project

Aim

Use the dataset Bankdata.dta, which has been extracted from BankFocus, to undertake econometric analysis on bank profitability, measured by either return on average assets, return on average equity or net interest margins.

BankFocus is a global database of banks and financial institutions previously known as Bankscope. The information is sourced by Bureau van Dijk from a combination of annual reports, information providers and regulatory sources. BankFocus offers detailed, standardized reports and data for over 55,000 banks across the globe (30,000 US and 25,000 non-US).  Due to the difficulties accessing data, you are given the dataset.

Bankdata.dta, which can be found under the “Assignment” section on Canvas, contains variables from 11,485 banks over the sample period 2005 to 2019.  A list of the variables and the mnemonics is given in the appendix.  Please note that there are a considerable number of missing observations for some variables.

You must select:

· a specific research question

· the dependent variable

· the group of countries to analyse

· the sample period

· a number of estimation techniques

Since some articles use macroeconomic variables as control variables, you can add macroeconomic variables to the dataset but need to submit the data in an Excel file.  The best places to get the macroeconomic variables are:-

OECD: https://stats.oecd.org/

IMF: https://data.imf.org/?sk=4c514d48-b6ba-49ed-8ab9-52b0c1a0179b&sId=1409151240976

World Bank: https://databank.worldbank.org/home.aspx

You are expected to write an academic report, containing a literature review, presentation/description of data and econometric model, discussion/interpretation of econometric results and analysis plus a conclusion.

Please submit the do file along with the report (compulsory).

A list of suggested references will be provided in Lecture notes and in the assessment support period.

Grading Criteria / Marking Rubric

Your submission will be graded according to the following criteria:

1. Perform. the appropriate quantitative analysis to answer each of the questions.

2. Provide a detailed and thorough analysis on the results, without going over the word limit.

3. Submit a well organised and detailed report.

Submit a piece of work that is well written, with no typos or grammatical mistakes, organised and well formatted.

听故事学语言 · 数据结构篇 · 第六章 栈,后进先出的盒子 数据结构篇第六章,栈。二进制短除法余数为什么要倒着读,谜底是栈;括号匹配先让计数器上场,([)] 一串让它当场折戟,混括号必须栈;逆波兰记法,1924 年卢卡谢维奇发明波兰记法,1957 年汉布林把它倒过来;一件学生时代的四则运算器文物,带着一颗时发时不发的雷,当年调了很久怎么也跑不对,病没变,变的是它发不发作;双栈直接求值与随机表达式对数器一千组零不合;最小栈一步报最小,接雨水单调栈一层一层结算;汉诺塔的调用栈真身,V 字图退役;火车进出站十四种可能,卡塔兰数;链栈与共享栈收章。 阅读详情

相关推荐

pytest-bdd封装

简介 pytestbdd主要是用于代码封装 代码封装的好处: 1、提升代码复用率 2、提示测试效率 手工测试–使用框架0代码 流程+数据驱动 产品经理这样的不懂测试的人员–流程驱动 自动化测试–数据驱动 pytest-bdd:流程驱动封装 行为驱动–敏捷开发模式,消除开发/测试对需要了解的歧义 使用方式: 描述需求/用户场景 Feature(需求) Scenario(场景) Given(假设) When(操作步骤) Then(验证,清除) #新建feature 文件之前 需要提取安装支持featrue文.

liao_11的博客 2734

头歌 数据结构-串的表示与实现

本关任务是实现串的定长顺序存储结构。使用静态数组char arr[MaxLen]存储字符串,输入字符串后输出其内容、实际长度(通过strlen计算)和存储长度(sizeof(arr))。代码在Begin-End间补充,完成字符串读取与信息输出。测试用例为输入"aaaaa",预期输出为"aaaaa"、5、20。

一名敲代码的苦13程序员 202

西门子AI面试问答(STAR法则回答实例)

通过建立良好的沟通渠道、倡导透明和积极的沟通,并建立信任和共享目标的文化,我成功地改善了团队合作的氛围和效果。对于一些存在分歧和冲突的情况,我采用了积极的解决问题的态度,促进双方的沟通和理解,寻找共同的利益点和解决方案。我的成果得到了评委和观众的认可,并为我的学术发展和进一步的科学研究奠定了基础。首先,我主动与团队成员进行一对一的沟通,倾听他们的观点和意见,了解他们在合作中遇到的问题和需求。我还参加了学校组织的科学俱乐部和研究小组,与其他热衷科学的同学一起进行讨论和实验,加深我的理解和实践技能。

kashine的博客 7252

《考研408数据结构》第八章(排序)复习笔记

真题100%选择必考多个算法的特点比较!!必须汇总!!实在记不住谁和【初始状态有关】时就举例子:1、当数组完全有序时;2、当数组完全逆序时;3、快速排序数组第1个枢轴是最小/最大值。

m0_73991249的博客 219

操作系统笔记【全-408统考】【附思维导图】

操作系统 思维导图 概述 操作系统的概念 管理计算机软件和硬件资源 最基本的系统软件 特征 并发 区分并发并行 共享 互斥共享方式 同时访问方式 虚拟 逻辑上多个。虚拟处理器的分时,空分复用的虚拟存储器 采用多道程序设计 异步 由于资源有限,进程走走停停 可能会导致进程产生与时间有关的错误。访问顺序 目的和功能 1.管理计算机资源 功能 处理机管理、存储器管理、文件管理、设备管理 目标:安全、有效 2.作为用户与计算机硬件系统

wvdon 2366

DDR4/LPDDR4与DDR5/LPDDR5的差别

最新的 DDR5 可支持单一芯片容量 64Gbit,最高容量上限可增加到 128GB,较 DDR4 提高了四倍;价格:随着规格提升,DDR5 价格也较 DDR4 高出逾 50%,可能成为业者导入的阻碍。但如前所述,包括 5G、机器学习(ML)等各式进阶应用中,DDR5 的整体效能、规格的提升,对相关业者来说仍具一定优势与吸引力。电源管理 IC(PMIC IC):电源管理芯片内建至 DDR5 内存中,除可提高讯号完整性及噪声辨识能力,还能更具效率与扩展性;DDR5 规格与效能整理。(来源:JEDEC)

flomingo1的专栏 9040

【数据结构-5】单链表的实现

单链表,具体来说是单向的、不带头的、不循环的链表。链表由一个一个节点组成,每个节点分为数据域和指针域,数据域存放数据,指针域存放下一节点的地址。这样,就可以根据指针域中的地址找到下一个节点,节点就串起来了构成了单链表。

a bit 220

H2O到OmniH2O细节解读,人形机器人遥操作的技术演进与哲学

摘要:CMU何泰然团队相继发表的H2O和OmniH2O论文为人形机器人遥操作领域带来突破。H2O首创Sim-to-Data方法,通过形态/动作重定向和特权筛选处理人类动作数据,PPO算法实现基础控制。OmniH2O改进为教师-学生蒸馏框架,采用DAgger算法增强泛化能力,并消除对线速度输入的依赖。这两项工作从概念验证到工程落地,建立了一套完整的动作学习范式,为具身智能研究提供了重要参考。

CyanNoah的博客 1394

C++ 数据结构与面向对象:二叉搜索树实现与多态虚函数详解

本文系统讲解二叉搜索树(BST)的迭代实现与C++多态及虚函数底层原理。BST通过非递归方式实现插入、查找、删除,核心在于维护有序性,删除分三种情况处理,替换法为关键技巧。多态基于虚函数表(vtable)与虚函数指针(vfptr),通过基类指针调用重写函数实现运行时动态绑定,需满足继承与虚函数重写条件。抽象类强制接口规范,虚函数表存储函数地址,子类继承或覆盖对应项。二者分别体现数据结构高效性与面向对象灵活性,是C++核心知识点。

2603_95129722的博客 213

概率论 知识图谱 + 实战案例解析

本文通过构建概率论知识图谱,系统梳理了从随机试验、概率、条件概率到随机变量与分布的核心概念及其内在联系。结合朴素贝叶斯分类器和蒙特卡洛模拟等实战案例,深入解析了条件概率、独立性及大数定律等理论如何应用于机器学习与实际问题求解,旨在帮助读者建立结构化思维,将理论有效转化为解决实际问题的能力。

weixin_29051193的博客 270

NVIDIA DGX Spark实战指南:从开箱到部署200B参数大模型

本文详细介绍了NVIDIA DGX Spark桌面AI超级计算机的开箱体验与实战部署指南。文章深入解析了其Grace Blackwell架构与128GB统一内存的核心优势,并逐步演示了从系统初始化、运行200B参数大模型到进行QLoRA微调的全过程。该设备将高达1 PetaFLOP的AI算力浓缩于桌面,为开发者和研究团队提供了本地化、高性能的AI开发与部署一体化解决方案。

weixin_29274969的博客 2245

【数据结构-8】栈的实现

入栈前先判断,栈的空间是否充足,如果栈顶和容量在一个位置,就要动态开辟内存空间,还是按照4/2倍的capacity来开辟(如果一开始capacity为0就申请4个个单位的空间,否则就按capacity的两倍申请空间),更新ps->arr的指向以及capacity的大小。最后判断栈是否为空,如果所有的右括号都找到了匹配的左括号,栈为空,则返回true。先来看栈的结构,因为我们的栈是基于数组实现的,所以这里定义了一个指向数组的指针,top是指向栈顶的下标,capacity指的是栈的容量。所以,从空间角度来说,

a bit 242

Trae 在代码审查场景的 3 大差异化能力:对比 Claude Code、Cursor 与 Codex 实测

揭示代码审查的核心矛盾是上下文断层而非找 Bug,介绍 Trae 通过跨文件符号追踪、意图-实现对齐校验、增量变更影响图谱生成三件事实现上下文校准,并对比其与 Claude Code、Cursor、Codex 在多模块 Java 项目中的实际审查差异

weixin_42525482的博客 153

数据结构的基本概念和算法的初步认识

本文系统阐述数据结构与算法的基础概念,涵盖数据、数据元素、数据对象的层次关系,数据结构的三要素(逻辑结构、存储结构、数据运算),以及抽象数据类型。重点解析算法的特性与设计要求,并深入讲解时间复杂度分析的核心——大O表示法,通过“只保留最高阶项、忽略常数系数、取最坏情况”三大原则,结合实例剖析O(1)、O(n)等常见时间复杂度,揭示算法效率的本质评估方法。

ACH_YYX的博客 211

Statistics and Machine Learning Toolbox

Statistics and Machine Learning Toolbox(带书签),MATLAB统计学习工具

STM32F407中文手册

STM32f407中文手册 本参考手册面向应用开发人员,提供有关使用 STM32F405xx/07xx、STM32F415xx/17xx、 STM32F42xxx 和 STM32F43xxx 微控制器存储器与外设的完整信息。STM32F405xx/07xx、STM32F415xx/17xx、STM32F42xxx 和 STM32F43xxx 构成一个微 控制器系列,各产品具有不同的存储器大小、封装和外设。有关订购信息以及器件的机械与电气特性,请参见数据手册。有关 ARM Cortex™-M4F 内核的信息,请参见《Cortex™-M4F 技术参考手册》。

数据结构:二叉树,递归转迭代

二叉树的先序遍历,不需要额外信息保存,因为不用返回到父节点,因为已经处理完了,右左右子节点已在栈上,信息够了。而中序与后序是需要保存额外信息的。通用方法中,用一个栈帧保存当前的一些数据,比如局部变量,返回值等,完全是机械式翻译。

憧憬,思考,奋斗,飞翔 194

怀旧版电脑GBC模拟器

再现原版GBC掌机的界面,电脑运行连游戏界面都一样大小,很怀旧,很真实,(英文版)强烈推荐,很小的文件,很难才找到的。

数据结构-栈

数据结构,栈相关

2501_93884468的博客 495

【计算基础|Redis06】底层数据结构

本文详解Redis 7.4底层数据结构设计:以SDS替代C字符串实现O(1)长度查询与二进制安全;ZSet采用跳表+哈希表组合,兼顾排序与快速查找;小对象用listpack取代ziplist,根除连锁更新问题;List通过quicklist融合紧凑与链表优势;哈希表采用渐进式rehash避免阻塞;整数集合使用intset节省内存。结合OBJECT ENCODING实测,直观展示数据从紧凑编码(int/embstr/listpack)自动切换至通用编码(raw/hashtable)的过程,体现“小则省、大则快

花间相见的博客 349

CF2283F[数据结构]

首先考虑一种暴力解法,当我们建好i之前的图后,当我们添加i的时候,区间[li,ri]中的点都会向i建边,但是这些点中,如果有某两个顶点l,r,满足l<r,那么l就可以通过r间接到达i,因此可以删除l到i的边;初始时我们令所有点放入set中,然后对于每一个i的处理,我们将集合中仍在[l,r]的范围的点弹出,并且将f设置为i,这样我们就得到了所有点的最小跳板;对于每个区间[l,r] 我们要计算这下下标中的f(v)中大于r的数目有多少个;我们令f(v)表示顶点v可到达的最小的顶点;

蒟蒻 165

笔记-论数据结构2

typedef 数据类型 别名return 0;typedef也经常用在结构体上:每次声明结构体变量都要写struct关键字,很麻烦,而且逻辑上也很难受,typedef可以解决这个问题。int x;int y;p.x = 5;p.y = 10;return 0;而利用typedef解决有两种解法:typedef struct 结构体名数据类型 变量名;数据类型 变量名;……}别名;数据类型 变量名;数据类型 变量名;……}别名;实际的运用int x;

fish_zzzz的博客 125

头歌 数据结构-C&C++ 数组实训

本系列任务围绕数组应用展开:第1关统计销售额波动,通过一维数组存储每日数据并计算相邻差值;第2关求最大销售增幅,利用遍历与动态更新最小值和最大增益;第3关模拟“猴子选大王”游戏,通过循环报数剔除编号为3的猴子直至剩一人;第4关计算整数“犯二程度”,将大数以字符串形式处理,统计‘2’的个数并根据符号与奇偶性调整比值。各关均强化数组操作、循环逻辑与边界处理能力。

一名敲代码的苦13程序员 395

关于算法用现成数据结构和手撕

使用Java内置PriorityQueue实现大顶堆求第K大元素,因涉及自动装箱、对象开销及底层数组扩容,效率较低;而手写原地大顶堆直接操作原始int数组,避免装箱拆箱与额外对象,时间复杂度更优。实测显示,手撕堆显著提速,体现底层优化的重要性。

Pniubi的博客 252

【前缀和+复合离散化】题解:双色矩形(two)_数据结构_算法优化_预处理_二维前缀和_STL_C++算法竞赛

给定一个 $n \times n$ 的黑白棋盘,初始按 $i+j$ 奇偶染色,经 $k$ 个格子颜色翻转后,求子矩形中黑白格子数差的绝对值最大值。由于 $n$ 可达 $10^9$,但 $k \leq 50$,可离散化关键点。枚举所有由修改点构成的矩形及其四边向外扩展(共 $16$ 种扩展方式),利用二维前缀和快速计算变化量,结合奇偶性判断多出的格子颜色,最终取最大绝对差。时间复杂度为 $O(k^4)$,在 $k \leq 50$ 下可行。

YLCHUP的博客 214

数据结构:排序

将一组无序的记录(数据元素),按照某个关键字(key)递增或递减的顺序重新排列。

橘为己有的博客 1351

数据结构之图的存储与遍历

本文系统讲解图的存储与遍历核心内容:邻接矩阵(适合稠密图,O(n²)空间)与邻接表(适合稀疏图,O(n+e)空间)两种存储方式;以及广度优先遍历(BFS,队列实现)和深度优先遍历(DFS,递归/非递归双实现)两种遍历算法。强调visited数组防重复、遍历序列不唯一等高频考点,为最小生成树、最短路径、拓扑排序等进阶内容打下基础,是考研与面试必掌握的核心知识点。

qq_34097230的博客 318

【数据结构-7】算法美学之单链表(2)

第二种情况:两条链表的尾节点相交;思路三:找到链表的中间节点,将链表的中间节点作为新链表的头节点进行反转,然后从原链表的头节点和新链表头节点开始比较链表节点值是否相等。我们只要创建一个指针从头节点开始往后走,让slow指针从快慢指针的相遇点开始往后走,这两个指针相遇的节点就是入环的起始节点。在解答这道题之前,先提供一个结论:慢指针每次走一步,快指针每次走两步,快慢指针相遇点和头结点到入环起始节点的距离是相等的。证明:慢指针每次走一步,快指针每次走两步,快慢指针相遇点和头结点到入环起始节点的距离是相等的。

a bit 224

数据结构-跳表

本文介绍随机跳表的结构与实现,通过概率决定节点层数,支持高效查找、插入和删除操作。查询时从高层向低层逐层推进,平均时间复杂度为O(log n)。代码实现包含头结点、随机层数生成、多层指针维护及层高动态调整,确保空间效率与性能平衡。

fish_xk的博客 234
上一篇: MSc/MEng Data Mining and Machine Learning
下一篇: Financial Strategy financial performance
wx____codehelp
博客等级 码龄2年 538粉丝 99原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值