SlideShare a Scribd company logo
1 of 19
Download to read offline
Regression Analysis
Regression
Analysis
Section I – 39%
Explain why an ARIMA model may
be thought of as an adaptive
process
Explain how you would apply
ARIMA trading strategies to a
given chart scenario
Show how you might use linear
regression to compare relative
strength of various markets
Autoregressive Integrated Moving Average(ARIMA)
• An Autoregressive Integrated Moving Average(ARIMA) model is created by a
process of repeated regression analysis over a moving time window,
resulting in a forecast value based on the new fit.
• ARIMA process automatically applies the most important features of
regression analysis in a preset order and continues to reanalyze results until
an optimum set of parameters or coefficients is found.
• This technique is often referred to as the Box-Jenkins forecast.
• The two important terms in ARIMA are auto regression and moving average.
• Auto regression refers to the use of the same data to self-predict, for
example, using only gold prices to arrive at a gold price forecast.
• Moving average refers to the normal concept of smoothing price
fluctuations, using a rolling average of the past n days.
Autoregressive Integrated Moving Average(ARIMA)
• The autocorrelation is used to determine to what extent past prices will
forecast future prices.
• The success of the ARIMA model is determined by two factors:
- High correlation in the auto regression
- Low variance in the final forecast errors.
• Preliminary steps for determining the order of the autoregression and
moving average to be used:
- The variance must be stabilized
- Prices are detrended
- Specify the order of the autoregressive and moving average components.
Autoregressive Integrated Moving Average(ARIMA)
• To determine when an ARIMA process is completed, three tests are
performed at the end of each estimation pass:
• 1.Compare the change in the coefficient value. If the last estimation has
caused little or no change in the value of the coefficient(s), the model has
successfully converged to a solution.
• 2.Compare the sum of the squares of the error. If the error value is small or
if it stays relatively unchanged, the process is completed.
• 3.Perform a set number of estimations
Box-Jenkins methodology
Phase 1: Identification
Step 1: Data Preparation
• Transform the data to stabilize the attributes. • Find the difference if it is not stationary;
successively difference • Series to attain stationary.
Step 2: Model Selection
• Examine data, plot ACF and PACF to identify potential models
Phase 2: Estimation and Testing
Step 1: Estimation
• Estimate parameters in potential models • Select best model using AICBIC criterion
Step 2: Diagnostics
• Check ACF/PACF of residuals • Test the residuals • Are the residuals are white noise
Phase 3: Forecast the application
• Forecasting the trend • This model is used to forecast the future
Forecast Results
• Once the coefficients have been determined,
they are used to calculate the forecast value.
These forecasts are most accurate for the next
day and should be used with less confidence
for subsequent days
• ARIMA forecast which becomes less accurate
with 95% further ahead.
• What if the forecast does not work?
- First, Be sure that any data transformations
were reversed. Pay particular attention to the
removal of trends using the correlogram.
- Second, check the data used in the process. If
the data sample is changing
ARIMA Trading Strategies
Following the
Trend
Mean-
Reverting
Indicator
Use of Highs
and Lows
Slope Kalman Filters
ARIMA Trading Strategies
• Following the Trend : Use the 1-day-ahead forecast to determine the trend
position.
• Hold a long position if the forecast is for higher prices, and take a short
position if the process is expecting lower prices.
• Mean-Reverting Indicator : ARIMA confidence bands to determine
overbought/oversold levels.
• long position be entered when prices penetrate the lowest95% confidence
band, but they can be closed out when they return to the normal 50% level.
• A conservative trader will enter the market only in the direction of the
ARIMA trend forecast.
• If the trend is up, only the penetrations of a lower confidence band will be
used to enter new long positions.
ARIMA Trading Strategies
• Use of Highs and Lows :
• 1.Using confidence bands based on the closing prices, buy an intraday
penetration of the expected high or sell short a penetration of the expected
low, and liquidate the position on the close.
• Use a stop-loss. Take positions only in the direction of the ARIMA trend.
• Using the separate ARIMA models based on the daily high and low prices,
buy a penetration of the 50% level of the high and sell a penetration of the
50% level of the lows. Liquidate positions on the close. Use a stop-loss.
• Slope : The purpose of directional analysis, whether regression or moving
averages, is to uncover the true direction of prices by discarding the noise.
Therefore, the slope of the trend line, or the direction of the regression
forecast, is the logical answer.
• The slope itself should be viewed as the best approximation of direction.
ARIMA Trading Strategies
• Kalman offers an alternative approach to ARIMA, allowing an underlying
forecasting model to be combined with other timely information
• The message model may be any trading strategy, moving average, or
regression approach.
• The observation model may be the specialist's or floor broker's opening calls,
market liquidity, or earlier trading activity in the same stock or index market
on a foreign exchange—all of which have been determined to good
candidate inputs for forecasting.
Basic Trading Signals Using a Linear Regression Model
• Buy when tomorrow's
closing price (Ct+1) moves
above the forecasted value
of tomorrow's close (Ft+1).
• Sell short when tomorrow's
closing price (Ct+1) moves
below the forecasted value
of tomorrow's close (Ft+1).
Basic Trading Signals Using a Linear Regression Model
• Adding Confidence Bands
• The new trading rules using a 95%
confidence band would then become
• Buy when tomorrow's closing price
(Ct+1) moves above the forecasted
value of tomorrow's close (Ft+1) +
(2.0 × Rt).
• Sell short when tomorrow's closing
price (Ct+1) moves below the
forecasted value of tomorrow's close
(Ft+1) − (2.0 × Rt).
Using the Linear Regression Slope
• The slope of the linear regression line, the angle at which it is rising or falling, is an
effective way to simplify the usefulness of the regression process. The slope shows
how quickly prices are expected to change over a unit of time.
• Buy when the value of the slope is positive (rising).
• Sell when the value of the slope is negative (falling).
Adding Correlations
• Using the correlation coefficient, R2, will provide a measurement of the consistency of
the price movement
• Instead of R2, which is always positive, R will be used , the actual prices will be used
and correlated against a series of sequential numbers.
• This should give us a better value for whether the prices are trending.
• If R becomes negative then prices are trending down.
• The trading rules for the slope are normally the same as those for a moving average:
- a long position is entered when the trend line or slope turns up and
- a short sale begins when the trend line turns down;
Forecast Oscillator
• Tushar Chande used the regression forecast and its residuals to create
trend-following signals called the Forecast Oscillator
• 5-day regression, find the residuals and calculate the percentage variation
from the regression line.
• A buy signal occurs when the 3-day average of the residuals crosses above
the regression line;
• A short sale is when the 3-day average of the residuals crosses below the
regression line.
Measuring Market Strength
• “Which market is leading the other, Hewlett Packard or Dell?
• The slope of the linear regression, measured over the same calculation period, is the
perfect tool for comparing, or ranking, a set of markets.
• The prices of four pharmaceutical companies, Amgen (AMGN), Johnson & Johnson
(JNJ), Merck (MRK), and Pfizer (PFE). Which of them is the strongest during the last 60
days? No doubt it's PFE, the line at the bottom. But the weakest is not as clear.
Measuring Market Strength
• In order to rank these correctly, it is best to index the stock prices, starting at 100 on
the same date. For only stocks, indexing is not necessary, but if you are mixing stocks
and futures, or just using futures, indexing will be needed to put the trading units into
the same notation. Figure 28.6shows the indexed stocks beginning at the value of 100.
Measuring Market Strength
• PFE was the most volatile because the slope varied from much higher to much lower
than the others, while each stock had its turn at being the strongest and weakest. At
the right side of the chart, PFE finishes the strongest followed by AMGN, MRK, and
JNJ.
• Graph shows rolling linear regression slope with plots for AMGN, JNJ, MRK, and PFE on
year versus slope.

