100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Other

SANDYA VB- TIME SERIES FORECASTING PROJECT 2023& study guide with complete solution

Rating
-
Sold
1
Pages
196
Uploaded on
17-03-2023
Written in
2022/2023

Problem: For this particular assignment, the data of different types of wine sales in the 20th century is to be analysed. Both of these data are from the same company but of different wines. As an analyst in the ABC Estate Wines, you are tasked to analyse and forecast Wine Sales in the 20th century. Dataset - R In [1]: import numpy as np import pandas as pd import seaborn as sns from matplotlib import pyplot as plt from import rcParams rcParams['ze'] = 13, 6 1. Read the data as an appropriate Time Series data and plot the data. In [2]: df = _csv("R") In [3]: () Out[3]: YearMonth Rose Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD In [4]: () In [5]: (); () YearMonth Rose .0 .0 .0 .0 .0 Out[4]: YearMonth Rose .0 .0 .0 .0 .0 Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD In [6]: date = _range(start='01/01/1980', end='08/01/1995', freq='M') date In [7]: df['Time_Stamp'] = pd.DataFrame(date,columns=['Month']) In [8]: () Out[6]: DatetimeIndex(['', '', '', '', '', '', '', '', '', '', ... '', '', '', '', '', '', '', '', '', ''], dtype='datetime64[ns]', length=187, freq='M') Out[8]: YearMonth Rose Time_Stamp .0 .0 Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD In [9]: df['Time_Stamp']=_datetime(df['Time_Stamp']) df= _index('Time_Stamp') (['YearMonth'],axis=1, inplace = True) () In [10]: (); () YearMonth Rose Time_Stamp .0 .0 .0 Out[9]: Rose Time_Stamp 112.0 118.0 129.0 99.0 116.0 Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD 2. Perform appropriate Exploratory Data Analysis to understand the data and also perform decomposition. In [11]: ibe(include='all').T In [12]: l().sum() In [13]: Out[11]: count mean std min 25% 50% 75% max Rose 185.0 90. 39. 28.0 63.0 86.0 112.0 267.0 Out[12]: Rose 2 dtype: int64 Out[13]: (187, 1) Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD In [14]: () In [15]: _, ax = ots(figsize=(30,10)) #yearly plot ot(x = ,y = s[:,0],ax=ax) l('Yearly Rose Wine Sale'); l('Year'); (); In [16]: _, ax = ots(figsize=(22,8)) ot(x = _name(),y = s[:,0],ax=ax) l('Monthly Rose Wine Sale'); l('Months'); (); <class '.DataFrame'> DatetimeIndex: 187 entries, to Data columns (total 1 columns): # Column Non-Null Count Dtype --- ------ -------------- ----- 0 Rose 185 non-null float64 dtypes: float64(1) memory usage: 2.9 KB Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD In [17]: from ots import month_plot fig, ax = ots(figsize=(22,8)) month_plot(df,ylabel='Rose Wine Production',ax=ax) (

Show more Read less











Whoops! We can’t load your doc right now. Try again or contact support.

Document information

Uploaded on
March 17, 2023
Number of pages
196
Written in
2022/2023
Type
Other
Person
Unknown

Subjects

  • project

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
greatsolutions Chamberlain College Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
356
Member since
3 year
Number of followers
286
Documents
4087
Last sold
2 weeks ago
greatsolutions

Expertise in Nursing, Mathematics, History, Psychology, Economics, Biology etc,. My Work contains the latest, updated Exam Solutions, Study Guides, Notes 100% verified Guarantee Top Grades.

3.5

57 reviews

5
25
4
9
3
6
2
3
1
14

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions