allotrope final...

49
ALLOTROPE PARTNERS: IEOR115 TEAM 4 FINAL PRESENTATAION Andrea Kwan Farzad Kargaran Tanya Lee Austin Lien Nona Penner Philip Su Brad Windsor Yun Zhuang Yirong Fan

Transcript of allotrope final...

Page 1: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

ALLOTROPE PARTNERS:IEOR115 TEAM 4 FINAL PRESENTATAION

Andrea Kwan Farzad Kargaran Tanya Lee Austin Lien Nona Penner Philip Su Brad Windsor Yun Zhuang Yirong Fan

Page 2: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

THE CLIENT

Page 3: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

ALLOTROPE PARTNERS.a specialized merchant bank.

supports sustainable energy

finances projects around the world

invests in companies & technologies

Page 4: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

EER DIAGRAM & RELATIONAL SCHEMA

Page 5: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent
Page 6: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

1) REGION (RgnID, Name, Population, Political_Environment, Climate, Energy_Source, Electricity_Cost_Per_MW)

2) COUNTRY (Country_Code, Name, Govt_Type, Area, GDP, Part_of_RegionID1, Population, GDP_Per_Capita, Primary_Energy_Source, President, Interest_Level)

3) POLICY (PolID, Tax Impact, Purpose, Branch_of_Govt, Date_Proposed, Date_in_Effect, Region)

a) Environmental_Regulation (PolID3) b) Tariff_Incentives (PolID3, Incentive_Category, Length_of_Contract) c) Other (PolID3)

4) INVESTMENT (IID, Amount, Date, Stage, Time Frame, Status, Predicted_MW_Output, Predicted_Cost_Per_MW, Return)

a) Hard_Asset_Project(IID4, Name, Start_Date, Finish_Date) b) Startup_Company(IID4, Age)

5) FUND (FundID, Amount, Date_In, Date_Out)

6) COMPANY (EIN, Name)

Page 7: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

7) PERSON (SSN, Name, Email, Position) a) Representative (SSN7, Company6) b) Private_Investor (SSN7) c) Allotrope_Employee (SSN7) d) Journalist (SSN7) e) Advisor(SSN7)

8) TECHNOLOGY (TID, Name)

9) INDUSTRY (IndID, Name)

10)RESEARCH (RID, Summary, Comments, Date) a) News_article(RID10,URL) b) Conversation(RID10)

11)SIGNIFICANCE_LEVEL (SLID, RID10, TID8, SSN7c, Score, date_of_input) 12)CASH_FLOW (CFID, IID4, CFYear, IRR, F_cash1, F_cash2)

a) Inflow (CFID, InflowID, Total_Inflow, Terminal_Value) b) (CFID, OutflowID, Initial_Investment, Operating_Cost, Tax_Expense, Interest_Expense)

Page 8: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

13)PERSON_LIVES_IN_REGION (RgnID1, SSN7)

14)TECHNOLOGY_RELATES_TO_RESEARCH (TID8, RID10) 15)COUNTRY_HAS_POLICY (Country_Code2, PolicyID3, Discount_Rate) 16)COUNTRY_RELATES_TO_RESEARCH (Country_Code2, RID10)

17)PERSON_HAS_CONVERSATION (SSN7, RID10b)

18)PERSON_HAS_EXPERTISE_IN_INDUSTRY (SSN7, IndID9)

19)PERSON_HAS_EXPERTISE_IN_TECHNOLOGY (SSN7, IndID9)

20)PERSON_WORKS_WITH_INVESTMENT (SSN7, IID4)

21)INVESTMENT_INVOLVES_TECHNOLOGY (IID4, TID8)

22)INDUSTRY_HAS_INVESTMENT (IndID9, IID4)

23)COUNTRY_HAS_INVESTMENT (Country_Code2,IID4)

24)RESEARCH_RELATES_TO_INDUSTRY (RID10,IID4) 25)RESEARCH_RELATES_TO_POLICY (RID10, PolID3)