More Related Content

What's hot

Central tendency _dispersion
Central tendency _dispersionCentral tendency _dispersion
Central tendency _dispersionKirti Gupta
 
Cmt learning objective 7 volume ,open interest & breadth Part-3
Cmt learning objective 7   volume ,open interest & breadth Part-3Cmt learning objective 7   volume ,open interest & breadth Part-3
Cmt learning objective 7 volume ,open interest & breadth Part-3Professional Training Academy
 
7 classical assumptions of ordinary least squares
7 classical assumptions of ordinary least squares7 classical assumptions of ordinary least squares
7 classical assumptions of ordinary least squaresYugesh Dutt Panday
 
Portfolio Management - CH 13 - Analyzing The Macro Finance Environment | CMT ...
Portfolio Management - CH 13 - Analyzing The Macro Finance Environment | CMT ...Portfolio Management - CH 13 - Analyzing The Macro Finance Environment | CMT ...
Portfolio Management - CH 13 - Analyzing The Macro Finance Environment | CMT ...Professional Training Academy
 
Trend analysis and time Series Analysis
Trend analysis and time Series Analysis Trend analysis and time Series Analysis
Trend analysis and time Series Analysis Amna Kouser
 
Risk Management - CH 3 - System Evaluation and Testing | CMT Level 3 | Charte...
Risk Management - CH 3 - System Evaluation and Testing | CMT Level 3 | Charte...Risk Management - CH 3 - System Evaluation and Testing | CMT Level 3 | Charte...
Risk Management - CH 3 - System Evaluation and Testing | CMT Level 3 | Charte...Professional Training Academy
 
Behavioural Finance - CHAPTER 15 – Behavioural Biases | CMT Level 3 | Charter...
Behavioural Finance - CHAPTER 15 – Behavioural Biases | CMT Level 3 | Charter...Behavioural Finance - CHAPTER 15 – Behavioural Biases | CMT Level 3 | Charter...
Behavioural Finance - CHAPTER 15 – Behavioural Biases | CMT Level 3 | Charter...Professional Training Academy
 
