This project is designed for two kinds of people — those interested in the code and those interested in the real estate market. While the concepts will be presented with technical definitions and code examples, it will not be necessary to understand the code to learn about cyclical the nature of housing prices, predictive modeling, or economic data.
For those just reading along, try not to get caught up in the code. Look for the images and plots along the way because I will explain as simply as I can in plain English what is happening and why it matters to us. …
Let me share the glory of the full_join() function with you using the R language!
Have you ever been working with multiple tables of data in R and had trouble merging them into a single table? Did you go to Google to tell you to “just use rbind” or see four different ways of joining other people’s data that doesn’t make sense? Well, I have too and so have many of my students.
Here is a concise little guide to how to use rbind, several kinds of joins, and how to resolve common issues when using these functions!
For your convenience, I have made an R Markdown file (.rmd) available on my GitHub at this link if you would rather take a look through the notated code and run it cell by cell or clone it to your machine. …
This project exists because I have noticed that there is a tremendous amount of misunderstanding about what the word “demand” actually means in an economic context, especially in the world of technology.
Who demands things? What is a curve? Why does the demand curve change? Why is it wrong to say that a change in price means a change in demand? What is the difference between demand and quantity demanded? What does elasticity even mean? How can I figure out the maximum total revenue?
What we are going to do in this article is explore concepts in demand using R programming to analyze and visualize some realistic data I created in an Excel file. …