$City_1 = Phoenix-Mesa-Glendale, AZ
$e = bad
$City_2 = Salt Lake City, UT
$e =
function get_years(Array,Lawrence, KS,) {
1960
Selecting city: Lawrence, KS
Searching backwards from 2025 for most recent data.
0: Year 2025 not found in data for Lawrence, KS.
Most recent data for Lawrence, KS 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
1985
The first year data is available for Lawrence, KS is : 1985 the most recent year of data is 2024.
return Array
}
function get_years(Array,Salt Lake City, UT,) {
1960
Selecting city: Salt Lake City, UT
Searching backwards from 2025 for most recent data.
0: Year 2025 not found in data for Salt Lake City, UT.
Most recent data for Salt Lake City, UT 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
1977
The first year data is available for Salt Lake City, UT is : 1977 the most recent year of data is 2024.
return Array
}

Inputs:

City_1 Lawrence, KS
City_2 Salt Lake City, UT
Price 198000
YearStart 2008
QuarterStart 1
YearEnd 2011
QuarterEnd 3

function check_year(Lawrence, KS,2008):

Data for 2008 is in the $c[Lawrence, KS] element.

function check_quarter():

Data for the 1 quarter is in the $c[Lawrence, KS][2008] element.
START $v_year = 2011

function check_year(Lawrence, KS,2011):

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

function check_quarter():

Data for the 3 quarter is in the $c[Lawrence, KS][2011] element.

function check_year(Salt Lake City, UT,2008):

Data for 2008 is in the $c[Salt Lake City, UT] element.

function check_quarter():

Data for the 1 quarter is in the $c[Salt Lake City, UT][2008] element.

function check_year(Salt Lake City, UT,2011):

Data for 2011 is in the $c[Salt Lake City, UT] element.

function check_quarter():

Data for the 3 quarter is in the $c[Salt Lake City, UT][2011] element.

function get_valuation():

Purchase price: $198000
Purchase year: 2008
Purchase quarter: 1
Start price index:185.94
Current price index:173.87
Based on HPI the home has appreciated -6.49% in 3.5 years at an average rate of -1.85% per year.
The current appreciations value is: $185147.14
Evaluation year: 2011
Evaluation quarter: 3
Evaluation period: 3.5 years (14 quarters or 42 months).


Array ( [0] => Lawrence, KS [1] => 198000 [2] => 2008 [3] => 1 [4] => 2011 [5] => 3 [6] => 3.5 [7] => 14 [8] => 42 [9] => 185147.14 [10] => -0.064913412928902 [11] => -0.018546689408258 ) 1
Lawrence, KS
198000
2008
1
2011
3
3.5
14
42
185147.14
-0.064913412928902
-0.018546689408258
Lawrence, KS
198000
2008
1
2011
3
3.5
14
42
185147.14
-0.064913412928902
-0.018546689408258
185.94
173.87
p_year=2008 / ycount=2008 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
198000
2008(1) : Array[2008][1] : Value = 198000 (198000 / 198000)
qcount=2 / qend=4 / v_quarter=3
195657
2008(2) : Array[2008][2] : Value = 195657 (195657 / 198000)
qcount=3 / qend=4 / v_quarter=3
192154
2008(3) : Array[2008][3] : Value = 192154 (192154 / 198000)
qcount=4 / qend=4 / v_quarter=3
194326
2008(4) : Array[2008][4] : Value = 194326 (192154 / 198000)
p_year=2008 / ycount=2009 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
193794
2009(1) : Array[2009][1] : Value = 193794 (192154 / 198000)
qcount=2 / qend=4 / v_quarter=3
190344
2009(2) : Array[2009][2] : Value = 190344 (190344 / 198000)
qcount=3 / qend=4 / v_quarter=3
190940
2009(3) : Array[2009][3] : Value = 190940 (190344 / 198000)
qcount=4 / qend=4 / v_quarter=3
189172
2009(4) : Array[2009][4] : Value = 189172 (189172 / 198000)
p_year=2008 / ycount=2010 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
187724
2010(1) : Array[2010][1] : Value = 187724 (187724 / 198000)
qcount=2 / qend=4 / v_quarter=3
187138
2010(2) : Array[2010][2] : Value = 187138 (187138 / 198000)
qcount=3 / qend=4 / v_quarter=3
187916
2010(3) : Array[2010][3] : Value = 187916 (187138 / 198000)
qcount=4 / qend=4 / v_quarter=3
188810
2010(4) : Array[2010][4] : Value = 188810 (187138 / 198000)
p_year=2008 / ycount=2011 / v_year=2011

function check_quarter():

Data for the 1 quarter is in the $c[Lawrence, KS][2011] element.
qcount=1 / qend=3 / v_quarter=3
183390
2011(1) : Array[2011][1] : Value = 183390 (183390 / 198000)
qcount=2 / qend=3 / v_quarter=3
184913
2011(2) : Array[2011][2] : Value = 184913 (183390 / 198000)
qcount=3 / qend=3 / v_quarter=3
185147
2011(3) : Array[2011][3] : Value = 185147 (183390 / 198000)

function get_valuation():

Purchase price: $198000
Purchase year: 2008
Purchase quarter: 1
Start price index:217.73
Current price index:172.85
Based on HPI the home has appreciated -20.61% in 3.5 years at an average rate of -5.89% per year.
The current appreciations value is: $157186.88
Evaluation year: 2011
Evaluation quarter: 3
Evaluation period: 3.5 years (14 quarters or 42 months).