MONEY SUPPLY AND MONETARY POLICY
MONEY SUPPLY AND MONETARY POLICYMONEY SUPPLY AND MONETARY POLICY
MONEY SUPPLY AND MONETARY POLICYmanuelmathew1
 
Multiple linear regression
Multiple linear regressionMultiple linear regression
Multiple linear regressionJames Neill
 
Behavioural Finance - CHAPTER 16 – Investor Psychology | CMT Level 3 | Chart...
 Behavioural Finance - CHAPTER 16 – Investor Psychology | CMT Level 3 | Chart... Behavioural Finance - CHAPTER 16 – Investor Psychology | CMT Level 3 | Chart...
Behavioural Finance - CHAPTER 16 – Investor Psychology | CMT Level 3 | Chart...Professional Training Academy
 
Univariate & bivariate analysis
Univariate & bivariate analysisUnivariate & bivariate analysis
Univariate & bivariate analysissristi1992
 
Logistic regression with SPSS
Logistic regression with SPSSLogistic regression with SPSS
Logistic regression with SPSSLNIPE
 
Asset Relationship - CH 9 - Gold | CMT Level 3 | Chartered Market Technician ...
Asset Relationship - CH 9 - Gold | CMT Level 3 | Chartered Market Technician ...Asset Relationship - CH 9 - Gold | CMT Level 3 | Chartered Market Technician ...
Asset Relationship - CH 9 - Gold | CMT Level 3 | Chartered Market Technician ...Professional Training Academy
 
Introduction to Statistics - Basic concepts
Introduction to Statistics - Basic conceptsIntroduction to Statistics - Basic concepts
Introduction to Statistics - Basic conceptsDocIbrahimAbdelmonaem
 

What's hot (20)

Stock market model
Stock market modelStock market model
Stock market model
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Central tendency _dispersion
Central tendency _dispersionCentral tendency _dispersion
Central tendency _dispersion
 
Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regression
 
Cmt learning objective 7 volume ,open interest & breadth Part-3
Cmt learning objective 7   volume ,open interest & breadth Part-3Cmt learning objective 7   volume ,open interest & breadth Part-3
Cmt learning objective 7 volume ,open interest & breadth Part-3
 
7 classical assumptions of ordinary least squares
7 classical assumptions of ordinary least squares7 classical assumptions of ordinary least squares
7 classical assumptions of ordinary least squares
 
Portfolio Management - CH 13 - Analyzing The Macro Finance Environment | CMT ...
Portfolio Management - CH 13 - Analyzing The Macro Finance Environment | CMT ...Portfolio Management - CH 13 - Analyzing The Macro Finance Environment | CMT ...
Portfolio Management - CH 13 - Analyzing The Macro Finance Environment | CMT ...
 
Trend analysis and time Series Analysis
Trend analysis and time Series Analysis Trend analysis and time Series Analysis
Trend analysis and time Series Analysis
 
Risk Management - CH 3 - System Evaluation and Testing | CMT Level 3 | Charte...
Risk Management - CH 3 - System Evaluation and Testing | CMT Level 3 | Charte...Risk Management - CH 3 - System Evaluation and Testing | CMT Level 3 | Charte...
Risk Management - CH 3 - System Evaluation and Testing | CMT Level 3 | Charte...
 
Behavioural Finance - CHAPTER 15 – Behavioural Biases | CMT Level 3 | Charter...
Behavioural Finance - CHAPTER 15 – Behavioural Biases | CMT Level 3 | Charter...Behavioural Finance - CHAPTER 15 – Behavioural Biases | CMT Level 3 | Charter...
Behavioural Finance - CHAPTER 15 – Behavioural Biases | CMT Level 3 | Charter...
 
MONEY SUPPLY AND MONETARY POLICY
MONEY SUPPLY AND MONETARY POLICYMONEY SUPPLY AND MONETARY POLICY
MONEY SUPPLY AND MONETARY POLICY
 
Multiple linear regression
Multiple linear regressionMultiple linear regression
Multiple linear regression
 
Behavioural Finance - CHAPTER 16 – Investor Psychology | CMT Level 3 | Chart...
 Behavioural Finance - CHAPTER 16 – Investor Psychology | CMT Level 3 | Chart... Behavioural Finance - CHAPTER 16 – Investor Psychology | CMT Level 3 | Chart...
Behavioural Finance - CHAPTER 16 – Investor Psychology | CMT Level 3 | Chart...
 
Time series Analysis
Time series AnalysisTime series Analysis
Time series Analysis
 
Univariate & bivariate analysis
Univariate & bivariate analysisUnivariate & bivariate analysis
Univariate & bivariate analysis
 
Logistic regression with SPSS
Logistic regression with SPSSLogistic regression with SPSS
Logistic regression with SPSS
 
