Hello There!

Lorem ipsum dolor sit amet, consectetur adipiscing elit,

Forecasting the number of visitors on your website using R. Part I

visitors

visitors

 

 

 

 

 

 

 

 

 

 

This blog post is the first in the series of three blogs. The current blog will introduce the reader to the importance of forecasting “views” of an e-Commerce website. The process of forecasting can be implemented using the time-series approach and decomposing the “views” signal into four components namely seasonal, trend, cyclic and irregularity. This decoupling can be achieved through exponential smoothing using the HoltWinters function of the forecast package of R.

Businesses around the globe have been forecasting their sales for a long time. The primary reason for it is planning, for instance, amount of inventory to store or when to allot the budget on marketing etc. Now a day every e-Commerce business, big or small, has their online presence. This gives them an opportunity to accumulate data about  their consumer’s behaviour, demographics, sources, no of new visits, etc, which can be indirectly used to predict sales. A precursor to sales can also be found by calculating some correlation between the number of visitors and sales. (If this is not the case then one should first rethink about the efficacy of the website in generating revenue) Since many consumers thoroughly research the products and services online before they buy, the web analytics forecasted no of visitors can quickly alert you on any new trend, than what the sales data can.

ABC of forecasting:                                                                     
Forecasting is the process of estimating a future event based on recent and past time series data. It may not reduce the uncertainty of future; however, it gives the decision makers an idea and a basic premise for planning. Short term forecast will always be more accurate than Long term forecast.

We will use a Time-Series Model for our forecasting purpose. People may visit a particular website for many different reasons which are next to impossible for us to fathom all the underlying factors. So,we presume to know nothing about the causality that affects the variable we are trying to forecast. Instead, we examine the past behaviour of a time series in order to infer something about its future behaviour. Time-series models are particularly useful when little is known about the underlying process one is trying to forecast.

A variety of factors influence the time series data. We shall use decomposition analysis to identify certain patterns that appear concurrently in the time series. There are four components in the decomposition analysis that we’ll methodically dissect namely Seasonality, Trend, Cycling and Irregularity.

For an arbitrary observed data running from 1955 to 1995, we’ll decompose it into the desired components mentioned above:

  • Seasonality: When a repetitive pattern is observed over a period of time, such series is known to have a seasonal component. Trend: It is growth or decay that is the tendencies for data to increase or decrease fairly steadily over time. A time series may be stationary or exhibit trend over time.

  • Irregularity: This component of the time series is unexplainable; therefore it is unpredictable.
  • Cyclic:  An upturn or downturn not tied to seasonal variation. Usually results from changes in economic conditions.
Inherent in the collection of data taken over time is some form of random variation. There exist methods for reducing of cancelling the effect due to random variation. A widely used technique is “smoothing“. This technique, when properly applied, reveals more clearly the underlying trend, seasonal and cyclic components.Smoothing techniques are used to reduce irregularities in time series data. Smoothing techniques, such as the Moving Average, Weighted Moving Average, and Exponential Smoothing, are well suited for one-period-ahead forecasting.

 

Exponential smoothing is a very popular scheme to produce a smoothed time series. It assigns exponentially decreasing weights as the observation gets older. In other words, recent observations are given relatively more weight in forecasting than the older observations.

I have implemented the exponential smoothing method for forecasting number of visitors to a website using Holt Winters model in the next blog.

 

14 New Features Announced in Google Analytics Summit-2013

Google Analytics

EXCITING! That’s how as an analyst i can describe the first day of Google Analytics summit 2013. That’s because Google has announced launch of 14 new features to be rolled out gradually this year. Some of them are pretty amazing and will empower analysts to take greater insights from GA.

2013 was a big year for Google Analytics, with 70+ feature launches.  Expect even more this year,as Google Analytics isn’t going to slow down - they’re going to accelerate. In GA summit-2013,  Mr. Babak Pahlavan (Director of Product Management, Google) announces 14 new features to be introduced in GA. This year’s theme of the Summit is Access, Empower and Act. Let see how these new features will help us to Access, Empower and Act.

