$City_1 = Charlotte-Gastonia-Rock Hill, NC-SC
$e = bad
$City_2 = Rocky Mount, NC
$e =
function get_years(Array,Lawrence, KS,) {
1960
Selecting city: Lawrence, KS
Searching backwards from 2024 for most recent data.
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,Rocky Mount, NC,) {
1960
Selecting city: Rocky Mount, NC
Searching backwards from 2024 for most recent data.
Most recent data for Rocky Mount, NC 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 Rocky Mount, NC is : 1985 the most recent year of data is 2024.
return Array
}

Inputs:

City_1 Lawrence, KS
City_2 Rocky Mount, NC
Price 142000
YearStart 2009
QuarterStart 1
YearEnd 2011
QuarterEnd 3

function check_year(Lawrence, KS,2009):

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

function check_quarter():

Data for the 1 quarter is in the $c[Lawrence, KS][2009] 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(Rocky Mount, NC,2009):

Data for 2009 is in the $c[Rocky Mount, NC] element.

function check_quarter():

Data for the 1 quarter is in the $c[Rocky Mount, NC][2009] element.

function check_year(Rocky Mount, NC,2011):

Data for 2011 is in the $c[Rocky Mount, NC] element.

function check_quarter():

Data for the 3 quarter is in the $c[Rocky Mount, NC][2011] element.

function get_valuation():

Purchase price: $142000
Purchase year: 2009
Purchase quarter: 1
Start price index:181.99
Current price index:173.87
Based on HPI the home has appreciated -4.46% in 2.5 years at an average rate of -1.78% per year.
The current appreciations value is: $135664.27
Evaluation year: 2011
Evaluation quarter: 3
Evaluation period: 2.5 years (10 quarters or 30 months).


Array ( [0] => Lawrence, KS [1] => 142000 [2] => 2009 [3] => 1 [4] => 2011 [5] => 3 [6] => 2.5 [7] => 10 [8] => 30 [9] => 135664.27 [10] => -0.044617836144843 [11] => -0.017847134457937 ) 1
Lawrence, KS
142000
2009
1
2011
3
2.5
10
30
135664.27
-0.044617836144843
-0.017847134457937
Lawrence, KS
142000
2009
1
2011
3
2.5
10
30
135664.27
-0.044617836144843
-0.017847134457937
181.99
173.87
p_year=2009 / ycount=2009 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
142000
2009(1) : Array[2009][1] : Value = 142000 (142000 / 142000)
qcount=2 / qend=4 / v_quarter=3
139472
2009(2) : Array[2009][2] : Value = 139472 (139472 / 142000)
qcount=3 / qend=4 / v_quarter=3
139909
2009(3) : Array[2009][3] : Value = 139909 (139472 / 142000)
qcount=4 / qend=4 / v_quarter=3
138614
2009(4) : Array[2009][4] : Value = 138614 (138614 / 142000)
p_year=2009 / ycount=2010 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
137553
2010(1) : Array[2010][1] : Value = 137553 (137553 / 142000)
qcount=2 / qend=4 / v_quarter=3
137123
2010(2) : Array[2010][2] : Value = 137123 (137123 / 142000)
qcount=3 / qend=4 / v_quarter=3
137693
2010(3) : Array[2010][3] : Value = 137693 (137123 / 142000)
qcount=4 / qend=4 / v_quarter=3
138348
2010(4) : Array[2010][4] : Value = 138348 (137123 / 142000)
p_year=2009 / 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
134377
2011(1) : Array[2011][1] : Value = 134377 (134377 / 142000)
qcount=2 / qend=3 / v_quarter=3
135493
2011(2) : Array[2011][2] : Value = 135493 (134377 / 142000)
qcount=3 / qend=3 / v_quarter=3
135664
2011(3) : Array[2011][3] : Value = 135664 (134377 / 142000)

function get_valuation():

Purchase price: $142000
Purchase year: 2009
Purchase quarter: 1
Start price index:154.32
Current price index:141.38
Based on HPI the home has appreciated -8.39% in 2.5 years at an average rate of -3.35% per year.
The current appreciations value is: $130093.05
Evaluation year: 2011
Evaluation quarter: 3
Evaluation period: 2.5 years (10 quarters or 30 months).