Asset Relationship - CH 9 - Gold | CMT Level 3 | Chartered Market Technician ...
Asset Relationship - CH 9 - Gold | CMT Level 3 | Chartered Market Technician ...Asset Relationship - CH 9 - Gold | CMT Level 3 | Chartered Market Technician ...
Asset Relationship - CH 9 - Gold | CMT Level 3 | Chartered Market Technician ...
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Introduction to Statistics - Basic concepts
Introduction to Statistics - Basic conceptsIntroduction to Statistics - Basic concepts
Introduction to Statistics - Basic concepts
 

Similar to Regression analysis

Cmt learning objective 2 a moving averages , types & its application
Cmt learning objective 2 a   moving averages , types & its applicationCmt learning objective 2 a   moving averages , types & its application
Cmt learning objective 2 a moving averages , types & its applicationProfessional Training Academy
 
Cmt learning objective 2 d envelopes , bands & channels
Cmt learning objective 2 d   envelopes , bands & channelsCmt learning objective 2 d   envelopes , bands & channels
Cmt learning objective 2 d envelopes , bands & channelsProfessional Training Academy
 
2. Module II (1) FRM.pdf
2. Module II (1) FRM.pdf2. Module II (1) FRM.pdf
2. Module II (1) FRM.pdfItzGA
 
Section 2 - Chapter 7 Part II - Strategies using Moving Averages
Section 2 - Chapter 7 Part II - Strategies using Moving AveragesSection 2 - Chapter 7 Part II - Strategies using Moving Averages
Section 2 - Chapter 7 Part II - Strategies using Moving AveragesProfessional Training Academy
 
Raji Balasuubramaniyan, Senior Data Scientist, Manheim at MLconf ATL - 9/18/15
Raji Balasuubramaniyan, Senior Data Scientist, Manheim at MLconf ATL - 9/18/15Raji Balasuubramaniyan, Senior Data Scientist, Manheim at MLconf ATL - 9/18/15
Raji Balasuubramaniyan, Senior Data Scientist, Manheim at MLconf ATL - 9/18/15MLconf
 
Cmt learning objective 6 momentum and oscillators Part-1
Cmt learning objective 6   momentum and oscillators Part-1Cmt learning objective 6   momentum and oscillators Part-1
Cmt learning objective 6 momentum and oscillators Part-1Professional Training Academy
 
Cmt learning objective 6 momentum and oscillators Part-3
Cmt learning objective 6   momentum and oscillators Part-3Cmt learning objective 6   momentum and oscillators Part-3
Cmt learning objective 6 momentum and oscillators Part-3Professional Training Academy
 
Cmt learning objective 6 momentum and oscillators Part-4
Cmt learning objective 6   momentum and oscillators Part-4Cmt learning objective 6   momentum and oscillators Part-4
Cmt learning objective 6 momentum and oscillators Part-4Professional Training Academy
 
Cmt learning objective 6 momentum and oscillators Part 2
Cmt learning objective 6   momentum and oscillators Part 2Cmt learning objective 6   momentum and oscillators Part 2
Cmt learning objective 6 momentum and oscillators Part 2Professional Training Academy
 
Strategy Part 3 - Combined Models
Strategy Part 3 - Combined ModelsStrategy Part 3 - Combined Models
Strategy Part 3 - Combined Modelsdemarcog
 
Equitimax - Pivot Breaker
Equitimax - Pivot BreakerEquitimax - Pivot Breaker
Equitimax - Pivot BreakerEquitimax
 

Similar to Regression analysis (20)

Cmt learning objective 3 time based trend calculation
Cmt learning objective 3   time based trend calculationCmt learning objective 3   time based trend calculation
Cmt learning objective 3 time based trend calculation
 
Cmt learning objective 2 a moving averages , types & its application
Cmt learning objective 2 a   moving averages , types & its applicationCmt learning objective 2 a   moving averages , types & its application
Cmt learning objective 2 a moving averages , types & its application
 
Cmt learning objective 2 d envelopes , bands & channels
Cmt learning objective 2 d   envelopes , bands & channelsCmt learning objective 2 d   envelopes , bands & channels
Cmt learning objective 2 d envelopes , bands & channels
 
Cmt learning objective 5 trend system part ii
Cmt learning objective 5    trend system part iiCmt learning objective 5    trend system part ii
Cmt learning objective 5 trend system part ii
 
2. Module II (1) FRM.pdf
2. Module II (1) FRM.pdf2. Module II (1) FRM.pdf
2. Module II (1) FRM.pdf
 
Section 2 - Chapter 7 Part I - Moving Averages Basics
Section 2 - Chapter 7 Part I - Moving Averages BasicsSection 2 - Chapter 7 Part I - Moving Averages Basics
Section 2 - Chapter 7 Part I - Moving Averages Basics
 
System Design & testing
System Design  & testing System Design  & testing
System Design & testing
 