Google Analytics

Access data

1. Automated Event Tracking in Google Tag Manager

Tracking of important events will be much easier as GTM will get automatic event tracking capabilities. It means that you’ll no longer need to edit any HTML pages to track event interactions with them. Our resident expert Bhoomika Joshi thinks that this is a fantastic addition and it will save great amount of time for developers.

2. Enterprise SLA for Google Tag Manager

For GA premium customers, Google is rolling out Service Level Agreement for Google Tag Manager this year.Google Tag Manager will soon be covered by the robust SLA offered for GA Premium users.

3. Universal Analytics Upgrade Path

This feature was long demanded by GA partners since launch of Universal Analytics. And now it’s here.
From now on, we will be able to upgrade an existing Google Analytics “classic” property to the new Universal Analytics platform without any data loss.

4. Account Management API for User Access Management

This feature will be effective for larger organizations. Companies will be able to manage users in Google Analytics through a programmatic API.IT teams can programmatically setup and configure Google Analytics accounts. It will save great amount of time and efforts

Empower to Analyze

5. New ABC Report (Acquisition Overview)

Most of us use AvinashKaushik’sAcquisition-Behavior-Conversion (ABC) cycle to analyze any web site. But, from now you don’t need to do much of hard work to generate such reports. It is now available in GA itself .They will replace the ‘Traffic’ Sources’ section on the left hand navigation.

6. Unified Segments Tool

This has already launched earlier this year. This update includes user segmentation, cohort analysis, sequence segments, segment templates and a fully refreshed UI.

7. Demographic Reporting Built in to Google Analytics

This is my personal favorite. For any marketer it is very very important to know demographics of its customers. And yes, it is now available in GA. Now you can access Demographic report in GA. This feature will help to know your visitors by their age, gender and other demographics. Isn’t this awesome!

8. Audience data within unified segments

It is also possible to segment the data based on the demographics as well. It will surely provide greater insights to digital marketers.

9.BigQuery Integration with Google Analytics*

This feature will be exclusive for GA premium users only. Now premium users can export GA data in to BigQuery. This will help in BigQueryanalyzing more granular and complex unsampled data. This is just an official announcement by Google as it has already been launched it May’13. It will include a $500 per month credit for BigQuery billing.

Take Action
10. DoubleClick Campaign Manager (DFA) Integration with Google Analytics Premium*

It allows you to see the impact of all your display campaigns on your business. It allows you to see View through, click through, impression and conversion tracking right within Google Analytics Premium. This feature is for premium users only.

11. DCM/DFA data in Multi-Channel and Attribution Modeling reports*

Now you can see the inclusion of DCF data in to MCF in premium versions. This will be used for data driven attribution modeling. You’ll even get to see impressions in the conversion funnel path across visits within the Multi-Channel Funnel reports and Attribution Modeling reports.

12. Google Play Referral Flow Reports

This feature allows integration between Google Analytics and Google Play. This is especially exciting for app developers and marketers because it’s the first time -and the only way - to get a holistic view of the Play acquisition funnel.

13. Analytics Academy

From this October, Google Analytics is launching an Analytics Academy, or “MOOC’s” (Massive Open Online Courses). This is a great resource for digital marketers. It will really help in understanding the core principles of digital analytics.It’s Free, online and high quality training content for Google Analytics.

14. Improved In-Product Materials & Videos

This will be available within GA user interface itself. These specific training videos will give you great understanding on different products and feature.

This is a brief overview of features announced by GA be introduced gradually in 2014. And please note that this list is just some of the features that have been announced. You can expect even more features in the up coming days. So be ready for more changes.

Looking at this announcement and the way GA is moving forward, i believe that now Google is aiming to make people more aware on analytics. These great resources will make learning Analytics much easier. Thus,analysts now have to dig deeper in to data to find meaningful insights that will help business to achieve higher ROA.

Bot Icon
Bot Icon

Tatvic Bot

Explore About Tatvic and Services