租金 预测_如何预测租金并优化租赁期限,从而节省资金

租金 预测

by Zhen Liu

刘震

如何预测租金并优化租赁期限,从而节省资金 (How to Predict Rent and Optimize Your Lease Duration So You Can Save Money)

In my last post, we talked about how to pick the best month to sign the lease based on seasonality. Now, how long should you sign the lease for when facing different options like 12-month, 15-month, 18-month or longer? Is there any strategy in selecting the best option to save money?

在我的上一篇文章中 ,我们讨论了如何根据季节选择最佳月份来签署租约。 现在,当面对不同的选择(例如12个月,15个月,18个月或更长时间)时,您应该签署多长时间的租约? 选择省钱的最佳选择是否有任何策略?

To analyze this, I modelled 353 cities’ rent data from Zillow (one-bedroom, city-level data). In this article, I will show you how to make time series predictions, and which cities are predicted to increase the most in rent!

为了对此进行分析,我从Zillow建模了353个城市的租金数据(一居室,城市级别的数据)。 在本文中,我将向您展示如何进行时间序列预测,以及预测哪些城市的租金涨幅最大!

首先,租赁期限如何帮助您节省资金? (First, how does lease duration help you save money?)

As shown below, you can save money by signing a longer lease if you predict the rent will increase in your city. If the monthly rent increases $100 in the next year, you’ll save $1,200 by signing a 2-year lease, then renew it year-by-year.

如下图所示,如果您预计城市租金会上涨,则可以通过签一份更长的租约来省钱。 如果明年的月租金增加100美元,则您可以通过签订2年的租约,然后逐年续约来节省1200美元。

您如何预测租金会增加吗? (How do you predict if rent will increase?)

We observed that rent is an additive time series with a combination of seasonality, trend and some random noise.

我们观察到,租金是具有季节性,趋势和一些随机噪声的组合的附加时间序列。

Additive model: Y(t) =Seasonality(t) + Trend(t) + Randomness(t)

加性模型:Y(t)=季节性(t)+趋势(t)+随机性(t)

