$City_1 = San Francisco-San Mateo-Redwood City, CA (MSAD)
$e =
$City_2 = Los Angeles-Long Beach-Glendale, CA (MSAD)
$e =
function get_years(Array,San Francisco-San Mateo-Redwood City, CA (MSAD),) {
1960
Selecting city: San Francisco-San Mateo-Redwood City, CA (MSAD)
Searching backwards from 2024 for most recent data.
Most recent data for San Francisco-San Mateo-Redwood City, CA (MSAD) is from 2024.
2024
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
1975
The first year data is available for San Francisco-San Mateo-Redwood City, CA (MSAD) is : 1975 the most recent year of data is 2024.
return Array
}
function get_years(Array,Los Angeles-Long Beach-Glendale, CA (MSAD),) {
1960
Selecting city: Los Angeles-Long Beach-Glendale, CA (MSAD)
Searching backwards from 2024 for most recent data.
Most recent data for Los Angeles-Long Beach-Glendale, CA (MSAD) is from 2024.
2024
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
1975
The first year data is available for Los Angeles-Long Beach-Glendale, CA (MSAD) is : 1975 the most recent year of data is 2024.
return Array
}

Inputs:

City_1 San Francisco-San Mateo-Redwood City, CA (MSAD)
City_2 Los Angeles-Long Beach-Glendale, CA (MSAD)
Price 100000
YearStart 2007
QuarterStart 1
YearEnd 2011
QuarterEnd 3

function check_year(San Francisco-San Mateo-Redwood City, CA (MSAD),2007):

Data for 2007 is in the $c[San Francisco-San Mateo-Redwood City, CA (MSAD)] element.

function check_quarter():

Data for the 1 quarter is in the $c[San Francisco-San Mateo-Redwood City, CA (MSAD)][2007] element.
START $v_year = 2011

function check_year(San Francisco-San Mateo-Redwood City, CA (MSAD),2011):

Data for 2011 is in the $c[San Francisco-San Mateo-Redwood City, CA (MSAD)] element.
END $v_year = 2011

function check_quarter():

Data for the 3 quarter is in the $c[San Francisco-San Mateo-Redwood City, CA (MSAD)][2011] element.

function check_year(Los Angeles-Long Beach-Glendale, CA (MSAD),2007):

Data for 2007 is in the $c[Los Angeles-Long Beach-Glendale, CA (MSAD)] element.

function check_quarter():

Data for the 1 quarter is in the $c[Los Angeles-Long Beach-Glendale, CA (MSAD)][2007] element.

function check_year(Los Angeles-Long Beach-Glendale, CA (MSAD),2011):

Data for 2011 is in the $c[Los Angeles-Long Beach-Glendale, CA (MSAD)] element.

function check_quarter():

Data for the 3 quarter is in the $c[Los Angeles-Long Beach-Glendale, CA (MSAD)][2011] element.

function get_valuation():

Purchase price: $100000
Purchase year: 2007
Purchase quarter: 1
Start price index:307.45
Current price index:240.86
Based on HPI the home has appreciated -21.66% in 4.5 years at an average rate of -4.81% per year.
The current appreciations value is: $78341.19
Evaluation year: 2011
Evaluation quarter: 3
Evaluation period: 4.5 years (18 quarters or 54 months).


Array ( [0] => San Francisco-San Mateo-Redwood City, CA (MSAD) [1] => 100000 [2] => 2007 [3] => 1 [4] => 2011 [5] => 3 [6] => 4.5 [7] => 18 [8] => 54 [9] => 78341.19 [10] => -0.21658806309969 [11] => -0.04813068068882 ) 1
San Francisco-San Mateo-Redwood City, CA (MSAD)
100000
2007
1
2011
3
4.5
18
54
78341.19
-0.21658806309969
-0.04813068068882
San Francisco-San Mateo-Redwood City, CA (MSAD)
100000
2007
1
2011
3
4.5
18
54
78341.19
-0.21658806309969
-0.04813068068882
307.45
240.86
p_year=2007 / ycount=2007 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
100000
2007(1) : Array[2007][1] : Value = 100000 (100000 / 100000)
qcount=2 / qend=4 / v_quarter=3
99636
2007(2) : Array[2007][2] : Value = 99636 (99636 / 100000)
qcount=3 / qend=4 / v_quarter=3
99597
2007(3) : Array[2007][3] : Value = 99597 (99597 / 100000)
qcount=4 / qend=4 / v_quarter=3
97239
2007(4) : Array[2007][4] : Value = 97239 (97239 / 100000)
p_year=2007 / ycount=2008 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
94998
2008(1) : Array[2008][1] : Value = 94998 (94998 / 100000)
qcount=2 / qend=4 / v_quarter=3
91173
2008(2) : Array[2008][2] : Value = 91173 (91173 / 100000)
qcount=3 / qend=4 / v_quarter=3
88226
2008(3) : Array[2008][3] : Value = 88226 (88226 / 100000)
qcount=4 / qend=4 / v_quarter=3
86827
2008(4) : Array[2008][4] : Value = 86827 (86827 / 100000)
p_year=2007 / ycount=2009 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
85399
2009(1) : Array[2009][1] : Value = 85399 (85399 / 100000)
qcount=2 / qend=4 / v_quarter=3
82117
2009(2) : Array[2009][2] : Value = 82117 (82117 / 100000)
qcount=3 / qend=4 / v_quarter=3
81086
2009(3) : Array[2009][3] : Value = 81086 (81086 / 100000)
qcount=4 / qend=4 / v_quarter=3
81408
2009(4) : Array[2009][4] : Value = 81408 (81086 / 100000)
p_year=2007 / ycount=2010 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
81028
2010(1) : Array[2010][1] : Value = 81028 (81028 / 100000)
qcount=2 / qend=4 / v_quarter=3
80950
2010(2) : Array[2010][2] : Value = 80950 (80950 / 100000)
qcount=3 / qend=4 / v_quarter=3
81347
2010(3) : Array[2010][3] : Value = 81347 (80950 / 100000)
qcount=4 / qend=4 / v_quarter=3
80735
2010(4) : Array[2010][4] : Value = 80735 (80735 / 100000)
p_year=2007 / ycount=2011 / v_year=2011

