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

Statisticsfor businessproject solution
Statisticsfor businessproject solutionStatisticsfor businessproject solution
Statisticsfor businessproject solutionhuynguyenbac
 
Managing Non-Modellable Risk Factors
Managing Non-Modellable Risk FactorsManaging Non-Modellable Risk Factors
Managing Non-Modellable Risk Factors"John "Jeb"" Beckwith
 
Modeling Transaction Costs for Algorithmic Strategies
Modeling Transaction Costs for Algorithmic StrategiesModeling Transaction Costs for Algorithmic Strategies
Modeling Transaction Costs for Algorithmic StrategiesQuantopian
 
Automated Selection and Robustness for Systematic Trading Strategies by Dr. T...
Automated Selection and Robustness for Systematic Trading Strategies by Dr. T...Automated Selection and Robustness for Systematic Trading Strategies by Dr. T...
Automated Selection and Robustness for Systematic Trading Strategies by Dr. T...Quantopian
 
"Active Learning in Trading Algorithms" by David Fellah, Head of the EMEA Lin...
"Active Learning in Trading Algorithms" by David Fellah, Head of the EMEA Lin..."Active Learning in Trading Algorithms" by David Fellah, Head of the EMEA Lin...
"Active Learning in Trading Algorithms" by David Fellah, Head of the EMEA Lin...Quantopian
 
Applications of Machine Learning in High Frequency Trading
Applications of Machine Learning in High Frequency TradingApplications of Machine Learning in High Frequency Trading
Applications of Machine Learning in High Frequency TradingAyan Sengupta
 
Technical analysis by charts
Technical analysis by chartsTechnical analysis by charts
Technical analysis by chartsSreeram Nishanth
 
Risk Management: Maximising Long-Term Growth Presentation
Risk Management: Maximising Long-Term Growth PresentationRisk Management: Maximising Long-Term Growth Presentation
Risk Management: Maximising Long-Term Growth PresentationQuantInsti
 
Adaptix_2013
Adaptix_2013Adaptix_2013
Adaptix_2013Gary Faktor
 
AlphaTrader Trading Platform Features
AlphaTrader Trading Platform FeaturesAlphaTrader Trading Platform Features
AlphaTrader Trading Platform FeaturesNicolas VITALE
 
Power hour power point 12.09.2010
Power hour power point 12.09.2010Power hour power point 12.09.2010
Power hour power point 12.09.2010Marcello Ducille
 

What's hot (14)

Selection of Markets & Issues
Selection of Markets & IssuesSelection of Markets & Issues
Selection of Markets & Issues
 
Statisticsfor businessproject solution
Statisticsfor businessproject solutionStatisticsfor businessproject solution
Statisticsfor businessproject solution
 
Theories of nonrandom price motion
Theories of nonrandom price motionTheories of nonrandom price motion
Theories of nonrandom price motion
 
Managing Non-Modellable Risk Factors
Managing Non-Modellable Risk FactorsManaging Non-Modellable Risk Factors
Managing Non-Modellable Risk Factors
 
Relative strength strategies for investing
Relative strength strategies for investingRelative strength strategies for investing
Relative strength strategies for investing
 
Modeling Transaction Costs for Algorithmic Strategies
Modeling Transaction Costs for Algorithmic StrategiesModeling Transaction Costs for Algorithmic Strategies
Modeling Transaction Costs for Algorithmic Strategies
 
Automated Selection and Robustness for Systematic Trading Strategies by Dr. T...
Automated Selection and Robustness for Systematic Trading Strategies by Dr. T...Automated Selection and Robustness for Systematic Trading Strategies by Dr. T...
Automated Selection and Robustness for Systematic Trading Strategies by Dr. T...
 
"Active Learning in Trading Algorithms" by David Fellah, Head of the EMEA Lin...
"Active Learning in Trading Algorithms" by David Fellah, Head of the EMEA Lin..."Active Learning in Trading Algorithms" by David Fellah, Head of the EMEA Lin...
"Active Learning in Trading Algorithms" by David Fellah, Head of the EMEA Lin...
 
Applications of Machine Learning in High Frequency Trading
Applications of Machine Learning in High Frequency TradingApplications of Machine Learning in High Frequency Trading
Applications of Machine Learning in High Frequency Trading
 
