Sheet1 IsCanceledLeadTimeArrival...

1 answer below »
It is a project using r program


Sheet1 IsCanceledLeadTimeArrival DateReservationStatusDateReservationStatusStaysInWeekendNightsStaysInWeekNightsAdultsChildrenBabiesMealCountryMarketSegmentDistributionChannelIsRepeatedGuestPreviousCancellationsPreviousBookingsNotCanceledReservedRoomTypeAssignedRoomTypeBookingChangesDepositTypeAgentCompanyDaysInWaitingListCustomerTypeADRRequiredCarParkingSpacesTotalOfSpecialRequests 067/1/157/3/15Check-Out02100HB PRTOffline TA/TOTA/TO000A A 0No Deposit 6 NULL0Transient0.00 €00 1887/1/157/1/15Canceled04200BB PRTOnline TATA/TO000A A 0No Deposit 9 NULL0Transient76.50 €01 1657/1/154/30/15Canceled04100BB PRTOnline TATA/TO000A A 0No Deposit 9 NULL0Transient68.00 €01 1927/1/156/23/15Canceled24200BB PRTOnline TATA/TO000A A 0No Deposit 9 NULL0Transient76.50 €02 11007/2/154/2/15Canceled02200BB PRTOnline TATA/TO000A A 0No Deposit 9 NULL0Transient76.50 €01 1797/2/156/25/15Canceled03200BB PRTOnline TATA/TO000A A 0No Deposit 9 NULL0Transient76.50 €01 037/2/157/5/15Check-Out03100HB PRTGroupsTA/TO000A A 1No Deposit 1 NULL0Transient-Party58.67 €00 1637/2/156/25/15Canceled13100BB PRTOnline TATA/TO000A A 0No Deposit 9 NULL0Transient68.00 €00 1627/2/157/2/15No-Show23200BB PRTOnline TATA/TO000A A 0No Deposit 8 NULL0Transient76.50 €01 1627/2/157/2/15No-Show23200BB PRTOnline TATA/TO000A A 0No Deposit 8 NULL0Transient76.50 €01 0437/3/157/5/15Check-Out02200HB PRTGroupsTA/TO000A A 0No Deposit 1 NULL0Transient-Party86.00 €00 0437/3/157/5/15Check-Out02200HB PRTGroupsTA/TO000A A 1No Deposit 1 NULL0Transient-Party43.00 €00 0437/3/157/5/15Check-Out02200HB PRTGroupsTA/TO000A A 0No Deposit 1 NULL0Transient-Party86.00 €00 047/3/157/5/15Check-Out02100HB PRTGroupsTA/TO000A A 0No Deposit 1 NULL0Transient-Party63.00 €00 1437/3/156/29/15Canceled02200HB PRTGroupsTA/TO000A A 0No Deposit 1 NULL0Transient-Party86.00 €00 0437/3/157/5/15Check-Out02100HB PRTGroupsTA/TO000A A 1No Deposit 1 NULL0Transient-Party63.00 €00 1437/3/156/16/15Canceled02100HB PRTGroupsTA/TO000A A 0No Deposit 1 NULL0Transient-Party63.00 €00 0437/3/157/5/15Check-Out02200HB PRTGroupsTA/TO000A A 0No Deposit 1 NULL0Transient-Party86.00 €00 0437/3/157/5/15Check-Out02200HB PRTGroupsTA/TO000A A 0No Deposit 1 NULL0Transient-Party86.00 €00 1437/3/156/29/15Canceled02100HB PRTGroupsTA/TO000A A 0No Deposit 1 NULL0Transient-Party63.00 €00 1437/3/156/16/15Canceled02200HB PRTGroupsTA/TO000A A 0No Deposit 1 NULL0Transient-Party86.00 €00 1977/3/156/30/15Canceled02200BB PRTOffline TA/TOTA/TO000A A 0No Deposit 13 NULL0Transient63.75 €01 0437/3/157/5/15Check-Out02200HB PRTGroupsTA/TO000A A 0No Deposit 1 NULL0Transient-Party86.00 €00 0437/3/157/5/15Check-Out02200HB PRTGroupsTA/TO000A A 0No Deposit 1 NULL0Transient-Party86.00 €00 1807/3/154/17/15Canceled12200BB PRTOnline TATA/TO000A A 0No Deposit 9 NULL0Transient76.50 €01 0607/3/157/10/15Check-Out25200SC PRTOnline TATA/TO000A A 1No Deposit 11 NULL0Transient60.27 €00 11067/4/156/1/15Canceled11100BB PRTOnline TATA/TO000A A 0No Deposit 9 NULL0Transient68.00 €00 1687/4/156/23/15Canceled21100BB PRTOnline TATA/TO000A A 0No Deposit 9 NULL0Transient68.00 €00 1927/4/156/15/15Canceled21200BB PRTOnline TATA/TO000A A 1No Deposit 9 NULL0Transient76.50 €01 0187/4/157/8/15Check-Out22100BB PRTGroupsTA/TO000A A 0No Deposit 1 NULL0Transient-Party60.00 €00 1717/5/156/30/15Canceled21200SC PRTOnline TATA/TO000A A 1No Deposit 11 NULL0Transient55.80 €00 1857/5/156/20/15Canceled21200BB PRTOnline TATA/TO000A A 0No Deposit 7 NULL0Transient52.36 €00 1927/5/157/3/15Canceled23200BB PRTOnline TATA/TO000A A 0No Deposit 7 NULL0Transient49.74 €00 1757/6/156/20/15Canceled11200BB PRTOnline TATA/TO000A A 0No Deposit 9 NULL0Transient76.50 €01 1927/6/154/21/15Canceled13100BB PRTOnline TATA/TO000A A 0No Deposit 9 NULL0Transient68.00 €02 1897/6/156/20/15Canceled14100BB PRTOnline TATA/TO000A A 0No Deposit 9 NULL0Transient68.00 €01 11007/6/156/15/15Canceled14201HB PRTOnline TATA/TO000A A 0No Deposit 15 NULL0Transient93.60 €02 1837/6/155/22/15Canceled25200BB PRTOnline TATA/TO000A
Answered 4 days AfterMay 06, 2021

Answer To: Sheet1 IsCanceledLeadTimeArrival...

Mohd answered on May 11 2021
128 Votes
We have performed analysis on different types of problem such as revenue analysis, cancellation analysis and customer segmentation.
We have developed linear regression, k nearest neighbors and naive Bayes classifiers.
First we have load the dat
a into studio, summarized the data using skim function.
We have identified one significant outlier in ADR City hotels data. We have manually eliminated that outlier. We have visualized ADR data across reservation status date or arrival date. As we can easily see from graph, that there is critical seasonality present in dataset. For resort, as we can easily see from graph, that there is critical seasonality present in dataset.
Both graph has shown the trend that ADR is increasing significantly over a period of time.
We have analyzed relationship between distribution channels as category and ADR as numeric over the different market segment.
For city hotel, we have maximum cancellation in corporate distribution channels and corporate market segment category.
Market segment like aviation, complementary, direct, and groups has minimum cancellation.
Corporate offline TA/to and offline TA has maximum cancellation.
For resort, we have minimum cancellation in all distribution channels category and corporate market segment category.
Market segment like complementary, direct, groups, offline TA/To and offline TA has maximum cancellation.
Now we have analyzed adr vs market segment over customer type.
Customer type for maximum cancellation group and contract has
Maximum cancellation.
In resort dataset, transient and transient party has maximum cancellation.
We have partitioned datasets into two split training set has 70 percent of total observation and rest 30 percent are in validation set.
We have trained linear regression model to predict total pay which is adr*total_stays.
For hotel and resort dataset, we have considered several predictors such as distribution channels, Market segment, customer type, children, Is repeated customer, parking space, special requests and many more.
City hotel data model has adjusted r square value is 72.77 that means we can explain 72.77 percent variability in response variable using this model.
Resort data model has adjusted r square value is 58.42, which means we can explain 58.42 percent variability in response variable using this model.
We have trained three model with naive Bayes, k-nearest neighbors and svm linear.
For city dataset K nearest...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here