function check_quarter():

Data for the 1 quarter is in the $c[San Francisco-San Mateo-Redwood City, CA (MSAD)][2011] element.
qcount=1 / qend=3 / v_quarter=3
78852
2011(1) : Array[2011][1] : Value = 78852 (78852 / 100000)
qcount=2 / qend=3 / v_quarter=3
77860
2011(2) : Array[2011][2] : Value = 77860 (77860 / 100000)
qcount=3 / qend=3 / v_quarter=3
78341
2011(3) : Array[2011][3] : Value = 78341 (77860 / 100000)

function get_valuation():

Purchase price: $100000
Purchase year: 2007
Purchase quarter: 1
Start price index:338.13
Current price index:221.53
Based on HPI the home has appreciated -34.48% in 4.5 years at an average rate of -7.66% per year.
The current appreciations value is: $65516.22
Evaluation year: 2011
Evaluation quarter: 3
Evaluation period: 4.5 years (18 quarters or 54 months).


Los Angeles-Long Beach-Glendale, CA (MSAD)
100000
2007
1
2011
3
4.5
18
54
65516.22
-0.34483778428415
-0.076630618729811
338.13
221.53
p_year=2007 / ycount=2007 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
100000
2007(1) : Array[2007][1] : Value = 100000 (100000 / 100000)
qcount=2 / qend=4 / v_quarter=3
99355
2007(2) : Array[2007][2] : Value = 99355 (99355 / 100000)
qcount=3 / qend=4 / v_quarter=3
97288
2007(3) : Array[2007][3] : Value = 97288 (97288 / 100000)
qcount=4 / qend=4 / v_quarter=3
94044
2007(4) : Array[2007][4] : Value = 94044 (94044 / 100000)
p_year=2007 / ycount=2008 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
88626
2008(1) : Array[2008][1] : Value = 88626 (88626 / 100000)
qcount=2 / qend=4 / v_quarter=3
81611
2008(2) : Array[2008][2] : Value = 81611 (81611 / 100000)
qcount=3 / qend=4 / v_quarter=3
75589
2008(3) : Array[2008][3] : Value = 75589 (75589 / 100000)
qcount=4 / qend=4 / v_quarter=3
72629
2008(4) : Array[2008][4] : Value = 72629 (72629 / 100000)
p_year=2007 / ycount=2009 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
71688
2009(1) : Array[2009][1] : Value = 71688 (71688 / 100000)
qcount=2 / qend=4 / v_quarter=3
68858
2009(2) : Array[2009][2] : Value = 68858 (68858 / 100000)
qcount=3 / qend=4 / v_quarter=3
67799
2009(3) : Array[2009][3] : Value = 67799 (67799 / 100000)
qcount=4 / qend=4 / v_quarter=3
68604
2009(4) : Array[2009][4] : Value = 68604 (67799 / 100000)
p_year=2007 / ycount=2010 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
68228
2010(1) : Array[2010][1] : Value = 68228 (67799 / 100000)
qcount=2 / qend=4 / v_quarter=3
68128
2010(2) : Array[2010][2] : Value = 68128 (67799 / 100000)
qcount=3 / qend=4 / v_quarter=3
68734
2010(3) : Array[2010][3] : Value = 68734 (67799 / 100000)
qcount=4 / qend=4 / v_quarter=3
68210
2010(4) : Array[2010][4] : Value = 68210 (67799 / 100000)
p_year=2007 / ycount=2011 / v_year=2011

function check_quarter():

