18th November, 2023

For another variable analysis we were looking at if we could see somehow if there was any relation to be found between the numbers of total passengers through logan airport and if that varied through the number of international flights that month and if at all that would be affecting hotel occupancies and other related data.

So we start by first inputting an intital linear model comparing simply the total passengers and number of flights.

Linear Model of Flights vs Passengers

Clearly the data shows high relation between the two with a very high R squared value and clearly the low P value indicates that it is extremely rare to get this outcome by chance.

Looking at the plot of the model against the data we can further verify that it shows the model is a resoanbly good fit for what we are trying to look at.

Linear Model Plotted for Flights

As we can see from the plot that it is more or less linear in nature to get this sort of outcome and hence it works for our current analysis.

Leave a Reply

Your email address will not be published. Required fields are marked *