At a glance
- A factor regression puts a stock's return above a safe rate against the market's return above the same rate, and reports the slope.
- Beta is that slope: how many percent the stock's excess return tends to move for every one percent the market's excess return moves, in the same direction.
- Alpha is the intercept: the average monthly excess return the regression cannot explain by market exposure alone.
- R squared says how much of the stock's month to month swing is the market's; the rest is this firm's own news.
- On a market where many stocks trade thin, a computed beta usually comes out too small, not too large.
Excess return, and why it is not the raw return
A regression of one return on another is easy to write and slightly wrong. Holding cash already earns something: a treasury bill yield, a savings rate, whatever the safest asset on the market pays. What a stock has to earn to be worth the bother is its return above that floor. So both sides of the regression are excess returns: the stock's return minus the risk-free rate for the same month, and the market's return minus the same risk-free rate. Subtracting a number that moves with time keeps the intercept honest across periods when the risk-free rate itself was high or low, rather than folding a changing floor into a coefficient that is supposed to describe only the stock.
The market model
The market model is one regression with one right-hand variable: the stock's excess return equals alpha plus beta times the market's excess return, plus noise. It is ordinary least squares exactly as in the farms example elsewhere in this room, with rain replaced by the market's excess return and yield replaced by the stock's. Beta is the slope: covariance of the two excess returns divided by the variance of the market's. Alpha is the intercept: the mean stock excess return minus beta times the mean market excess return.
Worked example: twelve months
| Month | Market | Stock | Market minus 1.0 | Stock minus 2.0 | Product | Market deviation squared |
|---|---|---|---|---|---|---|
| 1 | 3.0 | 5.0 | 2 | 3 | 6 | 4 |
| 2 | -2.0 | -2.0 | -3 | -4 | 12 | 9 |
| 3 | 4.0 | 7.0 | 3 | 5 | 15 | 9 |
| 4 | 0.0 | 1.0 | -1 | -1 | 1 | 1 |
| 5 | -1.0 | -1.0 | -2 | -3 | 6 | 4 |
| 6 | 5.0 | 8.0 | 4 | 6 | 24 | 16 |
| 7 | 2.0 | 3.0 | 1 | 1 | 1 | 1 |
| 8 | -3.0 | -3.0 | -4 | -5 | 20 | 16 |
| 9 | 1.0 | 5.0 | 0 | 3 | 0 | 0 |
| 10 | 0.0 | 0.0 | -1 | -2 | 2 | 1 |
| 11 | 3.0 | 5.0 | 2 | 3 | 6 | 4 |
| 12 | 0.0 | -4.0 | -1 | -6 | 6 | 1 |
| Sum | 12.0 | 24.0 | 99 | 66 |
Beta is the sum of the products divided by the sum of the squared market deviations: 99 divided by 66, which is 1.5. Alpha is the mean stock excess return minus beta times the mean market excess return: 2.0 minus 1.5 times 1.0, which is 2.0 minus 1.5, which is 0.5. The line is stock excess return equals 0.5 plus 1.5 times market excess return.
What R squared says
Put each month's market excess return into that line: 5.0, -2.5, 6.5, 0.5, -1.0, 8.0, 3.5, -4.0, 2.0, 0.5, 5.0 and 0.5. The gaps between what happened and what the line predicts are the residuals: 0, 0.5, 0.5, 0.5, 0, 0, -0.5, 1.0, 3.0, -0.5, 0 and -4.5. Square them and add: the total is 31.5. The sum of squared deviations of the stock's own excess return, from the deviation column above, is 180. R squared is one minus the ratio of the two: 1 minus 31.5 over 180, which is 1 minus 0.175, which is 0.825. Eighty two and a half per cent of this stock's month to month swing moved with the market. The rest, months nine and twelve especially, is this firm's own news landing on a day the market itself barely moved.
R squared here comes from twelve months, and twelve months is not enough to call it stable. Treat it as a description of this particular year, not a forecast for the next one.
Beta, said as a sentence about risk
A beta of 1.5, the number this workbook found, says the stock's excess return tends to move one and a half times as far as the market's, in the same direction. A beta of 1.3, to take the round number analysts actually quote most often, says the same thing at a gentler slope: if the market's excess return rises ten per cent, expect this stock's excess return to rise about thirteen per cent over the same stretch, and to fall by about the same multiple when the market falls. A beta above one is not a promise of more return. It is a promise of more swing, on the way down as much as on the way up. A beta below one moves less than the market in both directions; a beta near zero barely moves with it at all; a negative beta is rare enough that it is worth checking the arithmetic before trusting it.
The three-factor extension, briefly
One right-hand variable is a start, not the whole story. Small companies have tended to outrun large ones by more than their market beta explains, and cheap companies, measured by book value against price, have tended to outrun expensive ones the same way. Fama and French's three-factor model adds both: a size factor, the return on small stocks minus large ones, and a value factor, the return on cheap stocks minus expensive ones, alongside the market factor already here. The regression is the same idea with three slopes instead of one, run exactly as before, and alpha is now the return the three together cannot explain, which is a stricter test than the single-factor alpha above.
Dhaka Stock Exchange cautions
Many counters on this market do not trade every session. A day with no trade is not a day with no news: the exchange simply carries the last traded price forward, so that day's return is recorded as zero whether the true price moved or not. A stock with several such days a month looks, on paper, less connected to the market than it is, because half its real reaction to a market move is sitting in the next session's price rather than that day's. The effect is not random noise, it is a one-directional pull: a beta estimated this way is usually biased towards zero, understating both how defensive a thinly traded stock looks and how risky it actually is once it does move. One way through it is to widen the window: sum returns over a week instead of a day, so a stale price has more time to catch up, or add a lead and a lag of the market's excess return to the same regression and add the three slopes together. Neither is free: a wider window throws away timing, and the lead-lag fix needs more months of data than the simple regression above to hold its own standard errors steady.
Before trusting a beta
Check the trading calendar for the stock, not only the index. A beta built from twelve months in which the stock traded on nine sessions is a beta built from nine months, not twelve, whatever the row count says.
Where it goes wrong
- Regressing raw returns instead of excess returns, and calling the intercept alpha anyway.
- Reading R squared as a verdict on the stock rather than on how much of its movement is systematic.
- Quoting a beta with no mention of the window it was estimated over: a beta from a falling market and a beta from a calm one can differ for the same stock.
- Trusting a beta from a stock that barely trades, with no correction and no warning.
- Reporting alpha as skill without saying over what stretch, and without a standard error next to it.
Checklist
- Both columns are excess returns, the risk-free rate already taken out.
- Beta is stated with the window it was estimated over.
- R squared is reported as how much of the movement is explained, not as a grade.
- Thin trading has been checked before the beta is trusted.
- If a factor beyond the market is added, it is named and its own slope is reported.
The lab runs a factor regression, including the single-factor CAPM case, from the method list and writes alpha, beta and R squared into the APA table on its own; its market button fetches a daily series for a ticker so twelve months of prices become excess returns without being typed in by hand, and the workshop's Returns tool turns a run of prices into the daily or monthly returns a factor regression needs before it can run at all.
এক নজরে
- ফ্যাক্টর রিগ্রেশন একটা শেয়ারের রিটার্নকে নিরাপদ হারের ওপরে বসিয়ে বাজারের রিটার্নের বিপরীতে দাঁড় করায়, একই হার দুই দিক থেকে বাদ দিয়ে, আর ঢাল জানায়।
- বিটাই সেই ঢাল: বাজারের অতিরিক্ত রিটার্ন প্রতি এক শতাংশ বাড়লে শেয়ারের অতিরিক্ত রিটার্ন কত শতাংশ একই দিকে নড়ে।
- আলফা হলো শুরুর মান: বাজারের সংস্পর্শ দিয়ে যা ব্যাখ্যা হয় না, এমন মাসিক গড় অতিরিক্ত রিটার্ন।
- R² বলে, শেয়ারের মাসে মাসে ওঠানামার কতটা বাজারের নিজের; বাকিটা এই কোম্পানির নিজস্ব খবর।
- যে বাজারে অনেক শেয়ারের লেনদেন কম হয়, সেখানে হিসাব করা বিটা সাধারণত বেশি নয়, কমই আসে।
অতিরিক্ত রিটার্ন, আসল রিটার্ন নয় কেন
একটা রিটার্নকে আরেকটা রিটার্নের ওপর রিগ্রেশন করা সহজ, আর একটু ভুলও। নগদ টাকা রেখে দিলেও কিছু আয় হয়: ট্রেজারি বিলের হার, সঞ্চয়ের হার, বাজারের সবচেয়ে নিরাপদ সম্পদ যা দেয়। একটা শেয়ার ঝক্কি নেওয়ার যোগ্য হতে হলে তাকে সেই মেঝের ওপরে আয় করতে হয়। তাই রিগ্রেশনের দুই দিকই অতিরিক্ত রিটার্ন: শেয়ারের রিটার্ন বিয়োগ সেই মাসের ঝুঁকিমুক্ত হার, আর বাজারের রিটার্ন বিয়োগ একই হার। সময়ের সঙ্গে বদলানো একটা সংখ্যা বাদ দিলে শুরুর মান সৎ থাকে সেই সময়েও যখন ঝুঁকিমুক্ত হার নিজেই বেশি বা কম ছিল, নইলে বদলানো মেঝেটাই এমন এক সহগের ভেতর ঢুকে যেত যার কাজ শুধু শেয়ারটাকে বর্ণনা করা।
বাজার মডেল
বাজার মডেল একটাই রিগ্রেশন, একটাই ডান দিকের চলক নিয়ে: শেয়ারের অতিরিক্ত রিটার্ন সমান আলফা যোগ বিটা গুণ বাজারের অতিরিক্ত রিটার্ন, যোগ গোলমাল। এটা এই ঘরের আরেক জায়গার খামারের উদাহরণের মতোই সাধারণ লিস্ট স্কোয়ার, শুধু বৃষ্টির জায়গায় বাজারের অতিরিক্ত রিটার্ন, ফলনের জায়গায় শেয়ারের। বিটাই ঢাল: দুই অতিরিক্ত রিটার্নের সহভেদাঙ্ক ভাগ বাজারের ভেদাঙ্ক। আলফাই শুরুর মান: শেয়ারের গড় অতিরিক্ত রিটার্ন বিয়োগ বিটা গুণ বাজারের গড় অতিরিক্ত রিটার্ন।
করে দেখানো: বারো মাস
| মাস | বাজার | শেয়ার | বাজার বিয়োগ ১.০ | শেয়ার বিয়োগ ২.০ | গুণফল | বাজারের ফারাকের বর্গ |
|---|---|---|---|---|---|---|
| ১ | ৩.০ | ৫.০ | ২ | ৩ | ৬ | ৪ |
| ২ | -২.০ | -২.০ | -৩ | -৪ | ১২ | ৯ |
| ৩ | ৪.০ | ৭.০ | ৩ | ৫ | ১৫ | ৯ |
| ৪ | ০.০ | ১.০ | -১ | -১ | ১ | ১ |
| ৫ | -১.০ | -১.০ | -২ | -৩ | ৬ | ৪ |
| ৬ | ৫.০ | ৮.০ | ৪ | ৬ | ২৪ | ১৬ |
| ৭ | ২.০ | ৩.০ | ১ | ১ | ১ | ১ |
| ৮ | -৩.০ | -৩.০ | -৪ | -৫ | ২০ | ১৬ |
| ৯ | ১.০ | ৫.০ | ০ | ৩ | ০ | ০ |
| ১০ | ০.০ | ০.০ | -১ | -২ | ২ | ১ |
| ১১ | ৩.০ | ৫.০ | ২ | ৩ | ৬ | ৪ |
| ১২ | ০.০ | -৪.০ | -১ | -৬ | ৬ | ১ |
| যোগ | ১২.০ | ২৪.০ | ৯৯ | ৬৬ |
বিটা হলো গুণফলের যোগ ভাগ বাজারের ফারাকের বর্গের যোগ: ৯৯ ভাগ ৬৬, মানে ১.৫। আলফা হলো শেয়ারের গড় অতিরিক্ত রিটার্ন বিয়োগ বিটা গুণ বাজারের গড়: ২.০ বিয়োগ ১.৫ গুণ ১.০, মানে ২.০ বিয়োগ ১.৫, মানে ০.৫। রেখাটা: শেয়ারের অতিরিক্ত রিটার্ন সমান ০.৫ যোগ ১.৫ গুণ বাজারের অতিরিক্ত রিটার্ন।
R² কী বলে
প্রতিটি মাসের বাজারের অতিরিক্ত রিটার্ন সেই রেখায় বসান: ৫.০, -২.৫, ৬.৫, ০.৫, -১.০, ৮.০, ৩.৫, -৪.০, ২.০, ০.৫, ৫.০ আর ০.৫। যা হয়েছে আর রেখা যা বলে, তার ফারাক হলো রেসিডুয়াল: ০, ০.৫, ০.৫, ০.৫, ০, ০, -০.৫, ১.০, ৩.০, -০.৫, ০ আর -৪.৫। বর্গ করে যোগ করুন: মোট ৩১.৫। ওপরের ফারাকের কলাম থেকে শেয়ারের নিজের অতিরিক্ত রিটার্নের ফারাকের বর্গের যোগ ১৮০। R² হলো এক বিয়োগ এই দুইয়ের অনুপাত: ১ বিয়োগ ৩১.৫ ভাগ ১৮০, মানে ১ বিয়োগ ০.১৭৫, মানে ০.৮২৫। এই শেয়ারের মাসে মাসে ওঠানামার ৮২.৫ শতাংশ বাজারের সঙ্গে নড়েছে। বাকিটা, বিশেষ করে নয় আর বারো নম্বর মাস, এই কোম্পানির নিজস্ব খবর, এমন দিনে যখন বাজার নিজেই প্রায় নড়েনি।
এই R² এসেছে বারো মাস থেকে, আর বারো মাস যথেষ্ট নয় এটাকে স্থিতিশীল বলার জন্য। এটাকে এই নির্দিষ্ট বছরের একটা বর্ণনা হিসেবে ধরুন, পরের বছরের পূর্বাভাস হিসেবে নয়।
বিটা, ঝুঁকি নিয়ে একটা বাক্য হিসেবে
১.৫ বিটা, এই খাতাটা যা পেয়েছে, বলে: শেয়ারের অতিরিক্ত রিটার্ন বাজারের চেয়ে দেড় গুণ দূরে যেতে চায়, একই দিকে। ১.৩ বিটা, বিশ্লেষকরা যে গোল সংখ্যাটা বেশি বলেন, একই কথা বলে একটু কম ঢালে: বাজারের অতিরিক্ত রিটার্ন দশ শতাংশ বাড়লে, এই শেয়ারের অতিরিক্ত রিটার্ন প্রায় তেরো শতাংশ বাড়বে বলে আশা করা যায়, আর বাজার পড়লে একই অনুপাতে পড়বে। এক-এর বেশি বিটা মানে বেশি রিটার্নের প্রতিশ্রুতি নয়। এর মানে বেশি ওঠানামা, ওঠায় যতটা তার চেয়ে কম নয় পড়ায়ও। এক-এর কম বিটা দুই দিকেই বাজারের চেয়ে কম নড়ে; শূন্যের কাছাকাছি বিটা বাজারের সঙ্গে প্রায় নড়েই না; ঋণাত্মক বিটা এতই বিরল যে বিশ্বাস করার আগে হিসাবটা আরেকবার দেখা উচিত।
তিন-ফ্যাক্টর সম্প্রসারণ, সংক্ষেপে
একটা ডান দিকের চলক একটা শুরু, পুরো গল্প নয়। ছোট কোম্পানিগুলো তাদের বাজার বিটা যা ব্যাখ্যা করে তার চেয়ে বেশি এগিয়ে থাকার ঝোঁক দেখিয়েছে বড় কোম্পানিগুলোর চেয়ে, আর সস্তা কোম্পানিগুলো, দামের বিপরীতে বইয়ের মূল্য মেপে, একইভাবে দামি কোম্পানিগুলোর চেয়ে এগিয়ে থাকার ঝোঁক দেখিয়েছে। ফামা আর ফ্রেঞ্চের তিন-ফ্যাক্টর মডেল দুটোই যোগ করে: একটা আকার ফ্যাক্টর, ছোট শেয়ারের রিটার্ন বিয়োগ বড়গুলোর, আর একটা মূল্য ফ্যাক্টর, সস্তা শেয়ারের রিটার্ন বিয়োগ দামিগুলোর, ইতিমধ্যে থাকা বাজার ফ্যাক্টরের পাশে। রিগ্রেশনটা একই ধারণা, শুধু একটার বদলে তিনটে ঢাল নিয়ে, ঠিক আগের মতোই চালানো, আর আলফা এখন সেই রিটার্ন যা তিনটে মিলেও ব্যাখ্যা করতে পারে না, যা একক-ফ্যাক্টর আলফার চেয়ে কঠিন পরীক্ষা।
ঢাকা স্টক এক্সচেঞ্জের সতর্কতা
এই বাজারের অনেক কাউন্টার প্রতি সেশনে লেনদেন হয় না। যেদিন লেনদেন নেই সেদিন খবর নেই তা নয়: এক্সচেঞ্জ শুধু আগের লেনদেন হওয়া দামটাই টেনে নিয়ে আসে, তাই সেদিনের রিটার্ন শূন্য হিসেবে লেখা হয়, আসল দাম নড়ুক বা না নড়ুক। মাসে এমন কয়েকটা দিন থাকা শেয়ার কাগজে-কলমে বাজারের সঙ্গে যতটা যুক্ত মনে হয়, তার চেয়ে কম যুক্ত দেখায়, কারণ বাজারের নড়াচড়ায় তার আসল প্রতিক্রিয়ার অর্ধেকটাই সেদিনের বদলে পরের সেশনের দামে বসে থাকে। এটা এলোমেলো গোলমাল নয়, একদিকে টানা একটা টান: এভাবে হিসাব করা বিটা সাধারণত শূন্যের দিকে হেলে যায়, ফলে কম লেনদেন হওয়া শেয়ারটাকে যতটা রক্ষণশীল দেখায় তার চেয়ে বেশি রক্ষণশীল দেখায়, আর নড়লে সেটা আসলে যতটা ঝুঁকিপূর্ণ তার চেয়ে কম ঝুঁকিপূর্ণ মনে হয়। এর একটা পথ হলো জানালাটা চওড়া করা: একদিনের বদলে এক সপ্তাহের রিটার্ন যোগ করা, যাতে পুরনো দামটা ধরে ফেলার সময় পায়, অথবা একই রিগ্রেশনে বাজারের অতিরিক্ত রিটার্নের একটা আগের আর একটা পরের মাস যোগ করে তিনটে ঢাল একসঙ্গে যোগ করা। কোনোটাই বিনামূল্যে নয়: চওড়া জানালা সময়ের নির্ভুলতা হারায়, আর আগে-পরে যোগ করার পদ্ধতির স্ট্যান্ডার্ড এরর স্থির রাখতে ওপরের সাধারণ রিগ্রেশনের চেয়ে বেশি মাসের তথ্য লাগে।
বিটা বিশ্বাস করার আগে
ইনডেক্স নয়, শেয়ারটার নিজের লেনদেন ক্যালেন্ডার দেখুন। বারো মাসের মধ্যে যে শেয়ার নয় সেশনে লেনদেন হয়েছে, সেই তথ্য থেকে তৈরি বিটা আসলে নয় মাসের বিটা, সারি সংখ্যা যা-ই বলুক না কেন।
কোথায় ভুল হয়
- অতিরিক্ত রিটার্নের বদলে আসল রিটার্ন নিয়ে রিগ্রেশন করা, তারপরও শুরুর মানকে আলফা বলা।
- R²-কে শেয়ারটার রায় ভেবে নেওয়া, তার নড়াচড়ার কতটা নিয়মিত তা না ভেবে।
- বিটা কোন সময়ে হিসাব হয়েছে তা না বলে বিটা উদ্ধৃত করা: পড়তি বাজার থেকে পাওয়া বিটা আর শান্ত বাজার থেকে পাওয়া বিটা একই শেয়ারের জন্য আলাদা হতে পারে।
- প্রায় লেনদেনই না হওয়া শেয়ারের বিটা কোনো সংশোধন বা সতর্কতা ছাড়াই বিশ্বাস করা।
- কত সময় ধরে, আর কী স্ট্যান্ডার্ড এরর সহ, তা না বলে আলফাকে দক্ষতা বলে চালানো।
যাচাই তালিকা
- দুই কলামই অতিরিক্ত রিটার্ন, ঝুঁকিমুক্ত হার আগেই বাদ দেওয়া।
- বিটা কোন সময়ে হিসাব হয়েছে তা বলা আছে।
- R² লেখা হয়েছে নড়াচড়ার কতটা ব্যাখ্যা হয় তা হিসেবে, নম্বর হিসেবে নয়।
- বিটা বিশ্বাস করার আগে কম লেনদেনের বিষয়টা দেখা হয়েছে।
- বাজারের বাইরে আরেকটা ফ্যাক্টর যোগ হলে তার নাম আর নিজের ঢাল লেখা আছে।
ল্যাব একক-ফ্যাক্টর CAPM সহ ফ্যাক্টর রিগ্রেশন চালায় পদ্ধতির তালিকা থেকে, আর নিজে থেকেই আলফা, বিটা আর R² APA টেবিলে লিখে দেয়; এর market বোতাম একটা টিকারের দৈনিক তথ্য এনে দেয়, তাই বারো মাসের দাম হাতে না লিখেই অতিরিক্ত রিটার্নে বদলে যায়, আর কর্মশালার Returns যন্ত্র দামের একটা ধারাকে দৈনিক বা মাসিক রিটার্নে বদলায়, যা ফ্যাক্টর রিগ্রেশন চালানোর আগে লাগবেই।