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


Array ( [0] => Pittsburgh, PA [1] => 157000 [2] => 2007 [3] => 1 [4] => 2011 [5] => 3 [6] => 4.5 [7] => 18 [8] => 54 [9] => 163357.88 [10] => 0.040496076942546 [11] => 0.0089991282094547 ) 1
Pittsburgh, PA
157000
2007
1
2011
3
4.5
18
54
163357.88
0.040496076942546
0.0089991282094547
Pittsburgh, PA
157000
2007
1
2011
3
4.5
18
54
163357.88
0.040496076942546
0.0089991282094547
158.04
164.44
p_year=2007 / ycount=2007 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
157000
2007(1) : Array[2007][1] : Value = 157000 (157000 / 157000)
qcount=2 / qend=4 / v_quarter=3
157825
2007(2) : Array[2007][2] : Value = 157825 (157000 / 157825)
qcount=3 / qend=4 / v_quarter=3
157944
2007(3) : Array[2007][3] : Value = 157944 (157000 / 157944)
qcount=4 / qend=4 / v_quarter=3
158957
2007(4) : Array[2007][4] : Value = 158957 (157000 / 158957)
p_year=2007 / ycount=2008 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
161590
2008(1) : Array[2008][1] : Value = 161590 (157000 / 161590)
qcount=2 / qend=4 / v_quarter=3
160268
2008(2) : Array[2008][2] : Value = 160268 (157000 / 161590)
qcount=3 / qend=4 / v_quarter=3
159364
2008(3) : Array[2008][3] : Value = 159364 (157000 / 161590)
qcount=4 / qend=4 / v_quarter=3
158997
2008(4) : Array[2008][4] : Value = 158997 (157000 / 161590)
p_year=2007 / ycount=2009 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
162404
2009(1) : Array[2009][1] : Value = 162404 (157000 / 162404)
qcount=2 / qend=4 / v_quarter=3
161987
2009(2) : Array[2009][2] : Value = 161987 (157000 / 162404)
qcount=3 / qend=4 / v_quarter=3
160030
2009(3) : Array[2009][3] : Value = 160030 (157000 / 162404)
qcount=4 / qend=4 / v_quarter=3
160159
2009(4) : Array[2009][4] : Value = 160159 (157000 / 162404)
p_year=2007 / ycount=2010 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
159792
2010(1) : Array[2010][1] : Value = 159792 (157000 / 162404)
qcount=2 / qend=4 / v_quarter=3
160149
2010(2) : Array[2010][2] : Value = 160149 (157000 / 162404)
qcount=3 / qend=4 / v_quarter=3
163249
2010(3) : Array[2010][3] : Value = 163249 (157000 / 163249)
qcount=4 / qend=4 / v_quarter=3
163278
2010(4) : Array[2010][4] : Value = 163278 (157000 / 163278)
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
161758
2011(1) : Array[2011][1] : Value = 161758 (157000 / 163278)
qcount=2 / qend=3 / v_quarter=3
162424
2011(2) : Array[2011][2] : Value = 162424 (157000 / 163278)
qcount=3 / qend=3 / v_quarter=3
163358
2011(3) : Array[2011][3] : Value = 163358 (157000 / 163358)

function get_valuation():

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