26)JOURNALIST_WRITES_NEWS_ARTICLE (SSN7d, RID10a)

Page 9: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

27)ADVISOR_ADVISES_EMPLOYEES (SSN7e, SSN7c) 28)EMPLOYEE_COLLECTS_RESEARCH (SSN7c,RID10)

29)EMPLOYEE_CONTACTS_REPRESENTATIVES (SSN7a, SSN7c)

30)EMPLOYEE_CONTACTS_PRIVATE_INVESTOR (SSN7b, SSN7c)

31)COMPANY_INVESTS_CAPCONTRIBUTION (EIN6, ContributionID34, Private_investor7b)

32)PRIVATE_INVESTOR_INVESTS_CAPCONTRIBUTION (EIN6, ContributionID34, Private_investor7b)

33)CAPCONTRIBUTION_GOES_INTO_FUND (ContributionID34, Private_investor7b, FundID5, Date, Amount)

34)FUND_INVESTS_IN_INVESTMENT (FundID5, IID4)

35)COMPANY_OWNS_HARD_ASSET_PROJECT (EIN6, IID4a)

36)CAPCONTRIBUTION (ContributionID, Private_investor7b, Amount, Date)

37)RESEARCH_HAS_SIGNIFICANCE LEVEL (RID10, SLID11)

38)ALLOTROPE_EMPLOYEE_ASSIGNS_SIGNIFICANCE_LEVEL (SLID11, SSN7c) 39)COMPANY_IS_IN_REGION (EIN6, RgnID1)

Page 10: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

QUERIES

QUERY 1Forecasting Returns for Projects

QUERY 2Tracking Important Technologies

QUERY 3Identifying Important Research

QUERY 4Analyzing Policy Effects on Projects

QUERY 5Identifying Promising Regions

Page 11: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

(3) generate future returns and rank projects by IRR

FORECASTING RETURNS FOR PROJECTS

QUERY 1

(1) export cash flows

(2) calculate IRR

(4) generate graphs

Page 12: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

QUERY 1: Forecasting Returns on Projects

SELECT C.IID, C.Year, I.Total_Inflow+O.Total_Outflow AS Net_Flow IVT.Amount as Initial_Investment !FROM Cash Flow AS C, Inflow AS I, Outflow AS O, Investment AS IVT !WHERE C.CFID=I.CFID AND C.CFID=O.CFID;

(1) export cash flows

Page 13: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

QUERY 1: Forecasting Returns on Projects

(2) calculate IRR

(3) generate future returns and rank projects by IRR

Page 14: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

(3) generate graphs

QUERY 1: Forecasting Returns on Projects

2014 Projected Returns on Projects

Value

of I

nves

tmen

t

0

250000

500000

750000

1000000

Year2010 2011 2012 2013 2014

74

Page 15: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

TRACKING IMPORTANT TECHNOLOGIES

QUERY 2

(1) find avg significance level

(2) find frequency

(3) measure how recent it was mentioned

(4) measure total size of investments

(5) put (1)-(4) in a table

(6) generate final score

(7) rank each technology

Page 16: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

(1) find avg significance level

QUERY 2: Tracking Important Technologies

SELECT distinct SL.TID, avg(SL.Score) !FROM Significance_level as SL !GROUP BY SL.TID !ORDER BY avg(SL.Score) DESC;

Page 17: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

(2) find frequency

QUERY 2: Tracking Important Technologies

SELECT distinct SL.TID, count(SL.RID) !FROM Significance_level as SL !GROUP BY SL.TID !ORDER BY count(SL.Score) DESC;

Page 18: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

(3) measure how recent it was mentioned

QUERY 2: Tracking Important Technologies

SELECT distinct SL.TID, sum(r.rdate-date()) !FROM Significance_level as SL, Research as R !WHERE R.RID=SL.RID !GROUP BY SL.TID !ORDER BY sum(r.rdate-date())DESC;Note: “date()” is going to be updated based on the date the query is run.