Data for the 1 quarter is in the $c[Los Angeles-Long Beach-Glendale, CA (MSAD)][2011] element.
qcount=1 / qend=3 / v_quarter=3
66152
2011(1) : Array[2011][1] : Value = 66152 (66152 / 100000)
qcount=2 / qend=3 / v_quarter=3
65185
2011(2) : Array[2011][2] : Value = 65185 (65185 / 100000)
qcount=3 / qend=3 / v_quarter=3
65516
2011(3) : Array[2011][3] : Value = 65516 (65185 / 100000)
HomePriceGraph.com+Price+depreciation+in+San+Francisco-San+Mateo-Redwood+City%2C+CA++%28MSAD%29+for+years+2007+to+2011++++++++++++++++++%7CTotal+depreciation+%3D+%24-21%2C659%28-21.66%25%29+++Start%3A+%24100%2C000+End%3A+%2478%2C341
t:100000,99636,99597,97239,94998,91173,88226,86827,85399,82117,81086,81408,81028,80950,81347,80735,78852,77860,78341|100000,99355,97288,94044,88626,81611,75589,72629,71688,68858,67799,68604,68228,68128,68734,68210,66152,65185,65516
2007|.|.|.|2008|.|.|.|2009|.|.|.|2010|.|.|.|2011|.|.|
63000
102000
5000
63000
102000
San Francisco-San Mateo-Redwood City, CA (MSAD)|Los Angeles-Long Beach-Glendale, CA (MSAD)
17
0
2011
2007
2
1
77860
100000

function graph():

post_chtt HomePriceGraph.com Price depreciation in San Francisco-San Mateo-Redwood City, CA (MSAD) for years 2007 to 2011 |Total depreciation = $-21,659(-21.66%) Start: $100,000 End: $78,341
post_cht ls
post_chd t:100000,99636,99597,97239,94998,91173,88226,86827,85399,82117,81086,81408,81028,80950,81347,80735,78852,77860,78341|100000,99355,97288,94044,88626,81611,75589,72629,71688,68858,67799,68604,68228,68128,68734,68210,66152,65185,65516
post_chl 2007|.|.|.|2008|.|.|.|2009|.|.|.|2010|.|.|.|2011|.|.|
post_chxl
post_chbh a
post_chco 3972cc,cccccc
post_chs 800x375
post_chdl San Francisco-San Mateo-Redwood City, CA (MSAD)|Los Angeles-Long Beach-Glendale, CA (MSAD)
post_chxt x,y
post_chxr 1,63000,102000,5000
post_chxs 1,0000DD,18,0,lt,0000DD|2,0000DD,0,l
post_chxtc 1,-800|2,-800
post_chds 63000,102000
post_chf
http://chart.apis.google.com/chart?chid=0bd779a8510a99cd01dd343b51412bf7+chtt=HomePriceGraph.com+Price+depreciation+in+San+Francisco-San+Mateo-Redwood+City%2C+CA++%28MSAD%29+for+years+2007+to+2011++++++++++++++++++%7CTotal+depreciation+%3D+%24-21%2C659%28-21.66%25%29+++Start%3A+%24100%2C000+End%3A+%2478%2C341&cht=ls&chd=t%3A100000%2C99636%2C99597%2C97239%2C94998%2C91173%2C88226%2C86827%2C85399%2C82117%2C81086%2C81408%2C81028%2C80950%2C81347%2C80735%2C78852%2C77860%2C78341%7C100000%2C99355%2C97288%2C94044%2C88626%2C81611%2C75589%2C72629%2C71688%2C68858%2C67799%2C68604%2C68228%2C68128%2C68734%2C68210%2C66152%2C65185%2C65516&chl=2007%7C.%7C.%7C.%7C2008%7C.%7C.%7C.%7C2009%7C.%7C.%7C.%7C2010%7C.%7C.%7C.%7C2011%7C.%7C.%7C&chbh=a&chco=3972cc%2Ccccccc&chs=800x375&chxt=x%2Cy&chxr=1%2C63000%2C102000%2C5000&chxs=1%2C0000DD%2C18%2C0%2Clt%2C0000DD%7C2%2C0000DD%2C0%2Cl&chxtc=1%2C-800%7C2%2C-800&chds=63000%2C102000&chdl=San+Francisco-San+Mateo-Redwood+City%2C+CA++%28MSAD%29%7CLos+Angeles-Long+Beach-Glendale%2C+CA++%28MSAD%29&chdlp=b&chm=tLOW+%3A+%2477%5C%2C860+in+2011%2C3972dd%2C0%2C17%2C16%2C%2Cl%3A%3A-10%7CtHIGH+%3A+%24100%5C%2C000+in+2007%2C3972dd%2C0%2C0%2C16%2C%2Cl%3A%3A1&chma=70%2C30%2C30%2C30DEBUGGING so... exiting before image dump...