Cmt learning objective 36 case study of s&p 500
Cmt learning objective 36   case study of s&p 500Cmt learning objective 36   case study of s&p 500
Cmt learning objective 36 case study of s&p 500
 
Case study of s&p 500
Case study of s&p 500Case study of s&p 500
Case study of s&p 500
 
Section 2 - Chapter 7 Part II - Strategies using Moving Averages
Section 2 - Chapter 7 Part II - Strategies using Moving AveragesSection 2 - Chapter 7 Part II - Strategies using Moving Averages
Section 2 - Chapter 7 Part II - Strategies using Moving Averages
 
Adaptix_2013
Adaptix_2013Adaptix_2013
Adaptix_2013
 
Raji Balasuubramaniyan, Senior Data Scientist, Manheim at MLconf ATL - 9/18/15
Raji Balasuubramaniyan, Senior Data Scientist, Manheim at MLconf ATL - 9/18/15Raji Balasuubramaniyan, Senior Data Scientist, Manheim at MLconf ATL - 9/18/15
Raji Balasuubramaniyan, Senior Data Scientist, Manheim at MLconf ATL - 9/18/15
 
Cmt learning objective 6 momentum and oscillators Part-1
Cmt learning objective 6   momentum and oscillators Part-1Cmt learning objective 6   momentum and oscillators Part-1
Cmt learning objective 6 momentum and oscillators Part-1
 
Cmt learning objective 6 momentum and oscillators Part-3
Cmt learning objective 6   momentum and oscillators Part-3Cmt learning objective 6   momentum and oscillators Part-3
Cmt learning objective 6 momentum and oscillators Part-3
 
Cmt learning objective 6 momentum and oscillators Part-4
Cmt learning objective 6   momentum and oscillators Part-4Cmt learning objective 6   momentum and oscillators Part-4
Cmt learning objective 6 momentum and oscillators Part-4
 
Cmt learning objective 6 momentum and oscillators Part 2
Cmt learning objective 6   momentum and oscillators Part 2Cmt learning objective 6   momentum and oscillators Part 2
Cmt learning objective 6 momentum and oscillators Part 2
 
Asset pricing models
Asset pricing modelsAsset pricing models
Asset pricing models
 
Strategy Part 3 - Combined Models
Strategy Part 3 - Combined ModelsStrategy Part 3 - Combined Models
Strategy Part 3 - Combined Models
 
Section I - CH 3 - System Evaluation and Testing.pdf
Section I - CH 3 - System Evaluation and Testing.pdfSection I - CH 3 - System Evaluation and Testing.pdf
Section I - CH 3 - System Evaluation and Testing.pdf
 
Equitimax - Pivot Breaker
Equitimax - Pivot BreakerEquitimax - Pivot Breaker
Equitimax - Pivot Breaker
 

More from Professional Training Academy

Lecture E - Standard V Investment Analysis, Recommendations, and Actions
Lecture E - Standard V Investment Analysis, Recommendations, and ActionsLecture E - Standard V Investment Analysis, Recommendations, and Actions
Lecture E - Standard V Investment Analysis, Recommendations, and ActionsProfessional Training Academy
 
SECTION VII - CHAPTER 42 - Being Right or making money
SECTION VII - CHAPTER 42 - Being Right or making moneySECTION VII - CHAPTER 42 - Being Right or making money
SECTION VII - CHAPTER 42 - Being Right or making moneyProfessional Training Academy
 
SECTION VII - CHAPTER 41 - Objective Rules & Evaluation
SECTION VII - CHAPTER 41 - Objective Rules & EvaluationSECTION VII - CHAPTER 41 - Objective Rules & Evaluation
SECTION VII - CHAPTER 41 - Objective Rules & EvaluationProfessional Training Academy
 
SECTION VI - CHAPTER 39 - Descriptive Statistics basics
SECTION VI - CHAPTER 39 - Descriptive Statistics basicsSECTION VI - CHAPTER 39 - Descriptive Statistics basics
SECTION VI - CHAPTER 39 - Descriptive Statistics basicsProfessional Training Academy
 
SECTION V- CHAPTER 38 - Sentiment Measures from External Data
SECTION V- CHAPTER 38  - Sentiment Measures from External  DataSECTION V- CHAPTER 38  - Sentiment Measures from External  Data
SECTION V- CHAPTER 38 - Sentiment Measures from External DataProfessional Training Academy
 
SECTION V - CHAPTER 37 - Sentiment Measures from Market Data
SECTION V - CHAPTER 37 - Sentiment Measures from Market DataSECTION V - CHAPTER 37 - Sentiment Measures from Market Data
SECTION V - CHAPTER 37 - Sentiment Measures from Market DataProfessional Training Academy
 
SECTION V - CHAPTER 36 - Market Sentiment & Technical Analysis
SECTION V - CHAPTER 36 - Market Sentiment & Technical AnalysisSECTION V - CHAPTER 36 - Market Sentiment & Technical Analysis
SECTION V - CHAPTER 36 - Market Sentiment & Technical AnalysisProfessional Training Academy
 