Rocky Mount, NC
142000
2009
1
2011
3
2.5
10
30
130093.05
-0.083851736651115
-0.033540694660446
154.32
141.38
p_year=2009 / ycount=2009 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
142000
2009(1) : Array[2009][1] : Value = 142000 (142000 / 142000)
qcount=2 / qend=4 / v_quarter=3
139065
2009(2) : Array[2009][2] : Value = 139065 (139065 / 142000)
qcount=3 / qend=4 / v_quarter=3
140841
2009(3) : Array[2009][3] : Value = 140841 (139065 / 142000)
qcount=4 / qend=4 / v_quarter=3
135163
2009(4) : Array[2009][4] : Value = 135163 (135163 / 142000)
p_year=2009 / ycount=2010 / v_year=2011
qcount=1 / qend=4 / v_quarter=3
131464
2010(1) : Array[2010][1] : Value = 131464 (131464 / 142000)
qcount=2 / qend=4 / v_quarter=3
134022
2010(2) : Array[2010][2] : Value = 134022 (131464 / 142000)
qcount=3 / qend=4 / v_quarter=3
134896
2010(3) : Array[2010][3] : Value = 134896 (131464 / 142000)
qcount=4 / qend=4 / v_quarter=3
131372
2010(4) : Array[2010][4] : Value = 131372 (131372 / 142000)
p_year=2009 / ycount=2011 / v_year=2011

function check_quarter():

Data for the 1 quarter is in the $c[Rocky Mount, NC][2011] element.
qcount=1 / qend=3 / v_quarter=3
131105
2011(1) : Array[2011][1] : Value = 131105 (131105 / 142000)
qcount=2 / qend=3 / v_quarter=3
125695
2011(2) : Array[2011][2] : Value = 125695 (125695 / 142000)
qcount=3 / qend=3 / v_quarter=3
130093
2011(3) : Array[2011][3] : Value = 130093 (125695 / 142000)
HomePriceGraph.com+++++++++++++++++++++Price+depreciation+in+Lawrence%2C+KS+for+years+2009+to+2011++++++++++++++++++++++++++++++++++++++++++++++++++++++%7CTotal+depreciation+%3D+%24-6%2C336%28-4.46%25%29+++Start%3A+%24142%2C000+End%3A+%24135%2C664
t:142000,139472,139909,138614,137553,137123,137693,138348,134377,135493,135664|142000,139065,140841,135163,131464,134022,134896,131372,131105,125695,130093
2009|.|.|.|2010|.|.|.|2011|.|.|
125000
143000
2000
125000
143000
Lawrence, KS|Rocky Mount, NC
8
0
2011
2009
1
1
134377
142000

function graph():

post_chtt HomePriceGraph.com Price depreciation in Lawrence, KS for years 2009 to 2011 |Total depreciation = $-6,336(-4.46%) Start: $142,000 End: $135,664
post_cht ls
post_chd t:142000,139472,139909,138614,137553,137123,137693,138348,134377,135493,135664|142000,139065,140841,135163,131464,134022,134896,131372,131105,125695,130093
post_chl 2009|.|.|.|2010|.|.|.|2011|.|.|
post_chxl
post_chbh a
post_chco 3972cc,cccccc
post_chs 800x375
post_chdl Lawrence, KS|Rocky Mount, NC
post_chxt x,y
post_chxr 1,125000,143000,2000
post_chxs 1,0000DD,18,0,lt,0000DD|2,0000DD,0,l
post_chxtc 1,-800|2,-800
post_chds 125000,143000
post_chf
http://chart.apis.google.com/chart?chid=efff66fd637a91b206d1a8f8823d555b+chtt=HomePriceGraph.com+++++++++++++++++++++Price+depreciation+in+Lawrence%2C+KS+for+years+2009+to+2011++++++++++++++++++++++++++++++++++++++++++++++++++++++%7CTotal+depreciation+%3D+%24-6%2C336%28-4.46%25%29+++Start%3A+%24142%2C000+End%3A+%24135%2C664&cht=ls&chd=t%3A142000%2C139472%2C139909%2C138614%2C137553%2C137123%2C137693%2C138348%2C134377%2C135493%2C135664%7C142000%2C139065%2C140841%2C135163%2C131464%2C134022%2C134896%2C131372%2C131105%2C125695%2C130093&chl=2009%7C.%7C.%7C.%7C2010%7C.%7C.%7C.%7C2011%7C.%7C.%7C&chbh=a&chco=3972cc%2Ccccccc&chs=800x375&chxt=x%2Cy&chxr=1%2C125000%2C143000%2C2000&chxs=1%2C0000DD%2C18%2C0%2Clt%2C0000DD%7C2%2C0000DD%2C0%2Cl&chxtc=1%2C-800%7C2%2C-800&chds=125000%2C143000&chdl=Lawrence%2C+KS%7CRocky+Mount%2C+NC&chdlp=b&chm=tLOW+%3A+%24134%5C%2C377+in+2011%2C3972dd%2C0%2C8%2C16%2C%2Cl%3A%3A-10%7CtHIGH+%3A+%24142%5C%2C000+in+2009%2C3972dd%2C0%2C0%2C16%2C%2Cl%3A%3A1&chma=70%2C30%2C30%2C30DEBUGGING so... exiting before image dump...