Technical analysis by charts
Technical analysis by chartsTechnical analysis by charts
Technical analysis by charts
 
Risk Management: Maximising Long-Term Growth Presentation
Risk Management: Maximising Long-Term Growth PresentationRisk Management: Maximising Long-Term Growth Presentation
Risk Management: Maximising Long-Term Growth Presentation
 
Adaptix_2013
Adaptix_2013Adaptix_2013
Adaptix_2013
 
AlphaTrader Trading Platform Features
AlphaTrader Trading Platform FeaturesAlphaTrader Trading Platform Features
AlphaTrader Trading Platform Features
 
Power hour power point 12.09.2010
Power hour power point 12.09.2010Power hour power point 12.09.2010
Power hour power point 12.09.2010
 

Similar to Cmt learning objective 26 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 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 BasicsProfessional Training Academy
 
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
 
Asset Relationships - CH 11 - Relative Strength | CMT Level 3 | Chartered Mar...
Asset Relationships - CH 11 - Relative Strength | CMT Level 3 | Chartered Mar...Asset Relationships - CH 11 - Relative Strength | CMT Level 3 | Chartered Mar...
Asset Relationships - CH 11 - Relative Strength | CMT Level 3 | Chartered Mar...Professional 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-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
 
Asset pricing models
Asset pricing modelsAsset pricing models
Asset pricing modelsAakash Kulkarni
 
Strategy Part 3 - Combined Models
Strategy Part 3 - Combined ModelsStrategy Part 3 - Combined Models
Strategy Part 3 - Combined Modelsdemarcog
 
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.pdfProfessional Training Academy
 
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
 
Equitimax - Pivot Breaker
Equitimax - Pivot BreakerEquitimax - Pivot Breaker
Equitimax - Pivot BreakerEquitimax
 
Synergy basic
Synergy basicSynergy basic
Synergy basicMeetup Sing
 
Technical Trading Rules for the NASDAQ100
Technical Trading Rules for the NASDAQ100Technical Trading Rules for the NASDAQ100
Technical Trading Rules for the NASDAQ100Temi Vasco
 
Forecasting exchange rates
Forecasting exchange ratesForecasting exchange rates
Forecasting exchange ratesJaswinder Singh
 

Similar to Cmt learning objective 26 regression analysis (20)

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 4 trend system part i
Cmt learning objective 4   trend system part iCmt learning objective 4   trend system part i
Cmt learning objective 4 trend system part i
 
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
 
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
 
Asset Relationships - CH 11 - Relative Strength | CMT Level 3 | Chartered Mar...
Asset Relationships - CH 11 - Relative Strength | CMT Level 3 | Chartered Mar...Asset Relationships - CH 11 - Relative Strength | CMT Level 3 | Chartered Mar...
Asset Relationships - CH 11 - Relative Strength | CMT Level 3 | Chartered Mar...
 
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-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
 
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...
 
Equitimax - Pivot Breaker
Equitimax - Pivot BreakerEquitimax - Pivot Breaker
Equitimax - Pivot Breaker
 
Synergy basic
Synergy basicSynergy basic
Synergy basic
 
Technical Trading Rules for the NASDAQ100
Technical Trading Rules for the NASDAQ100Technical Trading Rules for the NASDAQ100
Technical Trading Rules for the NASDAQ100
 
Forecasting exchange rates
Forecasting exchange ratesForecasting exchange rates
Forecasting exchange rates
 

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
 
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 MarketsProfessional Training Academy
 
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 ConceptProfessional Training Academy
 
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 ProcessProfessional 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

Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
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
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
18-04-UA_REPORT_MEDIALITERAĐĄY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAĐĄY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAĐĄY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAĐĄY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
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
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 

Recently uploaded (20)

Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
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
 
CĂłdigo Creativo y Arte de Software | Unidad 1
CĂłdigo Creativo y Arte de Software | Unidad 1CĂłdigo Creativo y Arte de Software | Unidad 1
CĂłdigo Creativo y Arte de Software | Unidad 1
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
18-04-UA_REPORT_MEDIALITERAĐĄY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAĐĄY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAĐĄY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAĐĄY_INDEX-DM_23-1-final-eng.pdf
 
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
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 

Cmt learning objective 26 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.