SECTION V - CHAPTER 35 - Academic Approaches to Technical Analysis
SECTION V - CHAPTER 35 - Academic Approaches to Technical AnalysisSECTION V - CHAPTER 35 - Academic Approaches to Technical Analysis
SECTION V - CHAPTER 35 - Academic Approaches to Technical AnalysisProfessional Training Academy
 
SECTION V - CHAPTER 34 - Noise Traders as technical Traders.pdf
SECTION V - CHAPTER 34 - Noise Traders as technical Traders.pdfSECTION V - CHAPTER 34 - Noise Traders as technical Traders.pdf
SECTION V - CHAPTER 34 - Noise Traders as technical Traders.pdfProfessional Training Academy
 
SECTION V - CHAPTER 33 - Noise Traders & Law of One Price
SECTION V - CHAPTER 33 - Noise Traders & Law of One PriceSECTION V - CHAPTER 33 - Noise Traders & Law of One Price
SECTION V - CHAPTER 33 - Noise Traders & Law of One PriceProfessional Training Academy
 
SECTION V - CHAPTER 32 - Forerunners to Behavioural Finance.pdf
SECTION V - CHAPTER 32 - Forerunners to Behavioural Finance.pdfSECTION V - CHAPTER 32 - Forerunners to Behavioural Finance.pdf
SECTION V - CHAPTER 32 - Forerunners to Behavioural Finance.pdfProfessional Training Academy
 

More from Professional Training Academy (20)

Chapter D - Knowledge Domains and Weightings
Chapter D - Knowledge Domains and WeightingsChapter D - Knowledge Domains and Weightings
Chapter D - Knowledge Domains and Weightings
 
Lecture F - Standard VI Conflicts of Interest
Lecture F - Standard VI Conflicts of InterestLecture F - Standard VI Conflicts of Interest
Lecture F - Standard VI Conflicts of Interest
 
Lecture E - Standard V Investment Analysis, Recommendations, and Actions
Lecture E - Standard V Investment Analysis, Recommendations, and ActionsLecture E - Standard V Investment Analysis, Recommendations, and Actions
Lecture E - Standard V Investment Analysis, Recommendations, and Actions
 
Lecture D - Standard IV Duties to Employers
Lecture D - Standard IV Duties to EmployersLecture D - Standard IV Duties to Employers
Lecture D - Standard IV Duties to Employers
 
Lecture C - Standard III Duties to Clients
Lecture C - Standard III Duties to ClientsLecture C - Standard III Duties to Clients
Lecture C - Standard III Duties to Clients
 
Lecture B - Standard II Integrity of Capital Markets
Lecture B - Standard II Integrity of Capital MarketsLecture B - Standard II Integrity of Capital Markets
Lecture B - Standard II Integrity of Capital Markets
 
Lecture A - Standard I Professionalism
Lecture A - Standard I ProfessionalismLecture A - Standard I Professionalism
Lecture A - Standard I Professionalism
 
SECTION VII - CHAPTER 44 - Relative Strength Concept
SECTION VII - CHAPTER 44 -  Relative Strength ConceptSECTION VII - CHAPTER 44 -  Relative Strength Concept
SECTION VII - CHAPTER 44 - Relative Strength Concept
 
SECTION VII - CHAPTER 43 - Model Building Process
SECTION VII - CHAPTER 43 - Model Building ProcessSECTION VII - CHAPTER 43 - Model Building Process
SECTION VII - CHAPTER 43 - Model Building Process
 
SECTION VII - CHAPTER 42 - Being Right or making money
SECTION VII - CHAPTER 42 - Being Right or making moneySECTION VII - CHAPTER 42 - Being Right or making money
SECTION VII - CHAPTER 42 - Being Right or making money
 
SECTION VII - CHAPTER 41 - Objective Rules & Evaluation
SECTION VII - CHAPTER 41 - Objective Rules & EvaluationSECTION VII - CHAPTER 41 - Objective Rules & Evaluation
SECTION VII - CHAPTER 41 - Objective Rules & Evaluation
 
SECTION VI - CHAPTER 40 - Concept of Probablity
SECTION VI - CHAPTER 40 - Concept of ProbablitySECTION VI - CHAPTER 40 - Concept of Probablity
SECTION VI - CHAPTER 40 - Concept of Probablity
 
SECTION VI - CHAPTER 39 - Descriptive Statistics basics
SECTION VI - CHAPTER 39 - Descriptive Statistics basicsSECTION VI - CHAPTER 39 - Descriptive Statistics basics
SECTION VI - CHAPTER 39 - Descriptive Statistics basics
 
SECTION V- CHAPTER 38 - Sentiment Measures from External Data
SECTION V- CHAPTER 38  - Sentiment Measures from External  DataSECTION V- CHAPTER 38  - Sentiment Measures from External  Data
SECTION V- CHAPTER 38 - Sentiment Measures from External Data
 
