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


Array ( [0] => Pittsburgh, PA [1] => 147000 [2] => 2007 [3] => 1 [4] => 2011 [5] => 3 [6] => 4.5 [7] => 18 [8] => 54 [9] => 152952.92 [10] => 0.040496076942546 [11] => 0.0089991282094547 ) 1
Pittsburgh, PA
147000
2007
1
2011
3
4.5
18
54
152952.92
0.040496076942546
0.0089991282094547
Pittsburgh, PA
147000
2007
1
2011
3
4.5
18
54
152952.92
0.040496076942546
0.0089991282094547
158.04
164.44
p_year=2007 / ycount=2007 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
147000
2007(1) : Array[2007][1] : Value = 147000 (147000 / 147000)
qcount=2 / qend=4 / v_quarter=3
147772
2007(2) : Array[2007][2] : Value = 147772 (147000 / 147772)
qcount=3 / qend=4 / v_quarter=3
147884
2007(3) : Array[2007][3] : Value = 147884 (147000 / 147884)
qcount=4 / qend=4 / v_quarter=3
148832
2007(4) : Array[2007][4] : Value = 148832 (147000 / 148832)
p_year=2007 / ycount=2008 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
151297
2008(1) : Array[2008][1] : Value = 151297 (147000 / 151297)
qcount=2 / qend=4 / v_quarter=3
150060
2008(2) : Array[2008][2] : Value = 150060 (147000 / 151297)
qcount=3 / qend=4 / v_quarter=3
149214
2008(3) : Array[2008][3] : Value = 149214 (147000 / 151297)
qcount=4 / qend=4 / v_quarter=3
148870
2008(4) : Array[2008][4] : Value = 148870 (147000 / 151297)
p_year=2007 / ycount=2009 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
152060
2009(1) : Array[2009][1] : Value = 152060 (147000 / 152060)
qcount=2 / qend=4 / v_quarter=3
151669
2009(2) : Array[2009][2] : Value = 151669 (147000 / 152060)
qcount=3 / qend=4 / v_quarter=3
149837
2009(3) : Array[2009][3] : Value = 149837 (147000 / 152060)
qcount=4 / qend=4 / v_quarter=3
149958
2009(4) : Array[2009][4] : Value = 149958 (147000 / 152060)
p_year=2007 / ycount=2010 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
149614
2010(1) : Array[2010][1] : Value = 149614 (147000 / 152060)
qcount=2 / qend=4 / v_quarter=3
149949
2010(2) : Array[2010][2] : Value = 149949 (147000 / 152060)
qcount=3 / qend=4 / v_quarter=3
152851
2010(3) : Array[2010][3] : Value = 152851 (147000 / 152851)
qcount=4 / qend=4 / v_quarter=3
152879
2010(4) : Array[2010][4] : Value = 152879 (147000 / 152879)
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
151455
2011(1) : Array[2011][1] : Value = 151455 (147000 / 152879)
qcount=2 / qend=3 / v_quarter=3
152079
2011(2) : Array[2011][2] : Value = 152079 (147000 / 152879)
qcount=3 / qend=3 / v_quarter=3
152953
2011(3) : Array[2011][3] : Value = 152953 (147000 / 152953)

function get_valuation():

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


