$City_1 = Pittsburgh, PA
$e =
$City_2 = Los Angeles-Long Beach-Glendale, CA (MSAD)
$e =
function get_years(Array,Pittsburgh, PA,) {
1960
Selecting city: Pittsburgh, PA
Searching backwards from 2025 for most recent data.
0: Year 2025 not found in data for Pittsburgh, PA.
Most recent data for Pittsburgh, PA 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
1976
The first year data is available for Pittsburgh, PA is : 1976 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 2025 for most recent data.
0: Year 2025 not found in data for Los Angeles-Long Beach-Glendale, CA (MSAD).
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 Pittsburgh, PA
City_2 Los Angeles-Long Beach-Glendale, CA (MSAD)
Price 230000
YearStart 2007
QuarterStart 1
YearEnd 2011
QuarterEnd 3

function check_year(Pittsburgh, PA,2007):

Data for 2007 is in the $c[Pittsburgh, PA] element.

function check_quarter():

Data for the 1 quarter is in the $c[Pittsburgh, PA][2007] element.
START $v_year = 2011

function check_year(Pittsburgh, PA,2011):

Data for 2011 is in the $c[Pittsburgh, PA] element.
END $v_year = 2011

function check_quarter():

Data for the 3 quarter is in the $c[Pittsburgh, PA][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: $230000
Purchase year: 2007
Purchase quarter: 1
Start price index:158.04
Current price index:164.44
Based on HPI the home has appreciated 4.05% in 4.5 years at an average rate of 0.9% per year.
The current appreciations value is: $239314.1
Evaluation year: 2011
Evaluation quarter: 3
Evaluation period: 4.5 years (18 quarters or 54 months).


Array ( [0] => Pittsburgh, PA [1] => 230000 [2] => 2007 [3] => 1 [4] => 2011 [5] => 3 [6] => 4.5 [7] => 18 [8] => 54 [9] => 239314.1 [10] => 0.040496076942546 [11] => 0.0089991282094547 ) 1
Pittsburgh, PA
230000
2007
1
2011
3
4.5
18
54
239314.1
0.040496076942546
0.0089991282094547
Pittsburgh, PA
230000
2007
1
2011
3
4.5
18
54
239314.1
0.040496076942546
0.0089991282094547
158.04
164.44
p_year=2007 / ycount=2007 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
230000
2007(1) : Array[2007][1] : Value = 230000 (230000 / 230000)
qcount=2 / qend=4 / v_quarter=3
231208
2007(2) : Array[2007][2] : Value = 231208 (230000 / 231208)
qcount=3 / qend=4 / v_quarter=3
231383
2007(3) : Array[2007][3] : Value = 231383 (230000 / 231383)
qcount=4 / qend=4 / v_quarter=3
232867
2007(4) : Array[2007][4] : Value = 232867 (230000 / 232867)
p_year=2007 / ycount=2008 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
236724
2008(1) : Array[2008][1] : Value = 236724 (230000 / 236724)
qcount=2 / qend=4 / v_quarter=3
234788
2008(2) : Array[2008][2] : Value = 234788 (230000 / 236724)
qcount=3 / qend=4 / v_quarter=3
233464
2008(3) : Array[2008][3] : Value = 233464 (230000 / 236724)
qcount=4 / qend=4 / v_quarter=3
232925
2008(4) : Array[2008][4] : Value = 232925 (230000 / 236724)
p_year=2007 / ycount=2009 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
237917
2009(1) : Array[2009][1] : Value = 237917 (230000 / 237917)
qcount=2 / qend=4 / v_quarter=3
237306
2009(2) : Array[2009][2] : Value = 237306 (230000 / 237917)
qcount=3 / qend=4 / v_quarter=3
234439
2009(3) : Array[2009][3] : Value = 234439 (230000 / 237917)
qcount=4 / qend=4 / v_quarter=3
234628
2009(4) : Array[2009][4] : Value = 234628 (230000 / 237917)
p_year=2007 / ycount=2010 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
234089
2010(1) : Array[2010][1] : Value = 234089 (230000 / 237917)
qcount=2 / qend=4 / v_quarter=3
234613
2010(2) : Array[2010][2] : Value = 234613 (230000 / 237917)
qcount=3 / qend=4 / v_quarter=3
239154
2010(3) : Array[2010][3] : Value = 239154 (230000 / 239154)
qcount=4 / qend=4 / v_quarter=3
239198
2010(4) : Array[2010][4] : Value = 239198 (230000 / 239198)
p_year=2007 / ycount=2011 / v_year=2011

function check_quarter():

Data for the 1 quarter is in the $c[Pittsburgh, PA][2011] element.
qcount=1 / qend=3 / v_quarter=3
236971
2011(1) : Array[2011][1] : Value = 236971 (230000 / 239198)
qcount=2 / qend=3 / v_quarter=3
237946
2011(2) : Array[2011][2] : Value = 237946 (230000 / 239198)
qcount=3 / qend=3 / v_quarter=3
239314
2011(3) : Array[2011][3] : Value = 239314 (230000 / 239314)

function get_valuation():

Purchase price: $230000
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: $150687.31
Evaluation year: 2011
Evaluation quarter: 3
Evaluation period: 4.5 years (18 quarters or 54 months).


Los Angeles-Long Beach-Glendale, CA (MSAD)
230000
2007
1
2011
3
4.5
18
54
150687.31
-0.34483778428415
-0.076630618729811
338.13
221.53
p_year=2007 / ycount=2007 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
230000
2007(1) : Array[2007][1] : Value = 230000 (230000 / 230000)
qcount=2 / qend=4 / v_quarter=3
228517
2007(2) : Array[2007][2] : Value = 228517 (228517 / 230000)
qcount=3 / qend=4 / v_quarter=3
223762
2007(3) : Array[2007][3] : Value = 223762 (223762 / 230000)
qcount=4 / qend=4 / v_quarter=3
216301
2007(4) : Array[2007][4] : Value = 216301 (216301 / 230000)
p_year=2007 / ycount=2008 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
203839
2008(1) : Array[2008][1] : Value = 203839 (203839 / 230000)
qcount=2 / qend=4 / v_quarter=3
187704
2008(2) : Array[2008][2] : Value = 187704 (187704 / 230000)
qcount=3 / qend=4 / v_quarter=3
173855
2008(3) : Array[2008][3] : Value = 173855 (173855 / 230000)
qcount=4 / qend=4 / v_quarter=3
167046
2008(4) : Array[2008][4] : Value = 167046 (167046 / 230000)
p_year=2007 / ycount=2009 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
164883
2009(1) : Array[2009][1] : Value = 164883 (164883 / 230000)
qcount=2 / qend=4 / v_quarter=3
158374
2009(2) : Array[2009][2] : Value = 158374 (158374 / 230000)
qcount=3 / qend=4 / v_quarter=3
155939
2009(3) : Array[2009][3] : Value = 155939 (155939 / 230000)
qcount=4 / qend=4 / v_quarter=3
157789
2009(4) : Array[2009][4] : Value = 157789 (155939 / 230000)
p_year=2007 / ycount=2010 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
156925
2010(1) : Array[2010][1] : Value = 156925 (155939 / 230000)
qcount=2 / qend=4 / v_quarter=3
156694
2010(2) : Array[2010][2] : Value = 156694 (155939 / 230000)
qcount=3 / qend=4 / v_quarter=3
158088
2010(3) : Array[2010][3] : Value = 158088 (155939 / 230000)
qcount=4 / qend=4 / v_quarter=3
156884
2010(4) : Array[2010][4] : Value = 156884 (155939 / 230000)
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
152150
2011(1) : Array[2011][1] : Value = 152150 (152150 / 230000)
qcount=2 / qend=3 / v_quarter=3
149925
2011(2) : Array[2011][2] : Value = 149925 (149925 / 230000)
qcount=3 / qend=3 / v_quarter=3
150687
2011(3) : Array[2011][3] : Value = 150687 (149925 / 230000)
HomePriceGraph.com+++++++++++++++++++Price+appreciation+in+Pittsburgh%2C+PA+for+years+2007+to+2011++++++++++++++++++++++++++++++++++++++++++++++++++++%7CTotal+appreciation+%3D+%249%2C314%284.05%25%29+++Start%3A+%24230%2C000+End%3A+%24239%2C314
t:230000,231208,231383,232867,236724,234788,233464,232925,237917,237306,234439,234628,234089,234613,239154,239198,236971,237946,239314|230000,228517,223762,216301,203839,187704,173855,167046,164883,158374,155939,157789,156925,156694,158088,156884,152150,149925,150687
2007|.|.|.|2008|.|.|.|2009|.|.|.|2010|.|.|.|2011|.|.|
146000
239800
20000
146000
239800
Pittsburgh, PA|Los Angeles-Long Beach-Glendale, CA (MSAD)
0
18
2007
2011
1
3
230000
239314

function graph():

post_chtt HomePriceGraph.com Price appreciation in Pittsburgh, PA for years 2007 to 2011 |Total appreciation = $9,314(4.05%) Start: $230,000 End: $239,314
post_cht ls
post_chd t:230000,231208,231383,232867,236724,234788,233464,232925,237917,237306,234439,234628,234089,234613,239154,239198,236971,237946,239314|230000,228517,223762,216301,203839,187704,173855,167046,164883,158374,155939,157789,156925,156694,158088,156884,152150,149925,150687
post_chl 2007|.|.|.|2008|.|.|.|2009|.|.|.|2010|.|.|.|2011|.|.|
post_chxl
post_chbh a
post_chco 3972cc,cccccc
post_chs 800x375
post_chdl Pittsburgh, PA|Los Angeles-Long Beach-Glendale, CA (MSAD)
post_chxt x,y
post_chxr 1,146000,239800,20000
post_chxs 1,0000DD,18,0,lt,0000DD|2,0000DD,0,l
post_chxtc 1,-800|2,-800
post_chds 146000,239800
post_chf
http://chart.apis.google.com/chart?chid=443e7f087fc9abf03e6ada5d2fd3044e+chtt=HomePriceGraph.com+++++++++++++++++++Price+appreciation+in+Pittsburgh%2C+PA+for+years+2007+to+2011++++++++++++++++++++++++++++++++++++++++++++++++++++%7CTotal+appreciation+%3D+%249%2C314%284.05%25%29+++Start%3A+%24230%2C000+End%3A+%24239%2C314&cht=ls&chd=t%3A230000%2C231208%2C231383%2C232867%2C236724%2C234788%2C233464%2C232925%2C237917%2C237306%2C234439%2C234628%2C234089%2C234613%2C239154%2C239198%2C236971%2C237946%2C239314%7C230000%2C228517%2C223762%2C216301%2C203839%2C187704%2C173855%2C167046%2C164883%2C158374%2C155939%2C157789%2C156925%2C156694%2C158088%2C156884%2C152150%2C149925%2C150687&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%2C146000%2C239800%2C20000&chxs=1%2C0000DD%2C18%2C0%2Clt%2C0000DD%7C2%2C0000DD%2C0%2Cl&chxtc=1%2C-800%7C2%2C-800&chds=146000%2C239800&chdl=Pittsburgh%2C+PA%7CLos+Angeles-Long+Beach-Glendale%2C+CA++%28MSAD%29&chdlp=b&chm=tLOW+%3A+%24230%5C%2C000+in+2007%2C3972dd%2C0%2C0%2C16%2C%2Cl%3A%3A-10%7CtHIGH+%3A+%24239%5C%2C314+in+2011%2C3972dd%2C0%2C18%2C16%2C%2Cl%3A%3A1&chma=70%2C30%2C30%2C30DEBUGGING so... exiting before image dump...