Comments
sudu1988 OP t1_jdqleo1 wrote
Yeah, I've tried and inverse square law didn't word well. On the original article you can find more info https://damovs.com/rental-market-of-apartments-in-paris-in-2023/
diffraction-limited t1_jdqlikk wrote
I read the article. What did not work? Or why do you think the exp formula in the article did work?
sudu1988 OP t1_jdqlt0v wrote
Well, the results looked much more off. But you are right, I should add some information on the mean squared error. In my article I didn't wanted to shock people with it, because it's kind of more informative post.
diffraction-limited t1_jdqm5ej wrote
Yeah i get that, but for me that would be the interesting part. Making a model is just one part, choosing if the model is correct is a whole different story :) And i still think that adjusting an inverse square model might be worth trying, no? The price is based on available space, and this correlates with a square and not an exponential function. Not sure why I feel so strongly about that, sorry:)
sudu1988 OP t1_jdqmwis wrote
No worries. Will give it another try later. It's maybe really worth it.
diffraction-limited t1_jdqoyfc wrote
Keep us posted! I really like the article btw!
sudu1988 OP t1_jdqpo7d wrote
I am currently writing an article about whole France.
Jolly_Scholar7367 t1_jdt0rnh wrote
Very cool, if you can expand this to other cities that would be very interesting
Also, if you could plot this against the mass of garbage outside each, that would be great /s
Jatzy_AME t1_jdrc5in wrote
Price probably falls off faster than inverse square. The available space grows quadratically, but as you get further you lose more prestige, proximity with important landmarks etc.
diffraction-limited t1_jdsegyp wrote
True. But even if you use some mix of polynomials it might be still better to argue why, rather than using an exponential here no?
Jatzy_AME t1_jdseszr wrote
Sure! Deciding which model to use a posteriori based on the shape of the data is definitely not ideal.
diffraction-limited t1_jdsfqv5 wrote
Yeah. That's what my students do. Love to discuss with then why it's not the way forward, haha
[deleted] t1_jdqwjlk wrote
[removed]
Rmoneysoswag t1_jdr11uf wrote
This is a comment stealing karma farming bot.
[deleted] t1_jdr2d8h wrote
[removed]
rackelhuhn t1_jdrttnl wrote
With this much data I would just fit a flexible regression like LOESS
exipolar t1_jdrwf45 wrote
Anyway to fit it to a Zipf curve?
sudu1988 OP t1_jdrwxed wrote
I will try to redo the plot with the suggestions posted here.
dontlookwonderwall t1_jdsdu0n wrote
Eyeballing it, it looks like there might be a lot of heteroskedasticity too, especially with one bed apartments which seem to be a bit all over the place, which probably affects the predictory power of the regression.
MarchelloO t1_jdrtj2k wrote
Hi. Why the residuals of that exponential fit is important to know ?
I am learning Data Analysis so I would like to know to improve myself. Thanks in advance for the answer .
diffraction-limited t1_jdsez93 wrote
It's a visual check if there is still hidden data in your fit. If the residuals seem to be randomly distributed, it's a good first rough check that your model covers all the available data. Usually you find the residuals moving all in one, and then all in the other direction, looks a bit like a wave-y very noisy motion along the x axis.
There are more robust ways to check like Anderson darling if I'm not wrong, but the residuals are easily plotted and a good quick and dirty first check
[deleted] t1_jdsfwfb wrote
[removed]
PredictorX1 t1_jdqjeq7 wrote
That's interesting. Can you supply some measure of performance (mean squared error, mean absolute error, ...) for those curve fits?
sudu1988 OP t1_jdqly7y wrote
Yeah, I actually should. Have forgotten it here to mention in the plot.
MEANINGLESS_NUMBERS t1_jdr0lnb wrote
So mention it in this comment???
MarchelloO t1_jdrtqox wrote
Hi. Why the mean squared error and mean absolute error is important to know ?
I am learning Data Analysis so I would like to know to improve myself. Thanks in advance for the answer.
morhe t1_jdu06dh wrote
You can draw any line you want. From something crazy and nonsensical to something that looks nice and smooth like the ones here. The fact that the lines “look” nice means nothing if they are not a realistic representation of the distribution of the data. So, the lines might be pretty but not significant but we can’t tell without a measure
PredictorX1 t1_jdto5sc wrote
It doesn't have to be either of those two specific measures. I just want some way to quantify the quality of the fit to the data.
Fa1nted_for_real t1_jdu4kkj wrote
Essentially, it tells you the accuracy of the line compared to the actual points.
[deleted] t1_jdrbufv wrote
[deleted]
TheHappyEater t1_jdqw2nz wrote
What's with the weird strata at 50,and 60km? Are these self-reported distances?
I_GIVE_KIDS_MDMA t1_jdr37pc wrote
Proximity to Disneyland Paris, which is about 42 km straight-line distance from Notre-Dame.
redasphilosophy t1_jdrw3jb wrote
Explanation attempt : while the 20 first kilometers around Notre-Dame are uniformely urbanised, areas beyond are more rural with an agglomeration or two here and here. For instance the 50 km stratum could correspond to Mantes-la-Jolie, the 70km one could be Chartres or Compiègne.
kylco t1_jdqwcgw wrote
You can see it at 25 and 30, too.
96385 t1_jdr6v8y wrote
I thought these might be self-reported distances too, but then I remembered apartments aren't built with uniform density around a city. It might just be due to unequal concentrations of population in the suburbs.
TheHappyEater t1_jdr9ivd wrote
Yeah, maybe "distance to notre dame" isnt the only determining factor in these things.
NikitaFox t1_jdrwy0t wrote
I just interpreted that to mean distance from the center of Paris.
legagneur t1_jdqt7ox wrote
I had a friend who owned an apartment right across the street from Notre Dame (literally right across the street, maybe 20 meters away).
It was the most gorgeous apartment I’ve seen in my entire life. We used to sit on his balcony for meals and just watch everyone walk by, the cathedral just an arm’s reach away.
0118999-88I999725_3 t1_jdr2687 wrote
There is another reply in this post that is almost identical: Badgerown1412? That yours too?
legagneur t1_jdr3err wrote
I haven’t seen it, but unless his friend is named Ivàn, nope.
sudu1988 OP t1_jdqty56 wrote
Awesome. I guess, it was expensive haha
kevin9er t1_jdrjwwk wrote
I stayed at a BNB right there as well and the next morning a rainbow showed up right over the cathedral.
Pretty amazing.
CeruleanBoolean141 t1_jdqkt4k wrote
Why is a 4-7 room apartment cheaper than a 1 room? Does 4-7 room mean it’s like communal living like a student dorm?
Furkhail t1_jdqnh3c wrote
It's not the price of the apartment but the square meter price. A double berdroom apartment is more expensive than a single bedroom but the square meter won't be. For example. Single bedroom 50m2 500€. Goes at 10€/m2. A four bedroom aparment 150m2 1200€. That's 8€/m2. More expensive in total cheaper in €/m2
CeruleanBoolean141 t1_jdqrug4 wrote
Ahhh, thank you! I read "per square meter" but my pre-coffee brain didn't process it. That makes total sense.
sudu1988 OP t1_jdql91k wrote
4-7 rooms means that these are offered apartments, which have between 4 and 7 rooms. It's up to you if you can afford and live alone or share it with other people. I do believe that 1-bed apartments are most expensive per square meter because 1) there is the highest demand (to use them within the week and go back to family on weekends), and 2) because you have fixed costs (council tax, ...) included, which are scaled by less square size. In France everything except gas and electricity is included already into the rent.
norml329 t1_jdqz6yk wrote
Its not a French thing, its an apartment thing. Its cheaper in the US to have a larger apartment and have a roommate then get a one bedroom on your own.
fallen-soul_ t1_jdqr1q2 wrote
1 room apartments are popular among students here in Paris, because the overall rental price is still much cheaper than a 2-3 room apartment. Since demand is high for cheaper rents, it explains in part why the price per unit (m²) is higher for smaller apartments. I'd also add that i think there is relatively less student housing (exclusively for students) in central Paris than other European cities (my own impression, I haven't checked the numbers.)
huilvcghvjl t1_jdr5f09 wrote
Square Meter Price. It’s logical, that it decreases a bit
sudu1988 OP t1_jdqgrlz wrote
Source several french web housing market portals. I have done the plot with pandas and matplotlib in Python 3. The full article you can find here : https://damovs.com/rental-market-of-apartments-in-paris-in-2023/
tyen0 t1_jdr1v8a wrote
> [OC] posts must state the data source(s) and tool(s) used in the first top-level comment on their submission.
not just a link to your blog.
(and I can't find the data source on your blog, either.)
sudu1988 OP t1_jdrhvcu wrote
How to do a sticky comment then? I don't know how to do it. I am new to reddit. The source are several internet housing agencies and market places.
tyen0 t1_jdrox29 wrote
It's not asking you to sticky it, just that it be your first top level comment, which you did.
I was just complaining because you didn't provide any links to the data sources. (I wanted to verify the 1 room vs 1 bedroom discrepancy)
fallen-soul_ t1_jdqroyf wrote
bien vu
hmiemad t1_jdqtj4j wrote
In the article, Fig 12, on the left, we see a clearer relation of total rent vs size. There is a clear intercept (337.55€, say C). I think you should rerun the regression with taking this into account : (price-C)/size vs distance. And finally, when you find the relation (exp, linear, quad, whatever, say F ), you run a regression on price = C + F(distance) * size.
Also, there are robust ways to run regression, better than just remove the outliers once and rerun. Huber is your friend, as are statsmodel/sklearn (both built on top of scipy).
sudu1988 OP t1_jdqtuw6 wrote
Thanks for feedback, I'll try this next week.
hmiemad t1_jdtapst wrote
Once you get it, map the standardized error with colorscale. And don't do the cheap average per departement or municipality. I know for a fact that in 18th and 17th arrondissements of Paris, you can get very different rates. So for each appartment, one point on the map with the error as color. Rich neighbourhoods should pop up.
​
edit : for mapping purposes, take a look at geopandas. very close to pandas. easy to use : gdf.plot()
DazedWithCoffee t1_jdqs66g wrote
Very cool, if you can expand this to other cities that would be very interesting
Also, if you could plot this against the mass of garbage outside each, that would be great /s
DataMan62 t1_jdr4opf wrote
To compare this to my American expectations, I found that
- A sq m is about 11 sq ft (1600 sq in / 144 sq in).
- The € is worth about $1.08 right now. It’s been as low as 85¢ in 2001 and as high as $1.59 in 2008.
So a hypothetical 1100 sq ft apartment (say 30’ x 37’) 10 km (6.2 mi) from Notre Dame would run anywhere from €1500 to €5000 per month. ($1620 to $5400 / month)
I’m guessing apartments in Paris are mostly small to tiny. What is a typical size for studio, 1-, 2-, and 3-bedroom apartments? What’s the minimum size?
Does number of rooms count bathrooms?
Is a kitchen usually counted as a room?
Do all apartments in Paris have bathrooms and kitchens?
Even 1-room apartments?
Thanks for the data and the plot.
fallen-soul_ t1_jdradik wrote
Hey, I'm from Paris.
>I’m guessing apartments in Paris are mostly small to tiny.
objectively speaking (and relative to other cities in the world), I think you can say that. I'll speak for central Paris, since that's where I and most of my friends so far have lived.
Studios go from 8m² to 20m², the majority being between 8-15m², mostly inhabited by students or young professionals. It might sound crazy, but within that category a big number of studios are in the 8-10m² and are still in high demand: usually they have a bed, a tiny sink, hot plate and shower, and the toilet is outside and shared; we still call them "maiden rooms", as they used to have that purpose back then, and they're usually on the last floor of a typical parisian ("Haussmanien") building.
I'd say 1-bedroom apartments usually range from 20m² to 30m² - from that surface upwards, the vast majority have their own bathroom - , and 2-bedroom apartments (maybe the most common type, I'm not sure) anywhere from 30m² to 70-80m². I've lived with my parents in a 45m² 2-bedroom apartment my entire life so far and I'm moving out soon (guess why... lol); the kitchen and bathroom are not counted as rooms, only bedrooms and living rooms are. Currently, 45m² 2-bdrm flats can cost from €400k to €600k in central Paris, maybe even €700k in the most expensive areas, it's completely fucking nuts. 3 adults can barely live together in such a small surface.
DataMan62 t1_jdtodqn wrote
Wow! More severe conditions than I expected, but are the prices you mentioned, and on the chart, prices to buy? We call that a condominium. I was under the impression the chart was monthly rent. We refer to rental units as apartments.
fallen-soul_ t1_jduj4qs wrote
yes the chart is monthly rent, and the prices I gave are prices to buy indeed. We don't rent our apartment, so I'm more aware of sale prices for that category.
Btw when I say central Paris, I'm talking about the area within the perimeter of the ring road we call périphérique, so less than a 5-6km (3-3.5mi) distance from Notre Dame
mikehawk1988 t1_jdqxusv wrote
Next time give us an adjusted R² too, makes it more interpretable
doktorjake t1_jdse7c8 wrote
This is beautiful data. Too many moving bar charts lately. Scatter plots are the most informative and most interesting.
RoastedRhino t1_jdsmhwl wrote
Distance in what norm?
I would be curious to see what is the effect of a "travel time" distance, it could explain some high prices far away (but very well connected to the city) and make the curve fitting a bit easier.
sudu1988 OP t1_jdsmm6b wrote
Direct aerial distance. Working on it. I have a nice diagram in mind. But I need more data for it. Hihi
[deleted] t1_jdqkk8r wrote
[removed]
[deleted] t1_jdqmeqn wrote
[deleted]
DaleGribble312 t1_jdqmi4z wrote
Wow a 7 room apartment sounds awful
legagneur t1_jdqtfi7 wrote
Seven rooms or seven bedrooms? The graphic doesn’t specify, so I’d assume seven rooms.
I lived with a French family who owned a building. The floor of their residence was about five rooms or so, but included living areas (salon, formal dining area, etc) as well.
DaleGribble312 t1_jdqwoph wrote
Could be, but i dont think that is the case.
sudu1988 OP t1_jdqmpvf wrote
They do exist, but they are rare. Therefore, there are not much data points present
DaleGribble312 t1_jdqn26w wrote
I just mean the idea of having 6 roommates that also could only afford one bedroom in basically a hostel sounds like itd be a nightmare living situation.
[deleted] t1_jdqujl6 wrote
[deleted]
huilvcghvjl t1_jdr5rce wrote
Why do you assume that you would share that place with 6 people? Maybe with your wife and children but not with strangers.
[deleted] t1_jdrf2z1 wrote
[removed]
huilvcghvjl t1_jdr5m5w wrote
What, why would that be awfull?
The_Rox t1_jdqvmqt wrote
I feel like at that size, they are Penthouse condos in all but name.
DaleGribble312 t1_jdr31c3 wrote
Not if that means bedrooms
huilvcghvjl t1_jdr603q wrote
It just means 7 rooms, not bedrooms. Although I guess you could put a bed in every room
Posnania t1_jdqyo3y wrote
BTW, the major central crossway for Ile-de-France transit network is Chatelet Les Halles, about 1 km from Notre Damme cathedral, and 1 km from Louvre, 400 meters from Pompidou Centre, and so on.
Sequitur1 t1_jdqz7o3 wrote
The price for Sheep is steep.
ntnl t1_jdr7zbp wrote
"If you want to live in the city center you're a sheep"
-this guy
Sequitur1 t1_jdrqxm1 wrote
Next to a Catholic church that covers up child molestation, thus the headline. Says nothing about city center and sheep as defined in the bible and quoted by Mr. Rogers on his death bed: "All the nations will be gathered before Him, and He will separate them one from another, as a shepherd divides his sheep from the goats. And He will set the sheep on His right hand, but the goats on the left” (Matthew 25:31-33).
[deleted] t1_jdr5irl wrote
[removed]
BWWFC t1_jdr6m6s wrote
interesting value cluster for 4-6 rooms at 23km
ChampionshipFree9132 t1_jdr75xw wrote
Ugly fucking data opposite of dataisbeautiful
PistachioOfLiverTea t1_jdrndyn wrote
When is this data from? I would imagine the lead released from the devastating fire at Notre Dame a few years ago would have a negative effect on real estate values in the immediate vicinity. Lead toxicity is no joke and remediation is very costly and complicated.
Edit: research article on lead exposure: https://news.climate.columbia.edu/2020/07/09/lead-fallout-notre-dame-fire/
Fondren_Richmond t1_jdrsljq wrote
studio near old Notre Dame
penthouse ten leagues far rent's still the same
studio no heat or A/C
penthouse has in unit laundry
studio no parking off-street or on-
penthouse reserved lot space for each one
studio don't take packages that
penthouse doorman signs for
redditusername0002 t1_jdryr71 wrote
An interesting scholarly article I read some ago did the same to Paris and juxtaposed it to Detroit.
springlord t1_jdscfb1 wrote
TIL: Ile-de-France can be as far as almost 100 km from the center of Paris.
magicbobcat t1_jdspblw wrote
I wonder - does this track for selling prices as well?
sudu1988 OP t1_jdssz9o wrote
It correlates.
magicbobcat t1_jdtlpge wrote
thanks, very interesting!
vkfu t1_jdt1gy8 wrote
Do a log transformation on your dependent variable
Redcarborundum t1_jdthlhp wrote
There are dense vertical clusters around 25km and 48km from Notre Dame. I wonder what popular areas are at that distance from the cathedral.
jackachanman t1_jdtj91i wrote
This is a great showcase of Bid-Rent theory
collegefishies t1_jdtoamn wrote
How can I make this plot for my town?
ljog42 t1_jdubw2u wrote
Paris has a diameter of 6km/8km, more than 20km is barely the suburbs anymore
sudu1988 OP t1_jdzqcp4 wrote
After removing my shaddow ban and restoring the post, it's online again 😊🥰
r_linux_mod_isahoe t1_jdr1bg2 wrote
We really need to start teaching people how to do a non-linear regression. Why would you ever do a parametric fit on over 100 data points in a 1D input space?
lowless is your friend
rackelhuhn t1_jdut32m wrote
I don't know why you're getting downvotes, maybe the statement is expressed a a bit too absolutely, but with large datasets and few dimensions there are almost no downsides to flexible regression approaches (LOESS, splines etc.) There is no reason to fit an exponential regression with this much data.
diffraction-limited t1_jdqhhfy wrote
Would have loved to see the residuals of that exponential fit. They look a bit off even by eye? Not sure if this is the proper model since with the areal distance the area accessible to build houses raises with a square, so the simplest model I'd try is to use something with an inverse square law no?