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


Array ( [0] => Pittsburgh, PA [1] => 150000 [2] => 2007 [3] => 1 [4] => 2011 [5] => 3 [6] => 4.5 [7] => 18 [8] => 54 [9] => 156074.41 [10] => 0.040496076942546 [11] => 0.0089991282094547 ) 1
Pittsburgh, PA
150000
2007
1
2011
3
4.5
18
54
156074.41
0.040496076942546
0.0089991282094547
Pittsburgh, PA
150000
2007
1
2011
3
4.5
18
54
156074.41
0.040496076942546
0.0089991282094547
158.04
164.44
p_year=2007 / ycount=2007 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
150000
2007(1) : Array[2007][1] : Value = 150000 (150000 / 150000)
qcount=2 / qend=4 / v_quarter=3
150788
2007(2) : Array[2007][2] : Value = 150788 (150000 / 150788)
qcount=3 / qend=4 / v_quarter=3
150902
2007(3) : Array[2007][3] : Value = 150902 (150000 / 150902)
qcount=4 / qend=4 / v_quarter=3
151870
2007(4) : Array[2007][4] : Value = 151870 (150000 / 151870)
p_year=2007 / ycount=2008 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
154385
2008(1) : Array[2008][1] : Value = 154385 (150000 / 154385)
qcount=2 / qend=4 / v_quarter=3
153123
2008(2) : Array[2008][2] : Value = 153123 (150000 / 154385)
qcount=3 / qend=4 / v_quarter=3
152259
2008(3) : Array[2008][3] : Value = 152259 (150000 / 154385)
qcount=4 / qend=4 / v_quarter=3
151908
2008(4) : Array[2008][4] : Value = 151908 (150000 / 154385)
p_year=2007 / ycount=2009 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
155163
2009(1) : Array[2009][1] : Value = 155163 (150000 / 155163)
qcount=2 / qend=4 / v_quarter=3
154765
2009(2) : Array[2009][2] : Value = 154765 (150000 / 155163)
qcount=3 / qend=4 / v_quarter=3
152895
2009(3) : Array[2009][3] : Value = 152895 (150000 / 155163)
qcount=4 / qend=4 / v_quarter=3
153018
2009(4) : Array[2009][4] : Value = 153018 (150000 / 155163)
p_year=2007 / ycount=2010 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
152667
2010(1) : Array[2010][1] : Value = 152667 (150000 / 155163)
qcount=2 / qend=4 / v_quarter=3
153009
2010(2) : Array[2010][2] : Value = 153009 (150000 / 155163)
qcount=3 / qend=4 / v_quarter=3
155970
2010(3) : Array[2010][3] : Value = 155970 (150000 / 155970)
qcount=4 / qend=4 / v_quarter=3
155998
2010(4) : Array[2010][4] : Value = 155998 (150000 / 155998)
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
154546
2011(1) : Array[2011][1] : Value = 154546 (150000 / 155998)
qcount=2 / qend=3 / v_quarter=3
155182
2011(2) : Array[2011][2] : Value = 155182 (150000 / 155998)
qcount=3 / qend=3 / v_quarter=3
156074
2011(3) : Array[2011][3] : Value = 156074 (150000 / 156074)

function get_valuation():

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


