Monetary Trade Analysis Tool Gravity Model of Bilateral Trade

2649 days ago, 974 views
PowerPoint PPT Presentation

Presentation Transcript

Slide 1

Financial Trade Analysis Tool (Gravity Model of Bilateral Trade) Isaac A. Asiamah Project Oriented Computer Science Dowling College

Slide 2

Presentation Breakdown Aims & Objectives of Project Background Phases Tasks & Dependencies User Externals System Design Input/Output Documentation Future Objectives Q&A Acknowledgments

Slide 3

Aims & Objectives of Project The primary target of this venture was to compose an application in light of the gravity model of reciprocal exchange that will facilitate the way toward dissecting the stream of Trade between exchanging countries. TARGET AUDIENCE This apparatus is focused on towards a scholastic gathering of people, for example, individuals who may do graduate level work in financial matters and connected arithmetic . We trust this instrument ,with further cleaning ,will be extremely helpful primarily to financial experts who require access to broke down Trade Flow data between particular nations in view of a wide assortment of elements which are inside their decision . This will permit the client to enhance and better anticipate the volume of exchange between particular nations by including and evacuating a few figures request to enhance the Model.

Slide 4

Background The gravity condition is a famous plan for factual examinations of reciprocal streams between various geological substances or areas. It was adjusted from Newton's law of attraction. In 1962 Jan Tinbergen recommended that generally the same utilitarian frame could be connected to global exchange streams. Be that as it may, it has since been connected to an entire scope of what we may call "social collaborations" including relocation, tourism, and outside direct speculation.

Slide 5

Background Newton's Law of Gravitation has an application as far as the stream of exchange and Import/Export between two nations F = Gm1m2 r2 F = The compel of fascination m1 = mass of protest 1 m2 = mass of question 2 r = the separation G = is a steady. G is a gravitational consistent relying upon the units of estimation for mass and drive.

Slide 6

F = K GDP i GDP j d F = The Flow of Trade GDPi = GDP of nation i GDPj = GDP of nation j d = separate between financial capitals of nations i and j. K = is a steady. F = Gm1m2 r 2 F = The constrain of fascination m1 = mass of protest 1 m2 = mass of question 2 r = the separation G = is a consistent. Foundation The financial aspects rendition can linearized and because of the added substance nature of Logarithms we change over it to the equation Ln(F) = ln(GDPi) + ln(GDPj) – ln(d) +ln(k)

Slide 7

Before we begin … . While chipping away at this venture I understood the greater part of my course mates had an issue understanding what I was doing. Furthermore, as of late I heard a remark as "I don't comprehend what Bilateral means". So I acknowledged these remarks and all together not to confound anybody I put a couple terms and their definitions together to make this presentation a little clearer. Some Keywords Bilateral - relating to, including, or influencing two or both sides, groups, parties Model - Model (unique), a deliberation or applied protest utilized as a part of the formation of a prescient equation Time invariant elements – Factors that are not anticipated that would change with time Dummy variable - An additional variable we incorporate into relapse investigation to enhance the prescient yield of the model by permitting us to incorporate subgroups such male/female ,wedded/single and so on. Relapse - inspects the connection of a needy variable (reaction variable) to indicated free factors (informative factors).

Slide 8

Proposed Features/Functionality Java based albeit initially began in java script Calculate the stream of exchange between two given nations in light of variables, for example, adjust of exchange Gross Domestic Product(GDP) topographical area Political administration and conciliatory ties Must plot an outline to speak to the computed Trade stream information over the quantity of years in light of the client's info The information must be broke down utilizing Regression as a part of request to anticipate future exchange designs in view of the client's information.

Slide 9

Phases PHASE I: CODING : - Graphical User Interface - Data Analysis and Prediction Functions - Code to Link info and Output - Code to Polish Output PHASE II: TESTING AND DEBUGGING: GUI related Testing and Fixing Code usefulness related Fixes Output and I/O connect related fixes - Input - Error Handling - Output PHASE III: DOCUMENTATION: - Help - Download Instructions

Slide 10

Design Breakdown The venture was partitioned into the accompanying stages keeping in mind the end goal to speed up the fruition. Be that as it may ,from knowledge of the past the venture would have begun diversely had I known about a portion of the conditions. Outline Process Breakdown 1. Input - GUI 2. Information - IMF/World bank ,BEA,Dept of Commerce,Econstat sourced information for import/send out, adjust of exchange, and separations 3. Calculation - actualizing the calculation & relapse examination 4. Yield - Output Generation

Slide 11


Slide 12

DESIGNING THE GUI The Graphical User Interface was planned utilizing Net beans.

Slide 13

FEATURES OF THE GUI DROP DOWN MENUS To permit choice of nations, years, and time invariant factors from a rundown CHECK BOXES: To choose alternatives for time invariant variable impact on yield design fancied by the client. Catches: To register Trade stream or Trade potential for a locale or to figure exchange stream information for future examination. TEXTFIELD There is one primary content field named Output .It's fundamental intention is to show the figured information for exchange streams and relapse.

Slide 14

DATA Datasets Needed: Distances between capitals in light of extraordinary circle strategy Real GDP values for nations Export/Import Data for nations Balance of Trade Data for nations Distances were gotten from Raymond Robertson and Jon Haveman of Macalester College's Economics Department. into/financial matters/PAGE/HAVEMAN/Trade.ResourcesTradeData.html#Gravity US Economic information U.S. Division of Commerce Bureau of Economic Analysis Non US Economic information

Slide 15

Code The code was composed in java and the GUI was likewise composed utilizing Netbeans. It Calculates the exchange stream for every match of chose nations in view of the GDP,balance of exchange between exchanging accomplices ,and different components, for example, separate, normal fringes, dialect and discretionary ties. A great deal of smart thoughts on the best way to figure the exchange streams was likewise gained from a portion of the papers I read. I likewise took in a considerable measure on the best way to actualize the relapse examination .I chose to embrace the Java Matrix library .i.e. JAMA and utilized the incorporated the relapse code utilizing JAMA's library. I additionally composed a little library of capacities for performing estimations, for example, standard deviation ,covariance ,change etc.This is likewise included as a feature of the source organizer

Slide 16

Algorithm case = 2 nations just factor assertion : Fij Flow of Trade from i to j, GDPi ,GDP of nation i, GDPj ,GDP of nation j, Balance of exchange between nation i and nation j Distance - intermediary for time taken to set out from i to j Z – Time Invariant variables bringing about -/+ respective impact - regular dialect - estimation of either 1 or 0 - frontier joins - estimation of either 1 or 0 - levies - estimation of either 1 or 0 eij the typical arbitrary mistake term . ln(Fij) = Bo +B1 ln(GDPi) + B2 ln(GDPj)- B3 ln(Distance) +B4 (dialect) + eij The Beta's are the relapse coefficients acquired in the wake of performing relapse examination.

Slide 17

Input/Output In outlining the I/O part of this program we attempted however much as could reasonably be expected to accentuate these three standards and we will endeavor to stick to them as other propelled adaptations of the program is discharged. Straightforwardness Ease of utilization Clear, meaningful yield

Slide 18

Elements of Input Country Selection cases : Ghana United States Nigeria China This decision depends on the relative accessibility and simple entry to information for computations Performed Mode of Input The four nations are chosen from a combo-rundown, or drop down rundown of nations.

Slide 19

Elements of Input Date Range Selection The chose scope of dates is restricted to years somewhere around 1980 and 1990 because of the accessibility of information for those nations. Facilitate extensions will be made to this scope of dates in future discharges. Method of Input The scope of years is contribution by selecting the coveted dates from two combo arrangements of dates The dates are chosen from two records from which the start year picked MUST be lower than the end year picked.

Slide 20

Elements of Input Time Invariant Variable Selection The fake factors are chosen by looking over a variable rundown. Every fake variable included will must be relegated an impact by the client so as to be considered as legitimate for contribution to the program. Variable Effects This part has as of now been coded so the impact of a period invariant variable is naturally overhauled when a variable is chosen. Beneficial outcome = 1 Negative impact = 0

Slide 21

Elements of Input Compute Trade Flow The client must snap this catch to process the exchange stream values for the chose input It will be invalid to snap this push catch when no qualities have been entered. Anticipate Trade Flow The client must snap this catch to create exchange stream expectations from the chose input It will likewise be viewed as invalid info if similar nations are clicked or the years are the same since we don't have month to month information on adjust of exchange.

Slide 22

Elements of Output Graphing The grap