SECTION V - CHAPTER 37 - Sentiment Measures from Market Data
SECTION V - CHAPTER 37 - Sentiment Measures from Market DataSECTION V - CHAPTER 37 - Sentiment Measures from Market Data
SECTION V - CHAPTER 37 - Sentiment Measures from Market Data
 
SECTION V - CHAPTER 36 - Market Sentiment & Technical Analysis
SECTION V - CHAPTER 36 - Market Sentiment & Technical AnalysisSECTION V - CHAPTER 36 - Market Sentiment & Technical Analysis
SECTION V - CHAPTER 36 - Market Sentiment & Technical Analysis
 
SECTION V - CHAPTER 35 - Academic Approaches to Technical Analysis
SECTION V - CHAPTER 35 - Academic Approaches to Technical AnalysisSECTION V - CHAPTER 35 - Academic Approaches to Technical Analysis
SECTION V - CHAPTER 35 - Academic Approaches to Technical Analysis
 
SECTION V - CHAPTER 34 - Noise Traders as technical Traders.pdf
SECTION V - CHAPTER 34 - Noise Traders as technical Traders.pdfSECTION V - CHAPTER 34 - Noise Traders as technical Traders.pdf
SECTION V - CHAPTER 34 - Noise Traders as technical Traders.pdf
 
SECTION V - CHAPTER 33 - Noise Traders & Law of One Price
SECTION V - CHAPTER 33 - Noise Traders & Law of One PriceSECTION V - CHAPTER 33 - Noise Traders & Law of One Price
SECTION V - CHAPTER 33 - Noise Traders & Law of One Price
 
SECTION V - CHAPTER 32 - Forerunners to Behavioural Finance.pdf
SECTION V - CHAPTER 32 - Forerunners to Behavioural Finance.pdfSECTION V - CHAPTER 32 - Forerunners to Behavioural Finance.pdf
SECTION V - CHAPTER 32 - Forerunners to Behavioural Finance.pdf
 

Recently uploaded

Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxUnboundStockton
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Science lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonScience lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonJericReyAuditor
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 

Recently uploaded (20)

Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docx
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Science lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonScience lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lesson
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 