Los Angeles-Long Beach-Glendale, CA (MSAD)
150000
2007
1
2011
3
4.5
18
54
98274.33
-0.34483778428415
-0.076630618729811
338.13
221.53
p_year=2007 / ycount=2007 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
150000
2007(1) : Array[2007][1] : Value = 150000 (150000 / 150000)
qcount=2 / qend=4 / v_quarter=3
149033
2007(2) : Array[2007][2] : Value = 149033 (149033 / 150000)
qcount=3 / qend=4 / v_quarter=3
145932
2007(3) : Array[2007][3] : Value = 145932 (145932 / 150000)
qcount=4 / qend=4 / v_quarter=3
141066
2007(4) : Array[2007][4] : Value = 141066 (141066 / 150000)
p_year=2007 / ycount=2008 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
132939
2008(1) : Array[2008][1] : Value = 132939 (132939 / 150000)
qcount=2 / qend=4 / v_quarter=3
122416
2008(2) : Array[2008][2] : Value = 122416 (122416 / 150000)
qcount=3 / qend=4 / v_quarter=3
113384
2008(3) : Array[2008][3] : Value = 113384 (113384 / 150000)
qcount=4 / qend=4 / v_quarter=3
108943
2008(4) : Array[2008][4] : Value = 108943 (108943 / 150000)
p_year=2007 / ycount=2009 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
107533
2009(1) : Array[2009][1] : Value = 107533 (107533 / 150000)
qcount=2 / qend=4 / v_quarter=3
103287
2009(2) : Array[2009][2] : Value = 103287 (103287 / 150000)
qcount=3 / qend=4 / v_quarter=3
101699
2009(3) : Array[2009][3] : Value = 101699 (101699 / 150000)
qcount=4 / qend=4 / v_quarter=3
102906
2009(4) : Array[2009][4] : Value = 102906 (101699 / 150000)
p_year=2007 / ycount=2010 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
102342
2010(1) : Array[2010][1] : Value = 102342 (101699 / 150000)
qcount=2 / qend=4 / v_quarter=3
102191
2010(2) : Array[2010][2] : Value = 102191 (101699 / 150000)
qcount=3 / qend=4 / v_quarter=3
103101
2010(3) : Array[2010][3] : Value = 103101 (101699 / 150000)
qcount=4 / qend=4 / v_quarter=3
102316
2010(4) : Array[2010][4] : Value = 102316 (101699 / 150000)
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
99228
2011(1) : Array[2011][1] : Value = 99228 (99228 / 150000)
qcount=2 / qend=3 / v_quarter=3
97777
2011(2) : Array[2011][2] : Value = 97777 (97777 / 150000)
qcount=3 / qend=3 / v_quarter=3
98274
2011(3) : Array[2011][3] : Value = 98274 (97777 / 150000)
HomePriceGraph.com+++++++++++++++++++Price+appreciation+in+Pittsburgh%2C+PA+for+years+2007+to+2011++++++++++++++++++++++++++++++++++++++++++++++++++++%7CTotal+appreciation+%3D+%246%2C074%284.05%25%29+++Start%3A+%24150%2C000+End%3A+%24156%2C074
t:150000,150788,150902,151870,154385,153123,152259,151908,155163,154765,152895,153018,152667,153009,155970,155998,154546,155182,156074|150000,149033,145932,141066,132939,122416,113384,108943,107533,103287,101699,102906,102342,102191,103101,102316,99228,97777,98274
2007|.|.|.|2008|.|.|.|2009|.|.|.|2010|.|.|.|2011|.|.|
95000
156400
10000
95000
156400
Pittsburgh, PA|Los Angeles-Long Beach-Glendale, CA (MSAD)
0
18
2007
2011
1
3
150000
156074

function graph():

post_chtt HomePriceGraph.com Price appreciation in Pittsburgh, PA for years 2007 to 2011 |Total appreciation = $6,074(4.05%) Start: $150,000 End: $156,074
post_cht ls
post_chd t:150000,150788,150902,151870,154385,153123,152259,151908,155163,154765,152895,153018,152667,153009,155970,155998,154546,155182,156074|150000,149033,145932,141066,132939,122416,113384,108943,107533,103287,101699,102906,102342,102191,103101,102316,99228,97777,98274
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,95000,156400,10000
post_chxs 1,0000DD,18,0,lt,0000DD|2,0000DD,0,l
post_chxtc 1,-800|2,-800
post_chds 95000,156400
post_chf
http://chart.apis.google.com/chart?chid=6345a3e7d704032f801a1be1f50d29ac+chtt=HomePriceGraph.com+++++++++++++++++++Price+appreciation+in+Pittsburgh%2C+PA+for+years+2007+to+2011++++++++++++++++++++++++++++++++++++++++++++++++++++%7CTotal+appreciation+%3D+%246%2C074%284.05%25%29+++Start%3A+%24150%2C000+End%3A+%24156%2C074&cht=ls&chd=t%3A150000%2C150788%2C150902%2C151870%2C154385%2C153123%2C152259%2C151908%2C155163%2C154765%2C152895%2C153018%2C152667%2C153009%2C155970%2C155998%2C154546%2C155182%2C156074%7C150000%2C149033%2C145932%2C141066%2C132939%2C122416%2C113384%2C108943%2C107533%2C103287%2C101699%2C102906%2C102342%2C102191%2C103101%2C102316%2C99228%2C97777%2C98274&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%2C95000%2C156400%2C10000&chxs=1%2C0000DD%2C18%2C0%2Clt%2C0000DD%7C2%2C0000DD%2C0%2Cl&chxtc=1%2C-800%7C2%2C-800&chds=95000%2C156400&chdl=Pittsburgh%2C+PA%7CLos+Angeles-Long+Beach-Glendale%2C+CA++%28MSAD%29&chdlp=b&chm=tLOW+%3A+%24150%5C%2C000+in+2007%2C3972dd%2C0%2C0%2C16%2C%2Cl%3A%3A-10%7CtHIGH+%3A+%24156%5C%2C074+in+2011%2C3972dd%2C0%2C18%2C16%2C%2Cl%3A%3A1&chma=70%2C30%2C30%2C30DEBUGGING so... exiting before image dump...