Page 19: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

(4) measure total size of investments

QUERY 2: Tracking Important Technologies

SELECT distinct IT.TID, sum(I.amount) !FROM Investment as I, Investment_involves_technology as IT !WHERE I.IID=IT.IID !GROUP BY IT.TID !ORDER BY sum(I.amount)DESC;

Page 20: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

QUERY 2: Tracking Important Technologies

(5) put (1)-(4) in a table

Page 21: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

(6) generate final score

(7) rank each technology

QUERY 2: Tracking Important Technologies

Page 22: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

(6) generate final score

(7) rank each technology

QUERY 2: Tracking Important Technologies

Overall Scores

Solar

Geothermal

Biofuel

Hydrothermal

Nuclear

0 7.5 15 22.5 30

0

11.6

8

8.8

21.5

Page 23: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

IDENTIFYING KEY FACTORS IN PROJECT PROFITABILITY

QUERY 3

(1) retrieve cash flow, policy score, technology score, and GDP

(2) multilinear regression analysis

(3) graphical representation in MATLAB

Page 24: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

QUERY 3: Identifying Key Factors in Project Profitability

(1) retrieve cash flow, policy score, technology score, and GDP Calculating Average Policy Score SELECT IHC.IID, P.PolID, (Avg(SL.Score)+Count(SL.RID)) AS PolicyScore FROM Significance_level AS SL, Research AS R, Policy AS P, Policy_Relates_to_Research AS PR, Investment_Has_Country AS IHC, Country_Has_Policy AS CHP WHERE ((([PR].[PolID])=[PR].[PolID]) AND PR.RID = R.RID AND R.RID = SL.RID AND ((R.RID)=[SL].[RID] AND IHC.Country_Code=CHP.Country_Code)) GROUP BY P.PolID, IHC.IID; !SELECT A.IID, avg(A.PolicyScore) AS AVGPolicyScore FROM Query2_Policy AS A GROUP BY A.IID; !Retrieving GDP SELECT IHC.IID, C.GDP FROM Investment_Has_Country AS IHC, Country AS C WHERE IHC.Country_Code=C.Country_Code; !Retrieving Tech_Score SELECT IIT.IID, Q2.score FROM Investment_Involves_Technology AS IIT, Query2 AS Q2 WHERE IIT.TID=Q2.TID; !Exporting Cash Flow, Tech_Score, Policy_Score, GDP SELECT DISTINCT Query3_Final.IID, Cash_Flow.Amount, Query3_AVGPolicyScore.*, Query3_Final.GDP, Query3_Final.TechScore FROM Query3_AVGPolicyScore INNER JOIN (Cash_Flow INNER JOIN Query3_Final ON Cash_Flow.IID = Query3_Final.IID) ON Query3_AVGPolicyScore.IID = Query3_Final.IID WHERE Cash_Flow.CFYear=2014;

Page 25: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

QUERY 3: Identifying Key Factors in Project Profitability

(1) retrieve cash flow, policy score, technology score, and GDP

Page 26: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

(2) multilinear regression analysis

QUERY 3: Identifying Key Factors in Project Profitability

CashFlow = a*PolyScore + b*TechScore + c*GDP + k

Page 27: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

(2) multilinear regression analysis

QUERY 3: Identifying Key Factors in Project Profitability

CashFlow = a*PolyScore + b*TechScore + c*GDP + k

Page 28: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

(3) graphical representation in MATLAB

QUERY 3: Identifying Key Factors in Project Profitability

CashFlow = a*PolyScore + b*TechScore + c*GDP + k

Page 29: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

ANALYZING POLICY EFFECTS ON PROJECTS

QUERY 4

(1) extract cash flow and cost of capital of comparable project over past years

(2) perform sensitivity analysis

(3) predict difference in IRR

(4) import into access as attribute of policy

Page 30: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

(1) extract cash flow and cost of capital of comparable project over past years