Los Angeles-Long Beach-Glendale, CA (MSAD)
147000
2007
1
2011
3
4.5
18
54
96308.85
-0.34483778428415
-0.076630618729811
338.13
221.53
p_year=2007 / ycount=2007 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
147000
2007(1) : Array[2007][1] : Value = 147000 (147000 / 147000)
qcount=2 / qend=4 / v_quarter=3
146052
2007(2) : Array[2007][2] : Value = 146052 (146052 / 147000)
qcount=3 / qend=4 / v_quarter=3
143013
2007(3) : Array[2007][3] : Value = 143013 (143013 / 147000)
qcount=4 / qend=4 / v_quarter=3
138244
2007(4) : Array[2007][4] : Value = 138244 (138244 / 147000)
p_year=2007 / ycount=2008 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
130280
2008(1) : Array[2008][1] : Value = 130280 (130280 / 147000)
qcount=2 / qend=4 / v_quarter=3
119968
2008(2) : Array[2008][2] : Value = 119968 (119968 / 147000)
qcount=3 / qend=4 / v_quarter=3
111116
2008(3) : Array[2008][3] : Value = 111116 (111116 / 147000)
qcount=4 / qend=4 / v_quarter=3
106764
2008(4) : Array[2008][4] : Value = 106764 (106764 / 147000)
p_year=2007 / ycount=2009 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
105382
2009(1) : Array[2009][1] : Value = 105382 (105382 / 147000)
qcount=2 / qend=4 / v_quarter=3
101221
2009(2) : Array[2009][2] : Value = 101221 (101221 / 147000)
qcount=3 / qend=4 / v_quarter=3
99665
2009(3) : Array[2009][3] : Value = 99665 (99665 / 147000)
qcount=4 / qend=4 / v_quarter=3
100848
2009(4) : Array[2009][4] : Value = 100848 (99665 / 147000)
p_year=2007 / ycount=2010 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
100295
2010(1) : Array[2010][1] : Value = 100295 (99665 / 147000)
qcount=2 / qend=4 / v_quarter=3
100148
2010(2) : Array[2010][2] : Value = 100148 (99665 / 147000)
qcount=3 / qend=4 / v_quarter=3
101039
2010(3) : Array[2010][3] : Value = 101039 (99665 / 147000)
qcount=4 / qend=4 / v_quarter=3
100269
2010(4) : Array[2010][4] : Value = 100269 (99665 / 147000)
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
97244
2011(1) : Array[2011][1] : Value = 97244 (97244 / 147000)
qcount=2 / qend=3 / v_quarter=3
95822
2011(2) : Array[2011][2] : Value = 95822 (95822 / 147000)
qcount=3 / qend=3 / v_quarter=3
96309
2011(3) : Array[2011][3] : Value = 96309 (95822 / 147000)
HomePriceGraph.com+++++++++++++++++++Price+appreciation+in+Pittsburgh%2C+PA+for+years+2007+to+2011++++++++++++++++++++++++++++++++++++++++++++++++++++%7CTotal+appreciation+%3D+%245%2C953%284.05%25%29+++Start%3A+%24147%2C000+End%3A+%24152%2C953
t:147000,147772,147884,148832,151297,150060,149214,148870,152060,151669,149837,149958,149614,149949,152851,152879,151455,152079,152953|147000,146052,143013,138244,130280,119968,111116,106764,105382,101221,99665,100848,100295,100148,101039,100269,97244,95822,96309
2007|.|.|.|2008|.|.|.|2009|.|.|.|2010|.|.|.|2011|.|.|
93000
153300
10000
93000
153300
Pittsburgh, PA|Los Angeles-Long Beach-Glendale, CA (MSAD)
0
18
2007
2011
1
3
147000
152953

function graph():

post_chtt HomePriceGraph.com Price appreciation in Pittsburgh, PA for years 2007 to 2011 |Total appreciation = $5,953(4.05%) Start: $147,000 End: $152,953
post_cht ls
post_chd t:147000,147772,147884,148832,151297,150060,149214,148870,152060,151669,149837,149958,149614,149949,152851,152879,151455,152079,152953|147000,146052,143013,138244,130280,119968,111116,106764,105382,101221,99665,100848,100295,100148,101039,100269,97244,95822,96309
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,93000,153300,10000
post_chxs 1,0000DD,18,0,lt,0000DD|2,0000DD,0,l
post_chxtc 1,-800|2,-800
post_chds 93000,153300
post_chf
http://chart.apis.google.com/chart?chid=6361651eb90a4f41db8771f94ada0fe2+chtt=HomePriceGraph.com+++++++++++++++++++Price+appreciation+in+Pittsburgh%2C+PA+for+years+2007+to+2011++++++++++++++++++++++++++++++++++++++++++++++++++++%7CTotal+appreciation+%3D+%245%2C953%284.05%25%29+++Start%3A+%24147%2C000+End%3A+%24152%2C953&cht=ls&chd=t%3A147000%2C147772%2C147884%2C148832%2C151297%2C150060%2C149214%2C148870%2C152060%2C151669%2C149837%2C149958%2C149614%2C149949%2C152851%2C152879%2C151455%2C152079%2C152953%7C147000%2C146052%2C143013%2C138244%2C130280%2C119968%2C111116%2C106764%2C105382%2C101221%2C99665%2C100848%2C100295%2C100148%2C101039%2C100269%2C97244%2C95822%2C96309&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%2C93000%2C153300%2C10000&chxs=1%2C0000DD%2C18%2C0%2Clt%2C0000DD%7C2%2C0000DD%2C0%2Cl&chxtc=1%2C-800%7C2%2C-800&chds=93000%2C153300&chdl=Pittsburgh%2C+PA%7CLos+Angeles-Long+Beach-Glendale%2C+CA++%28MSAD%29&chdlp=b&chm=tLOW+%3A+%24147%5C%2C000+in+2007%2C3972dd%2C0%2C0%2C16%2C%2Cl%3A%3A-10%7CtHIGH+%3A+%24152%5C%2C953+in+2011%2C3972dd%2C0%2C18%2C16%2C%2Cl%3A%3A1&chma=70%2C30%2C30%2C30DEBUGGING so... exiting before image dump...