We can decompose a time series into the right hand side of the equation above by applying R’s stl() function (stl stands for "seasonal and trend decomposition using locally weighted scatterplot smoothing”).

我们可以通过应用R的stl()函数将时间序列分解为上述方程式的右侧(stl代表“使用局部加权散点图平滑的季节和趋势分解”)。

# Decompose the additive time seriesdecomposed_rent <- stl(rent.series, s.window="periodic") #periodic means the seasonality factor is same for every year
# Extract the components from time seriesseasonal   <- decomposed_rent$time.series[,1]trend	   <- decomposed_rent$time.series[,2]random     <- decomposed_rent$time.series[,3]

You can simply apply the st() function in R on the time series format of rent data to predict rent in the next 2 years.

您可以在租金数据的时间序列格式中简单地在R中应用st()函数来预测未来2年的租金。

# Forecast rent for the next 24 months with 95% Confidence Intervalfore_rent<-stlf(rent.series, s.window="period",h=24, level = 95)

预计哪些城市租金上涨? (Which cities have the predicted increase of rent?)

*How to read the plots: The light green band area after 2018 is the 95% Confidence Interval of the rent prediction. The text in purple tells you how much you can save if you sign a 2-year rent vs 1-year rent, according to the purple rectangular area outlined. I used ggplot2 for all the plots.

*如何阅读地块:2018年后的浅绿 色带区域是租金预测的95%置信区间。 根据概述的紫色矩形区域,紫色文本告诉您如果签定2年租金与1年租金,您可以节省多少。 我将 ggplot2 用于所有绘图。

1.海湾地区 (1. Bay Area)

Sunnyvale’s predicted monthly rent increase is the greatest among all 246 cities I analyzed, which is $165 (comparing 2018–01’s rent to the predicted rent in 2019–01). So signing a 2-year lease in 2018 Jan can save you 165*12= $ 1980 on the second year; signing a 18-month lease can save 165*6 = $990. Given the seasonality effect in Sunnyvale, you should also try to avoid renewing the lease around July.

在我分析的所有246个城市中,森尼韦尔的预计每月租金涨幅最大,为165美元(将2018-01年度的租金与2019-01年度的预计租金进行比较)。 因此,在2018年1月签订为期2年的租赁,第二年可为您节省165 * 12 = $ 1980 ; 签订18个月的租约可节省165 * 6 = 990美元 。 考虑到森尼韦尔的季节性影响,您还应尽量避免在7月前后续订租约。

2,丹佛 (2.Denver)

3,南加州 (3.Southern California)

4.西雅图地区 (4. Seattle Area)

5.佛罗里达 (5. Florida)

6.德州 (6. Texas)

For the 11 cities above, if a 2-year lease isn’t an option, 18-months can still save a lot compared to an yearly updated increasing rent.

对于上述11个城市,如果不选择2年租约,则与每年更新的租金增长相比,18个月仍可以节省很多钱。

Which other cities show a huge leap in rent? I plotted the 20 cities total (including the cities mentioned above) to show you a comparison of rent as well as the increase of rent among more cities.

还有哪些城市在租金上有巨大飞跃? 我绘制了20个城市(包括上述城市)的总数,以向您显示租金的比较以及更多城市之间的租金增长。

The length of line segment of each city is the increase of the rent where the red dot is the rent in 2018–01 and the green is the predicted rent in 2019 -01.

每个城市线段长度是租金的增加量,其中红点是2018-01的租金,绿色是2019-01的预计租金。

From the plot above, Lakewood (Denver Metro in CO) and El Cajon (San Diego Metro in CA)’s rents are not that high among the 20 cities, but the “step” of increase is bigger compared to other cities with similar range of rent.

从上图可以看出,在20个城市中,莱克伍德(科罗拉多州的丹佛地铁)和埃尔卡洪(加利福尼亚州的圣地亚哥地铁)的租金并不高,但涨幅的“步伐”比其他类似范围的城市大租金。

The cities with rent >$2000 and significant predicted increase are all in CA (Top 4 of the plot). The rent there is already expensive, and they are getting more expensive, faster.

租金超过$ 2000美元且预计大幅增长的城市都在CA(地块的前4位)。 那里的租金已经很昂贵了,而且变得越来越昂贵,越来越快。

Among the top 20, there are 8 in CA, 6 in FL, 2 in WA, 2 in TX, 1 in NY and 1 in CO.

在前20名中,CA排名第8位,FL排名第6位,WA排名第2位,TX排名第2位,NY排名第1位,CO排名第1位。

有没有哪个城市的租金趋势不大? (Are there any cities that don’t show much trend in rent?)

For the cities above, there’s no predicted increase. So for cities with very significant seasonality effect like Boston and Wilmington, it doesn’t really matter how long you sign the lease; but which month you sign.

对于以上城市,没有预计的增长。 因此,对于像波士顿和威尔明顿这样的季节性影响非常大的城市,签下租约多长时间并不重要。 但您签署的月份

The month with the highest rent in Boston is November, while it’s April in Wilmington.

波士顿租金最高的月份是11月,威尔明顿的月份是4月。

If you are curious about what are other cities like this, read more about cities with seasonality in my last post!

如果您对这样的其他城市感到好奇,请在我的上一篇文章中阅读有关季节性城市的更多信息

Find the R code for time series models and visualization with ggplot2 here.

在此处找到用于ggplot2的时间序列模型和可视化的R代码。

Give me a few claps and follow me here if you find it helpful!

给我一些鼓掌 如果对您有用,请在这里关注我!

翻译自: https://www.freecodecamp.org/news/https-medium-freecodecamp-org-how-to-predict-rent-and-select-the-best-lease-duration-to-save-money-5cf35145d398/

租金 预测

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/395174.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

java system load_关于java的System.load 和 System.loadLibrary

关于两者的区别(参见http://blog.csdn.net/ring0hx/article/details/3242245)System.load 参数为库文件的绝对路径&#xff0c;可以是任意路径。System.loadLibrary方法load的为相对路径&#xff0c;即在java.library.path定义下的lib文件&#xff0c;文件名会更具不同的系统实…

东进技术南亚创捷

深圳市东进技术在其海外市场拓展中取得又一骄人战绩&#xff0c;于四月下旬与印度One97通信公司签订了长期战略合作协议&#xff0c;One97将全面采用东进的全系列产品。同时签订的一期采购计划&#xff0c;总装机端口数约3万线。该合约主要涉及东进技术的领先主打产品——Keygo…

如何在5分钟内通过身份验证构建RESTful API —全部从命令行(第1部分)

by Niharika Singh由Niharika Singh 如何在5分钟内通过身份验证构建RESTful API —全部从命令行(第1部分) (How to Build a RESTful API with Authentication in 5 minutes — all from your command line (Part 1)) If the title of this article excites you, then my frien…

MD5与SHA1

一、MD5 MD5消息摘要算法&#xff08;英语&#xff1a;MD5 Message-Digest Algorithm&#xff09;&#xff0c;一种被广泛使用的密码散列函数&#xff0c;可以产生出一个128位&#xff08;16字节&#xff09;的散列值&#xff08;hash value&#xff09;&#xff0c;用于确保信…

java基本类型的默认值及其取值范围

转载于:https://www.cnblogs.com/billyu/p/5843845.html

tair client java_TFS(Taobao File System)Java Client 使用经验

TFS Java客户端的说明tfs-client-java版本选择&#xff1a;---------------------------------------tfs-client-java的版本有&#xff1a;release-2.0.0/tfs-with-large-2.1.1/tfs-client-java-2.1.3/release-2.2.2/release-2.2.3/release-2.2.4/release-2.2.6/最终我选用了tf…

Nutanix公布财报数据 准备IPO前表现抢眼

Nutanix已经向美国证券交易委员会提交了修订的S-1 IPO文件&#xff0c;其中的数据显示&#xff0c;Nutanix凭借着强力增长的业务为IPO做好了准备。 Nutanix公布财报数据 准备IPO前表现抢眼 Nutanix CEO Dheeraj Pandey Nutanix最新的财报数据无论从环比和同比收入增长方面看起来…

DevExpress WinForms使用教程:图表控件 - 内置深入查询

【DevExpress WinForms v18.2下载】在最新发布的DevExpress WinForms v18.2中&#xff0c;DevExpress WinForms和ASP.NET图表控件引入嵌套系列模板的概念&#xff0c;是您能在不编写自定义代码的情况下深入查询图表。 Chart控件的嵌入式痕迹导航元素显示导航层次结构中各个数据…

serverless 构建_使用Serverless,StepFunctions和StackStorm Exchange构建社区注册应用程序-Episode…...

serverless 构建by Dmitri Zimine由Dmitri Zimine 使用Serverless&#xff0c;StepFunctions和StackStorm Exchange构建社区注册应用程序-第3集 (Building a community sign-up app with Serverless, StepFunctions, and StackStorm Exchange — Episode 3) Build a real-worl…

AlfaLaval公司采用低速通风技术冷却数据中心

日前&#xff0c;瑞典热交换专家AlfaLaval公司推出了遵循低速通风原则的一系列数据中心冷却解决方案&#xff0c;其方案需要大量的风扇&#xff0c;而使空气以相当慢的速度流动&#xff0c;取得了与计算机机房空调&#xff08;CRAC&#xff09;一样有效的制冷效果。 该公司表示…

java pdf 首页 缩略图_Java中将上传的文件首页生成缩略图(先将上传的文件转成pdf,然后将pdf转成jpg)...

1、首先将上传的非jpg&#xff0c;pdf格式的文件转成pdf&#xff0c;这个是采用OpenOffice进行转的&#xff0c;具体代码如下&#xff1a;private void officeToPdf(){OpenOfficeConnection connection new SocketOpenOfficeConnection(8100);try {connection.connect();} cat…

1.2 如何在visual studio 中建立C#程序

这一节简单介绍一下怎么在visual studio 2015中建立第一个C#程序&#xff0c;我使用的是2015版的visual studio&#xff0c;不同版本可能有一些差异&#xff0c;不过大体上是相同的&#xff0c;这些信息仅供新手参考&#xff0c;大牛请自动跳过。 首先双击visual studio 2015的…

javascript在html中的延迟与异步

1.相同点&#xff1a;延迟与异步都会同时加载script 2.不同点&#xff1a;延迟是script加载完成后&#xff0c;待HTML执行完毕后&#xff0c;才会接着执行script&#xff1b; 异步是script加载完成后&#xff0c;接着就执行该程序&#xff0c;HTML等到script完全执行完毕后&…

三星全速进军物联网 所有产品都将内置互联功能

韩媒报道&#xff0c;近日消息传出&#xff0c;三星电子的家电部门&#xff0c;当前生产的产品都将内建Wi-Fi。相关高层表示&#xff0c;此种做法可替更先进的功能预作准备&#xff0c;因为家电寿命较长&#xff0c;至少可用五年。目前为止&#xff0c;三星家电只有部分具备Wi-…

2d手机游戏开发_我的手机游戏如何在2周内获得365K应用商店下载(以及为什么我退出独立游戏开发公司…...

2d手机游戏开发by William Kwan关冠伟 我的手机游戏如何在2周内获得365K应用商店下载(以及为什么以后我退出独立游戏开发者) (How My Mobile Game Got 365K App Store Downloads in 2 Weeks (And Why I Quit Indie Game Dev Afterwards)) I’m not a successful game develope…

Python ValueError: IO operation on closed file

ValueError IO operation on closed file表示处理了已经被关闭的数据&#xff0c;在python 中 with语句的上下文会帮助处理&#xff0c;也就是说&#xff0c;当python的处理代码不对齐的时候会出现这种情况。例子如下&#xff1a; header那一行&#xff0c;突出&#xff0c;也就…

java面向字符的输入流_详细解读Java编程中面向字符的输入流

字符流是针对字符数据的特点进行过优化的&#xff0c;因而提供一些面向字符的有用特性&#xff0c;字符流的源或目标通常是文本文件。 Reader和Writer是java.io包中所有字符流的父类。由于它们都是抽象类&#xff0c;所以应使用它们的子类来创建实体对象&#xff0c;利用对象来…

任务信号量

在实际任务间的通信中&#xff0c;一个或多个任务发送一个信号量或者消息给另一个任务是比常见的&#xff0c;而一个任务给多个任务发送信号量和消息相对比较少。前面所讲的信号量和消息队列均是单独的内核对象&#xff0c;是独立于任务存在的。这两章要讲述的任务信号量和任务…

域名服务商GoDaddy第四季度扭亏为盈

2月18日消息&#xff0c;据财经网站MarketWatch报道&#xff0c;域名服务提供商GoDaddy周三公布了第四季度财报。公司期内利润与营收均好于预期&#xff0c;给出的营收指导亦符合预测水平。 财报显示&#xff0c;第四季度中GoDaddy营收同比增长14%&#xff0c;为4.254亿美元&am…

易于使用的人工智能_需求分析:如何使用这种易于启动的方法+一个案例研究...

易于使用的人工智能by Turgay elik由Turgayelik 需求分析&#xff1a;如何使用这种易于启动的方法一个案例研究 (Requirement Analysis: how to use this startup-friendly approach a case study) In our previous blog posts, we explained why we decided to develop the …