Download presentation
Presentation is loading. Please wait.
1
BI and data quality Stefano Grazioli
2
Critical Thinking Bug bounty Easy Meter
3
You do the talking Name, major Learning objectives
Things you like about the class Things that can be improved Attitude towards the Tournament
4
Homework Google’s Daily Cagr
5
Daily Cagr for Google You are an analyst at a broker firm.
Many of our customers invest for short amounts of time on Google. They sell their shares within a few weeks…. I wonder: do they make any money out of it?
6
UML Activity Diagram - Daily Compound Average Growth of a Security (part II)
Select the next column that has dates When the user presses a button, a file selection windows pops out. The user selects a file. The file is shown starting at “A1”. The start button becomes invisible. Three more buttons appear: “Clean phone numbers”, “Format Dates”, and “Compute Daily CAGR”. Select the next item [No More items in this column] [is a date] Highlight the cell in yellow Format as mm/dd/yyyy & clear highlight if any A [Compute] B [Format Dates] [Clean ph.no] A [No more columns] Select the next phone no. Count its digits B The user press the Compute Cagr button [Exactly 10 digits] Compute the Cagr for the next customer [(final price/initial price)^1/days ]-1 Highlight the cell in red Format as (xxx)-xxx-xxxx & clear highlight if any Print the Average of all Cagrs at the bottom of the Cagr column with a descriptive label. Print the result for that customer. In red if it is zero or negative. [No More Customers] A [No More Ph.No]
7
Suggestions Video available Give yourself plenty of time
8
WINIT What Is New In Technology?
9
Dates
10
Dates MyDate Year 2002 Month 11 Day 14 Week 45 .... ...
Dim myDate As Date = "11/14/2002“ myDate.Year myDate.Month myDate.Day myDate.DayOfWeek myDate.DayOfYear ... MyDate Year 2002 Month 11 Day 14 Week 45 .... ...
11
A TimeSpan represents the elapsed time between two dates.
Dim myDate1 As Date Dim myDate2 As Date Dim myTS As TimeSpan myDate1 = Range("A1").Value myDate2 = Range("A2").Value myTS = myDate2 - myDate1 Range("A3").Value = myTS.Days A TimeSpan represents the elapsed time between two dates. Date1 Date2 TIMESPAN
12
TimeSpan mySpan.Days gives you the total number of days
mySpan.TotalDays gives you the total number of days, plus a fraction of day based on the hours
13
Cagr = compound average growth rate - calculated daily
[(final price/initial price)^(1/days)]-1
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.