Los Angeles-Long Beach-Glendale, CA (MSAD)
157000
2007
1
2011
3
4.5
18
54
102860.47
-0.34483778428415
-0.076630618729811
338.13
221.53
p_year=2007 / ycount=2007 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
157000
2007(1) : Array[2007][1] : Value = 157000 (157000 / 157000)
qcount=2 / qend=4 / v_quarter=3
155988
2007(2) : Array[2007][2] : Value = 155988 (155988 / 157000)
qcount=3 / qend=4 / v_quarter=3
152742
2007(3) : Array[2007][3] : Value = 152742 (152742 / 157000)
qcount=4 / qend=4 / v_quarter=3
147649
2007(4) : Array[2007][4] : Value = 147649 (147649 / 157000)
p_year=2007 / ycount=2008 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
139142
2008(1) : Array[2008][1] : Value = 139142 (139142 / 157000)
qcount=2 / qend=4 / v_quarter=3
128129
2008(2) : Array[2008][2] : Value = 128129 (128129 / 157000)
qcount=3 / qend=4 / v_quarter=3
118675
2008(3) : Array[2008][3] : Value = 118675 (118675 / 157000)
qcount=4 / qend=4 / v_quarter=3
114027
2008(4) : Array[2008][4] : Value = 114027 (114027 / 157000)
p_year=2007 / ycount=2009 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
112551
2009(1) : Array[2009][1] : Value = 112551 (112551 / 157000)
qcount=2 / qend=4 / v_quarter=3
108107
2009(2) : Array[2009][2] : Value = 108107 (108107 / 157000)
qcount=3 / qend=4 / v_quarter=3
106445
2009(3) : Array[2009][3] : Value = 106445 (106445 / 157000)
qcount=4 / qend=4 / v_quarter=3
107708
2009(4) : Array[2009][4] : Value = 107708 (106445 / 157000)
p_year=2007 / ycount=2010 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
107118
2010(1) : Array[2010][1] : Value = 107118 (106445 / 157000)
qcount=2 / qend=4 / v_quarter=3
106960
2010(2) : Array[2010][2] : Value = 106960 (106445 / 157000)
qcount=3 / qend=4 / v_quarter=3
107912
2010(3) : Array[2010][3] : Value = 107912 (106445 / 157000)
qcount=4 / qend=4 / v_quarter=3
107090
2010(4) : Array[2010][4] : Value = 107090 (106445 / 157000)
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
103859
2011(1) : Array[2011][1] : Value = 103859 (103859 / 157000)
qcount=2 / qend=3 / v_quarter=3
102340
2011(2) : Array[2011][2] : Value = 102340 (102340 / 157000)
qcount=3 / qend=3 / v_quarter=3
102860
2011(3) : Array[2011][3] : Value = 102860 (102340 / 157000)
HomePriceGraph.com+++++++++++++++++++Price+appreciation+in+Pittsburgh%2C+PA+for+years+2007+to+2011++++++++++++++++++++++++++++++++++++++++++++++++++++%7CTotal+appreciation+%3D+%246%2C358%284.05%25%29+++Start%3A+%24157%2C000+End%3A+%24163%2C358
t:157000,157825,157944,158957,161590,160268,159364,158997,162404,161987,160030,160159,159792,160149,163249,163278,161758,162424,163358|157000,155988,152742,147649,139142,128129,118675,114027,112551,108107,106445,107708,107118,106960,107912,107090,103859,102340,102860
2007|.|.|.|2008|.|.|.|2009|.|.|.|2010|.|.|.|2011|.|.|
100000
163700
10000
100000
163700
Pittsburgh, PA|Los Angeles-Long Beach-Glendale, CA (MSAD)
0
18
2007
2011
1
3
157000
163358

function graph():

post_chtt HomePriceGraph.com Price appreciation in Pittsburgh, PA for years 2007 to 2011 |Total appreciation = $6,358(4.05%) Start: $157,000 End: $163,358
post_cht ls
post_chd t:157000,157825,157944,158957,161590,160268,159364,158997,162404,161987,160030,160159,159792,160149,163249,163278,161758,162424,163358|157000,155988,152742,147649,139142,128129,118675,114027,112551,108107,106445,107708,107118,106960,107912,107090,103859,102340,102860
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,100000,163700,10000
post_chxs 1,0000DD,18,0,lt,0000DD|2,0000DD,0,l
post_chxtc 1,-800|2,-800
post_chds 100000,163700
post_chf
http://chart.apis.google.com/chart?chid=2c57454fa288969b1f97b1f44f0f2f37+chtt=HomePriceGraph.com+++++++++++++++++++Price+appreciation+in+Pittsburgh%2C+PA+for+years+2007+to+2011++++++++++++++++++++++++++++++++++++++++++++++++++++%7CTotal+appreciation+%3D+%246%2C358%284.05%25%29+++Start%3A+%24157%2C000+End%3A+%24163%2C358&cht=ls&chd=t%3A157000%2C157825%2C157944%2C158957%2C161590%2C160268%2C159364%2C158997%2C162404%2C161987%2C160030%2C160159%2C159792%2C160149%2C163249%2C163278%2C161758%2C162424%2C163358%7C157000%2C155988%2C152742%2C147649%2C139142%2C128129%2C118675%2C114027%2C112551%2C108107%2C106445%2C107708%2C107118%2C106960%2C107912%2C107090%2C103859%2C102340%2C102860&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%2C100000%2C163700%2C10000&chxs=1%2C0000DD%2C18%2C0%2Clt%2C0000DD%7C2%2C0000DD%2C0%2Cl&chxtc=1%2C-800%7C2%2C-800&chds=100000%2C163700&chdl=Pittsburgh%2C+PA%7CLos+Angeles-Long+Beach-Glendale%2C+CA++%28MSAD%29&chdlp=b&chm=tLOW+%3A+%24157%5C%2C000+in+2007%2C3972dd%2C0%2C0%2C16%2C%2Cl%3A%3A-10%7CtHIGH+%3A+%24163%5C%2C358+in+2011%2C3972dd%2C0%2C18%2C16%2C%2Cl%3A%3A1&chma=70%2C30%2C30%2C30DEBUGGING so... exiting before image dump...