Salt Lake City, UT
198000
2008
1
2011
3
3.5
14
42
157186.88
-0.20612685436091
-0.058893386960259
217.73
172.85
p_year=2008 / ycount=2008 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
198000
2008(1) : Array[2008][1] : Value = 198000 (198000 / 198000)
qcount=2 / qend=4 / v_quarter=3
194517
2008(2) : Array[2008][2] : Value = 194517 (194517 / 198000)
qcount=3 / qend=4 / v_quarter=3
188979
2008(3) : Array[2008][3] : Value = 188979 (188979 / 198000)
qcount=4 / qend=4 / v_quarter=3
188151
2008(4) : Array[2008][4] : Value = 188151 (188151 / 198000)
p_year=2008 / ycount=2009 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
186269
2009(1) : Array[2009][1] : Value = 186269 (186269 / 198000)
qcount=2 / qend=4 / v_quarter=3
178421
2009(2) : Array[2009][2] : Value = 178421 (178421 / 198000)
qcount=3 / qend=4 / v_quarter=3
170800
2009(3) : Array[2009][3] : Value = 170800 (170800 / 198000)
qcount=4 / qend=4 / v_quarter=3
169236
2009(4) : Array[2009][4] : Value = 169236 (169236 / 198000)
p_year=2008 / ycount=2010 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
166935
2010(1) : Array[2010][1] : Value = 166935 (166935 / 198000)
qcount=2 / qend=4 / v_quarter=3
164226
2010(2) : Array[2010][2] : Value = 164226 (164226 / 198000)
qcount=3 / qend=4 / v_quarter=3
165699
2010(3) : Array[2010][3] : Value = 165699 (164226 / 198000)
qcount=4 / qend=4 / v_quarter=3
164935
2010(4) : Array[2010][4] : Value = 164935 (164226 / 198000)
p_year=2008 / ycount=2011 / v_year=2011

function check_quarter():

Data for the 1 quarter is in the $c[Salt Lake City, UT][2011] element.
qcount=1 / qend=3 / v_quarter=3
158214
2011(1) : Array[2011][1] : Value = 158214 (158214 / 198000)
qcount=2 / qend=3 / v_quarter=3
155477
2011(2) : Array[2011][2] : Value = 155477 (155477 / 198000)
qcount=3 / qend=3 / v_quarter=3
157187
2011(3) : Array[2011][3] : Value = 157187 (155477 / 198000)
HomePriceGraph.com+++++++++++++++++++++Price+depreciation+in+Lawrence%2C+KS+for+years+2008+to+2011++++++++++++++++++++++++++++++++++++++++++++++++++++++%7CTotal+depreciation+%3D+%24-12%2C853%28-6.49%25%29+++Start%3A+%24198%2C000+End%3A+%24185%2C147
t:198000,195657,192154,194326,193794,190344,190940,189172,187724,187138,187916,188810,183390,184913,185147|198000,194517,188979,188151,186269,178421,170800,169236,166935,164226,165699,164935,158214,155477,157187
2008|.|.|.|2009|.|.|.|2010|.|.|.|2011|.|.|
153000
200000
10000
153000
200000
Lawrence, KS|Salt Lake City, UT
12
0
2011
2008
1
1
183390
198000

function graph():

post_chtt HomePriceGraph.com Price depreciation in Lawrence, KS for years 2008 to 2011 |Total depreciation = $-12,853(-6.49%) Start: $198,000 End: $185,147
post_cht ls
post_chd t:198000,195657,192154,194326,193794,190344,190940,189172,187724,187138,187916,188810,183390,184913,185147|198000,194517,188979,188151,186269,178421,170800,169236,166935,164226,165699,164935,158214,155477,157187
post_chl 2008|.|.|.|2009|.|.|.|2010|.|.|.|2011|.|.|
post_chxl
post_chbh a
post_chco 3972cc,cccccc
post_chs 800x375
post_chdl Lawrence, KS|Salt Lake City, UT
post_chxt x,y
post_chxr 1,153000,200000,10000
post_chxs 1,0000DD,18,0,lt,0000DD|2,0000DD,0,l
post_chxtc 1,-800|2,-800
post_chds 153000,200000
post_chf
http://chart.apis.google.com/chart?chid=dcfe509bf5d22eb4db512213b43ec5f7+chtt=HomePriceGraph.com+++++++++++++++++++++Price+depreciation+in+Lawrence%2C+KS+for+years+2008+to+2011++++++++++++++++++++++++++++++++++++++++++++++++++++++%7CTotal+depreciation+%3D+%24-12%2C853%28-6.49%25%29+++Start%3A+%24198%2C000+End%3A+%24185%2C147&cht=ls&chd=t%3A198000%2C195657%2C192154%2C194326%2C193794%2C190344%2C190940%2C189172%2C187724%2C187138%2C187916%2C188810%2C183390%2C184913%2C185147%7C198000%2C194517%2C188979%2C188151%2C186269%2C178421%2C170800%2C169236%2C166935%2C164226%2C165699%2C164935%2C158214%2C155477%2C157187&chl=2008%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%2C153000%2C200000%2C10000&chxs=1%2C0000DD%2C18%2C0%2Clt%2C0000DD%7C2%2C0000DD%2C0%2Cl&chxtc=1%2C-800%7C2%2C-800&chds=153000%2C200000&chdl=Lawrence%2C+KS%7CSalt+Lake+City%2C+UT&chdlp=b&chm=tLOW+%3A+%24183%5C%2C390+in+2011%2C3972dd%2C0%2C12%2C16%2C%2Cl%3A%3A-10%7CtHIGH+%3A+%24198%5C%2C000+in+2008%2C3972dd%2C0%2C0%2C16%2C%2Cl%3A%3A1&chma=70%2C30%2C30%2C30DEBUGGING so... exiting before image dump...