Regression analysis

  • 2. Regression Analysis Section I – 39% Explain why an ARIMA model may be thought of as an adaptive process Explain how you would apply ARIMA trading strategies to a given chart scenario Show how you might use linear regression to compare relative strength of various markets
  • 3. Autoregressive Integrated Moving Average(ARIMA) • An Autoregressive Integrated Moving Average(ARIMA) model is created by a process of repeated regression analysis over a moving time window, resulting in a forecast value based on the new fit. • ARIMA process automatically applies the most important features of regression analysis in a preset order and continues to reanalyze results until an optimum set of parameters or coefficients is found. • This technique is often referred to as the Box-Jenkins forecast. • The two important terms in ARIMA are auto regression and moving average. • Auto regression refers to the use of the same data to self-predict, for example, using only gold prices to arrive at a gold price forecast. • Moving average refers to the normal concept of smoothing price fluctuations, using a rolling average of the past n days.
  • 4. Autoregressive Integrated Moving Average(ARIMA) • The autocorrelation is used to determine to what extent past prices will forecast future prices. • The success of the ARIMA model is determined by two factors: - High correlation in the auto regression - Low variance in the final forecast errors. • Preliminary steps for determining the order of the autoregression and moving average to be used: - The variance must be stabilized - Prices are detrended - Specify the order of the autoregressive and moving average components.
  • 5. Autoregressive Integrated Moving Average(ARIMA) • To determine when an ARIMA process is completed, three tests are performed at the end of each estimation pass: • 1.Compare the change in the coefficient value. If the last estimation has caused little or no change in the value of the coefficient(s), the model has successfully converged to a solution. • 2.Compare the sum of the squares of the error. If the error value is small or if it stays relatively unchanged, the process is completed. • 3.Perform a set number of estimations
  • 6. Box-Jenkins methodology Phase 1: Identification Step 1: Data Preparation • Transform the data to stabilize the attributes. • Find the difference if it is not stationary; successively difference • Series to attain stationary. Step 2: Model Selection • Examine data, plot ACF and PACF to identify potential models Phase 2: Estimation and Testing Step 1: Estimation • Estimate parameters in potential models • Select best model using AICBIC criterion Step 2: Diagnostics • Check ACF/PACF of residuals • Test the residuals • Are the residuals are white noise Phase 3: Forecast the application • Forecasting the trend • This model is used to forecast the future
  • 7. Forecast Results • Once the coefficients have been determined, they are used to calculate the forecast value. These forecasts are most accurate for the next day and should be used with less confidence for subsequent days • ARIMA forecast which becomes less accurate with 95% further ahead. • What if the forecast does not work? - First, Be sure that any data transformations were reversed. Pay particular attention to the removal of trends using the correlogram. - Second, check the data used in the process. If the data sample is changing
  • 8. ARIMA Trading Strategies Following the Trend Mean- Reverting Indicator Use of Highs and Lows Slope Kalman Filters
  • 9. ARIMA Trading Strategies • Following the Trend : Use the 1-day-ahead forecast to determine the trend position. • Hold a long position if the forecast is for higher prices, and take a short position if the process is expecting lower prices. • Mean-Reverting Indicator : ARIMA confidence bands to determine overbought/oversold levels. • long position be entered when prices penetrate the lowest95% confidence band, but they can be closed out when they return to the normal 50% level. • A conservative trader will enter the market only in the direction of the ARIMA trend forecast. • If the trend is up, only the penetrations of a lower confidence band will be used to enter new long positions.
  • 10. ARIMA Trading Strategies • Use of Highs and Lows : • 1.Using confidence bands based on the closing prices, buy an intraday penetration of the expected high or sell short a penetration of the expected low, and liquidate the position on the close. • Use a stop-loss. Take positions only in the direction of the ARIMA trend. • Using the separate ARIMA models based on the daily high and low prices, buy a penetration of the 50% level of the high and sell a penetration of the 50% level of the lows. Liquidate positions on the close. Use a stop-loss. • Slope : The purpose of directional analysis, whether regression or moving averages, is to uncover the true direction of prices by discarding the noise. Therefore, the slope of the trend line, or the direction of the regression forecast, is the logical answer. • The slope itself should be viewed as the best approximation of direction.
  • 11. ARIMA Trading Strategies • Kalman offers an alternative approach to ARIMA, allowing an underlying forecasting model to be combined with other timely information • The message model may be any trading strategy, moving average, or regression approach. • The observation model may be the specialist's or floor broker's opening calls, market liquidity, or earlier trading activity in the same stock or index market on a foreign exchange—all of which have been determined to good candidate inputs for forecasting.
  • 12. Basic Trading Signals Using a Linear Regression Model • Buy when tomorrow's closing price (Ct+1) moves above the forecasted value of tomorrow's close (Ft+1). • Sell short when tomorrow's closing price (Ct+1) moves below the forecasted value of tomorrow's close (Ft+1).
  • 13. Basic Trading Signals Using a Linear Regression Model • Adding Confidence Bands • The new trading rules using a 95% confidence band would then become • Buy when tomorrow's closing price (Ct+1) moves above the forecasted value of tomorrow's close (Ft+1) + (2.0 × Rt). • Sell short when tomorrow's closing price (Ct+1) moves below the forecasted value of tomorrow's close (Ft+1) − (2.0 × Rt).
  • 14. Using the Linear Regression Slope • The slope of the linear regression line, the angle at which it is rising or falling, is an effective way to simplify the usefulness of the regression process. The slope shows how quickly prices are expected to change over a unit of time. • Buy when the value of the slope is positive (rising). • Sell when the value of the slope is negative (falling).
  • 15. Adding Correlations • Using the correlation coefficient, R2, will provide a measurement of the consistency of the price movement • Instead of R2, which is always positive, R will be used , the actual prices will be used and correlated against a series of sequential numbers. • This should give us a better value for whether the prices are trending. • If R becomes negative then prices are trending down. • The trading rules for the slope are normally the same as those for a moving average: - a long position is entered when the trend line or slope turns up and - a short sale begins when the trend line turns down;
  • 16. Forecast Oscillator • Tushar Chande used the regression forecast and its residuals to create trend-following signals called the Forecast Oscillator • 5-day regression, find the residuals and calculate the percentage variation from the regression line. • A buy signal occurs when the 3-day average of the residuals crosses above the regression line; • A short sale is when the 3-day average of the residuals crosses below the regression line.
  • 17. Measuring Market Strength • “Which market is leading the other, Hewlett Packard or Dell? • The slope of the linear regression, measured over the same calculation period, is the perfect tool for comparing, or ranking, a set of markets. • The prices of four pharmaceutical companies, Amgen (AMGN), Johnson & Johnson (JNJ), Merck (MRK), and Pfizer (PFE). Which of them is the strongest during the last 60 days? No doubt it's PFE, the line at the bottom. But the weakest is not as clear.
  • 18. Measuring Market Strength • In order to rank these correctly, it is best to index the stock prices, starting at 100 on the same date. For only stocks, indexing is not necessary, but if you are mixing stocks and futures, or just using futures, indexing will be needed to put the trading units into the same notation. Figure 28.6shows the indexed stocks beginning at the value of 100.
  • 19. Measuring Market Strength • PFE was the most volatile because the slope varied from much higher to much lower than the others, while each stock had its turn at being the strongest and weakest. At the right side of the chart, PFE finishes the strongest followed by AMGN, MRK, and JNJ. • Graph shows rolling linear regression slope with plots for AMGN, JNJ, MRK, and PFE on year versus slope.