QUERY 4: Analyzing Policy Effects on Projects

SELECT DISTINCT inv.Amount AS Initial_Investment, CF.CFyear, o.Tax_Expense, o.Operating_Cost, o.Interest_Expense, i.Total_inflow, p.Tax_Impact !FROM Outflow AS o, Inflow AS i, Policy AS p, Country AS c, Cash_Flow AS CF, Investment AS inv, Investment_Has_Country AS ihc !WHERE i.CFID = CF.CFID AND o.CFID = CF.CFID AND CF.IID = ihc.IID AND ihc.Country_Code = c.Country_Code AND CF.IID = 3 AND p.PolID=1 AND inv.IID = CF.IID;

Page 31: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

QUERY 4: Analyzing Policy Effects on Projects

(1) extract cash flow and cost of capital of comparable project over past years

Page 32: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

QUERY 4: Analyzing Policy Effects on Projects

(2) perform sensitivity analysis(3) predict difference in IRR

Page 33: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

IDENTIFYING PROMISING REGIONS

QUERY 5

(2) evaluate region by investment potential

(1) define pscore

(3) visualize results by plotting pscore on a heat map

Page 34: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

QUERY 5: Identifying Promising Regions

(1) identify pscore

Pscore = (Electricity cost per kWh)∗[(# of investments)+(# of research articles)]

Higher electricity cost → more demand for sustainable energy

More investments → higher level of activity, more potential investors

Another indicator of activity

Page 35: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

(2) evaluate region by investment potential

QUERY 5: Identifying Promising Regions

Investment Potential = 2014_Pscore / 2013_Pscore + (# of possible investors)

Increasing trend of activity?

Can projects be readily funded?

Page 36: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

(2) evaluate region by investment potential

QUERY 5: Identifying Promising Regions

SELECT  rgn.NName,  A.PScore/B.PScore  +  C.NumberInvestors  AS  InvestmentPoten:al  !FROM    (SELECT  rgn.RgnID,  rgn.Electricity_Cost_Per_kWh  *  (COUNT(i.IID)  +  COUNT(r.RID)  )  AS  PScore  FROM  Investment  AS  i,  Research  AS  r,  Region  AS  rgn,  Country  AS  cs,  Country_Relates_to_Research  AS  crr  WHERE  YEAR(r.Ar:cle_Date)  =  '2014'  AND  crr.RID  =  r.RID  AND  crr.Country_Code  =  cs.Country_Code  AND  cs.Part_of_RegionID  =  rgn.RgnID    AND  r.Ar:cle_Date  <=Date()  AND  r.Ar:cle_Date  >=  DateAdd("d",  -­‐30,  Date())  GROUP  BY  rgn.RgnID,  rgn.NName,  rgn.Electricity_Cost_Per_kWh)    AS  A,    !(SELECT  rgn.RgnID,  rgn.Electricity_Cost_Per_kWh  *  (COUNT(i.IID)  +  COUNT(r.RID)  )  AS  PScore  FROM  Investment  AS  i,  Research  AS  r,  Region  AS  rgn,  Country  AS  cs,  Country_Relates_to_Research  AS  crr  WHERE  YEAR(r.Ar:cle_Date)  =  '2014'  AND  crr.RID  =  r.RID  AND  crr.Country_Code  =  cs.Country_Code  AND  cs.Part_of_RegionID  =  rgn.RgnID    AND  r.Ar:cle_Date  <=Date()  AND  r.Ar:cle_Date  >=  DateAdd("yyyy",  -­‐1,  Date())  GROUP  BY  rgn.RgnID,  rgn.NName,  rgn.Electricity_Cost_Per_kWh)    AS  B,  !(SELECT  r.RgnID,  COUNT(pr.SSN)  AS  NumberInvestors  FROM  Region  AS  r,  Person_Lives_In_Region  AS  pr,  Company  AS  c,  Private_Investor  AS  pi  WHERE  pr.RgnID  =  r.RgnID  AND  pr.SSN  =  pi.SSN  AND  c.RgnID  =  r.RgnID  GROUP  BY  r.RgnID,  r.NName)  AS  C,  !Region  rgn  !WHERE  A.RgnID  =  B.RgnID  AND  rgn.RgnID  =  A.RgnID  AND  C.RgnID  =  A.RgnID  GROUP  BY  A.PScore,  B.PScore,  rgn.NName,  C.NumberInvestors;  

Table generated with 2014 Pscore

Table generated with 2013 Pscore

Possible Investors

Group entities by region

Page 37: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

(3) visualize results by plotting investment potential on a heat map

QUERY 5: Identifying Promising Regions

GPS Visualizer

Page 38: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

form-based entry password-protected financial dataEXTRA FEATURES

Page 39: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

issueEach research tuple requires data related to 10 tables: • “Research” table • 5 related tables (other entities) • 4 joining tables (relationships)

solutionUse two queries to produce a subform capable of updating the related and join tables

DATA UTILITY: FORM-BASED ENTRY

Page 40: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

QUERY 1: Provide Subform With Appropriate Linking Data to the Research Article being entered !SELECT Research_Relates_To_Industry.RID, Research_Relates_To_Industry.IndID, Industry.IName !FROM Industry INNER JOIN (Research INNER JOIN Research_Relates_To_Industry ON Research.RID = Research_Relates_To_Industry.RID) ON Industry.IndID = Research_Relates_To_Industry.IndID;

QUERY 2: Populate Dropdown Menu !SELECT Industry.IndID, Industry.IName FROM Industry;

DATA UTILITY: FORM-BASED ENTRY

Page 41: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

DATA UTILITY: FORM-BASED ENTRY

Page 42: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

PASSWORD-PROTECTED FINANCIAL DATA

Page 43: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

NORMALIZATION ANALYSIS

Page 44: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

DECOMPOSING TO 1NFCountry (Country_Code, Name, Govt_Type, Area, GDP, Part_of_RegionID1, Population, GDP_Per_Capita, Primary_Energy_Source, President, Interest_Level, State) !Research (RID, Summary, Comment, Date)

multivalued attributesCountry (Country_Code, Name, Govt_Type, Area, GDP, Part_of_RegionID1, Population, GDP_Per_Capita, Primary_Energy_Source, President, Interest_Level)

Research (RID, Summary, Date) Research_Comments (RID, Comment)

Page 45: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

attribute(s) not fully dependent on composite keyCountry_Has_Policy (Country_Code2, PolicyID3, Discount_Rate)

DECOMPOSING TO 2NFCountry_Has_Policy (Country_Code2, PolicyID3, Discount_Rate, CountryName)

Page 46: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

Country (Country_Code, Name, Govt_Type, Area, GDP, Part_of_RegionID1, Population, Primary_Energy_Source, President, Interest_Level) GDP_Per_Capita_Values (Country_Code, GDP_Per_Capita)

DECOMPOSING TO 3NFCountry (Country_Code, Name, Govt_Type, Area, GDP, RgnID1, Population, GDP_Per_Capita, Primary_Energy_Source, President, Interest_Level)

Page 47: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

Allotrope_Employee (SSN7, Location) Login (Login, Location)

DECOMPOSING TO BCNFAllotrope_Employee (SSN7, Location, Login)

Assumption: One person can work in multiple locationsSSN Location Login

123456789 San Francisco Bob123456789 Los Angeles Bob234567890 San Francisco Ethan345678901 Jakarta Philip

Page 48: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

Many thanks to… Bob Hambrecht Ethan Ravage Ken Goldberg Animesh Garg

Page 49: allotrope final presentationcourses.ieor.berkeley.edu/ieor115/labs/DP-fa2014/project-team-4-11… · QUERY 2 (1) find avg significance level (2) find frequency (3) measure how recent

MANY THANKS TO… Bob Hambrecht Ethan Ravage Ken Goldberg Animesh Garg