CFA Vol-1: Quantitative Methods

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/92

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 11:54 AM on 7/6/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

93 Terms

1
New cards

Coefficient b0 is the

“intercept,” representing the expected

value of Y if all independent variables are zero

2
New cards

There are five main assumptions underlying multiple regression models

(1) linearity,

(2) homoskedasticity, (The variance of the regression residuals is the same for all observations. /expected value of the eror term is equal to zero, we must evaluate whether the variance

of the regression residuals is constant for all observations; to compare scatterplot of the regression residuals versus the predicted values)

(3) independence of errors,

(4) normality (is about the distribution/shape of residuals overal)

(5) independence of independent variables (to compare scatterplot comparing the values of two of the independent variables)

5a. Independent variables are not random.

5b. There is no exact linear relation between two or more of the independent

variables or combinations of the independent variables

3
New cards

If, however, the dependent variable is discrete—for example, an indicator variable such as whether a company is a takeover target or not a takeover target—then, as we shall see, the model may be estimated as

A logistic regression.

4
New cards

P value <5% =>>

Variable is significant at the 5% significance level

5
New cards

Coefficient determination (R^2, R-squared): (definition)

is a measure of the goodness of fit of an estimated regression to the data. (How much variability are explained in this regression model)

6
New cards

Coefficient determination (R^2, R-squared): (formula)

knowt flashcard image
7
New cards

Problems with using R2 in multiple regression include the following:

i) The R2 cannot provide information on whether the coefficients are statistically significant.

ii) The R2 cannot provide information on whether there are biases in the estimated coefficients and predictions.

iii) The R2 cannot tell whether the model fit is good. A good model may have a low R2, as in many asset-pricing models, and a bad model may have a high R2 due to overfitting and biases in the model.

8
New cards

Overfitting of a regression model is a situation in which the model is

too complex, meaning there may be too many independent variables relative to the number of observations in the sample.

9
New cards

adjusted R2 (formula)

knowt flashcard image
10
New cards

Linear F statistic formula: (standart)

knowt flashcard image
11
New cards

We test the role of the jointly omitted variables using the following F-distributed test statistic (formula)

(where q is the number of restrictions, meaning the number of variables omitted in the restricted model compared to the unrestricted model)

<p>(where q is the number of restrictions, meaning the number of variables omitted in the restricted model compared to the unrestricted model)</p>
12
New cards

Adjusted R2 (better higher or lower)

Higher

13
New cards

AIC (Akaike`s information criterion and BIC (Schwarz`s Bayesian infirmation criterion (better higher or lower)

Lower

14
New cards

AIC (Akaike`s information criterion

Indicates for predictive models

15
New cards

BIC

Goodnes if fit if desired

16
New cards

Omiited variable (as failure)

Onemli seviyede etki edebilecek bir parametreyi modele dahil etmemem sonucu diger parametrenin oneminin gereksiz artmasi (biased olmasi) ve onemli parametrenin missing olmasi:

17
New cards

The Breusch–Pagan (BP) (definition)

test is widely used in financial analysis to diagnose potential

conditional heteroskedasticity and is best understood via the three-step process.

Eğer P-değeri < 0.05 ise → %5 anlamlılık düzeyinde heteroskedastisite vardır.

Eğer P-değeri ≥ 0.05 ise → homoskedastisite varsayımı sağlanmıştır.

18
New cards

The Breusch–Pagan (BP) test (formula)

nR^2

19
New cards

Serial correlation

Zaman serisi regresyonlarında, hata terimlerinin birbirine bağımlı olması durumudur. Yani bugünkü hata, dünkü hatayla bağlantılıysa serial correlation var demektir.

20
New cards

Testing for Serial Correlation (two tests)

Durbin Watson Test and Breusch-Godfrey test

21
New cards

The most common “fix” for a regression with significant serial correlation is to...

adjust the coefficient standard errors to account for the serial correlation.

22
New cards

Breusch-Godfrey test

is more robust because it can detect autocorrelation up to a pre-designated order p. If the BG value exceed the critical value than there is serial correlation.

23
New cards

Durbin Watson Test:

Limiting because it applies only to testing for the first-order serial correlation. (Eğer hata terimleri daha yüksek dereceden gecikmelerle bağlıysa (örneğin utu_tut​ ile ut−2u_{t-2}ut−2​ veya ut−3u_{t-3}ut−3​) → DW testi bunu yakalayamaz.)

24
New cards

VIOLATIONS OF REGRESSION ASSUMPTIONS: MULTICOLLINEARITY

Bağımsız değişkenlerin (X’lerin) birbirleriyle aşırı derecede ilişkili (korrelasyonlu) olmasıdır.

25
New cards

Variance inflation factor (VIF) to quantify multicollinearity

Issues (formula)

VIFj > 5 warrants further investigation of the given independent variable.

VIFj >10 indicates serious multicollinearity requiring correction.

<p>VIFj &gt; 5 warrants further investigation of the given independent variable.</p><p>VIFj &gt;10 indicates serious multicollinearity requiring correction.</p>
26
New cards

Possible solutions to multicollinearity include

excluding one or more of the regression variables,

using a different proxy for one of the variables,

and

increasing the sample size.

27
New cards

A high-leverage point

A data point having an extreme value of an independent

Variable (X valuesinin Y ye gore fazla olmasi)

<p>A data point having an extreme value of an independent</p><p>Variable (X valuesinin Y ye gore fazla olmasi)</p>
28
New cards

An outlier

A data point having an extreme value of the dependent variable

<p>A data point having an extreme value of the dependent variable</p>
29
New cards

A high-leverage point can be identified using a measure called

Leverage (hii). Leverage is a value between 0 and 1, and the higher the leverage, the more distant the observation’s value is from the variable’s mean

<p>Leverage (hii). Leverage is a value between 0 and 1, and the higher the leverage, the more distant the observation’s value is from the variable’s mean</p>
30
New cards

As for identifying outliers, observations with unusual dependent variable values, the preferred method is to use

Studentized residuals.

31
New cards

Intercept dummy (D)

yi=b0+d0D+b1Xi+ei

<p>yi=b0+d0D+b1Xi+ei</p>
32
New cards

A Slope dummy

yi= b0+b1Xi+d1DiXi+ei

<p>yi= b0+b1Xi+d1DiXi+ei</p>
33
New cards

Non-linear transformation to the probability of bankruptcy

For example, if the probability of a company going bankrupt is 0.75 and P/(1 − P)

is 0.75/(1 − 0.75) = 3, the odds of bankruptcy are 3 to 1.

<p>For example, if the probability of a company going bankrupt is 0.75 and P/(1 − P)</p><p>is 0.75/(1 − 0.75) = 3, the odds of bankruptcy are 3 to 1.</p>
34
New cards

Logistic regression (logit)

Uses the logistic transformation of the event probability

(P) into the log odds, as the dependent variable

<p>Uses the logistic transformation of the event probability</p><p>(P) into the log odds, as the dependent variable</p>
35
New cards

The likelihood ratio (LR) test

is a method to assess the fit of logistic regression models and is based on the log-likelihood metric that describes the fit to the data. (Log likelihood da sifira yakin olan daha iyi fit demek.)

<p>is a method to assess the fit of logistic regression models and is based on the log-likelihood metric that describes the fit to the data. (Log likelihood da sifira yakin olan daha iyi fit demek.)</p>
36
New cards

DW ≈ 2 ise ,

DW < 2 ise,

DW > 2 ise

DW ≈ 2 ise her şey yolunda demek. DW < 2 ise pozitif serisel korelasyon var. DW > 2 ise negatif serisel korelasyon var. (Douglas Wilson)

37
New cards

Pozitif serisel korelasyon

Bu şu demek: model geçmişte yaptığı hataları “tekrar ediyor”, dolayısıyla daha iyi model kurulabilir.

Çözüm → AR (veya ARIMA gibi) modeller

38
New cards

AR modeli..

..zaman serisinin bugünkü değerini kendi geçmiş değerlerine bakarak tahmin etmeye çalışır.

Bir zaman serisinin covariance-stationary (kovaryans-durağan) olması, zamanla değişmeyen istatistiksel ozelliklere sahip olması demektir. Bu tür seriler, zaman serisi analizinde (özellikle AR, MA, ARMA modellerinde) temel varsayım olarak kabul edilir.

<p>..zaman serisinin bugünkü değerini kendi geçmiş değerlerine bakarak tahmin etmeye çalışır.</p><p>Bir zaman serisinin covariance-stationary (kovaryans-durağan) olması, zamanla değişmeyen istatistiksel ozelliklere sahip olması demektir. Bu tür seriler, zaman serisi analizinde (özellikle AR, MA, ARMA modellerinde) temel varsayım olarak kabul edilir.</p>
39
New cards

Covariance-stationary üc kosulu

i) Sabit Ortalama (Constant Mean) Serinin beklenen değeri zamanla değişmez. Örnek: Ortalama enflasyon %5 civarında sabit kalıyorsa → uygun.;

ii) Sabit Varyans (Constant Variance) Eğer veride dalgalanmalar zamanla büyüyorsa (örneğin kriz dönemlerinde patlıyorsa) → bu koşul sağlanmaz.

iii) Sabit Kovaryans / Otokovaryans (Constant Autocovariance) Yani serinin herhangi bir geçmiş değerle olan ilişkisi zamanın kendisine değil, sadece ne kadar geride olduğuna bağlıdır.

40
New cards

Bir zaman serisi mean-reverting ise

Zamanla ortalama değerine geri dönme eğilimi gösterir.

<p>Zamanla ortalama değerine geri dönme eğilimi gösterir.</p>
41
New cards

We compare the out-of-sample forecasting performance of forecasting

models by comparing their

Root mean squared error (RMSE),

The model with the smallest RMSE is judged the

most accurate.

42
New cards

INSTABILITY OF REGRESSION COEFFICIENTS

Regresyon katsayılarının zamanla değişmesi veya farklı dönemlerde tutarsız sonuçlar vermesi durumuna denir.

Yani model bugün çalışıyor, ama 6 ay sonra aynı veri tipiyle aynı sonucu vermiyor. Katsayılar sabit değil → kararsız, model güvensiz hale gelir.

Ne zaman ortaya cikar:

i) Zaman serisi duragan degilse (ortalama varyans, covaryans zamanla degisiyor,

ii) structural change (pandemi, regülasyon degisikligi, sirket birlesmesi,

iii) model spesifikasyon hatalari

43
New cards

Random Walk

Bir zaman serisinin tamamen rastgele ve sistemsiz bir şekilde hareket ettiği durumdur.

Her yeni değer, bir önceki değerin üstüne bir rastgele hata eklenerek oluşur.

(previous period plus an unpredictable random error)

<p>Bir zaman serisinin tamamen rastgele ve sistemsiz bir şekilde hareket ettiği durumdur.</p><p>Her yeni değer, bir önceki değerin üstüne bir rastgele hata eklenerek oluşur.</p><p>(previous period plus an unpredictable random error)</p>
44
New cards

Bir zaman serisinin durağan (stationary) olup olmadığını anlamak için

unit root testi yapılır.

Eğer seride unit root varsa, bu seri non-stationary dir. Yani ortalaması, varyansı zamanla değişir → tahmin yapmak tehlikeli hale gelir.

By definition, all random walks, with or without a drift term, have unit roots.

45
New cards

Dickey and Fuller (1979) developed a regression-based unit root test

knowt flashcard image
46
New cards

AR modeli (Autoregressive - Otoregresif)

bir degiskenin bugunkü degeri, kendi gecmis degerine dayanarak tahmin eder.

Yani: bugün yaşananlar, dünkü beklenmeyen şeylerin etkisiyle oluşmuş olabilir.

<p>bir degiskenin bugunkü degeri, kendi gecmis degerine dayanarak tahmin eder.</p><p>Yani: bugün yaşananlar, dünkü beklenmeyen şeylerin etkisiyle oluşmuş olabilir.</p>
47
New cards

MA (Moving average)

modeli bugunkü deger gecmis hata terimlerine göre modellenir.

<p>modeli bugunkü deger gecmis hata terimlerine göre modellenir.</p>
48
New cards

ARMA Modeli (AR + MA)

hem gecmis degerler hem de gecmis soklar bugunu etkiler.

<p>hem gecmis degerler hem de gecmis soklar bugunu etkiler.</p>
49
New cards

ARCH MODELLERİ (Autoregressive Conditional Heteroskedasticity)

hata terimlerinin zamanla degistigi modellerdir; yani volatilitenin de bir modeli vardir.

<p>hata terimlerinin zamanla degistigi modellerdir; yani volatilitenin de bir modeli vardir.</p>
50
New cards

GARCH MODELLERİ

Hem geçmiş volatiliteyi hem de geçmiş hataları kullanır. ARCH modelinin gelişmiş versiyonudur.

<p>Hem geçmiş volatiliteyi hem de geçmiş hataları kullanır. ARCH modelinin gelişmiş versiyonudur.</p>
51
New cards

The standard error of the autocorrelations (formula)

knowt flashcard image
52
New cards

Machine learning is broadly divided into three distinct classes of techniques

Supervised learning

Unsupervised learning

Deep learning

53
New cards

Bias error (By Machine learnin)

Algorithms with erroneous assumptions produce high bias with poor approximation, causing underfitting and high in-sample error.

54
New cards

Variance error (By Machine learnin)

or how much the model’s results change in response to new data from validation and test samples.

Unstable models pick up noise and produce high variance, causing overfitting and high out-of-sample error.

55
New cards

Two common methods are used to reduce overfitting

(1) preventing the algorithm from getting too complex during selection and training, which requires estimating an overfitting penalty,

(2) proper data sampling achieved by using cross-validation, a technique for estimating out-of-sample error directly by determining the error in validation samples.

56
New cards

k-fold cross-validation

Veri seti k eşit parçaya ayrılır. Model k kere eğitilir/test edilir, her seferinde farklı bir parça test verisi olur. Sonuçlar ortalanır.

57
New cards

SUPPORT VECTOR MACHINE (SVM)

is a linear classifier that determines the hyperplane that optimally separates the observations into two sets of data points.

<p>is a linear classifier that determines the hyperplane that optimally separates the observations into two sets of data points.</p>
58
New cards

K-nearest neighbor (KNN)

is a supervised learning technique used most often for classification and sometimes for regression.

The idea is to classify a new observation by finding similarities (“nearness”) between this new observation and the existing data.

59
New cards

Classification and regression tree (CART)

is another common supervised machine learning technique that can be applied to predict either a categorical target variable, producing a classification tree, or a continuous target variable, producing a regression tree.

CART is commonly applied to binary classification or regression.

60
New cards

Ensemble learning can be divided into two main categories:

(1) aggregation of heterogeneous learners (i.e., different types of algorithms combined with a voting classifier) or

(2) aggregation of homogeneous learners (i.e., a combination of the same algorithm using different training data that are based, for example, on a bootstrap aggregating, or bagging, technique, as discussed later).

61
New cards

Bootstrap aggregating (or bagging)

is a technique whereby the original training dataset is used to generate n new training datasets or bags of data.

Each new bag of data is generated by random sampling with replacement from the initial training set. The algorithm can now be trained on n independent datasets that will generate n new models.

62
New cards

RANDOM FOREST NEDİR

Elindeki veriyi alır, rastgele küçük parçalar oluşturur. Her parça için bir karar ağacı eğitir. Yeni veri geldiğinde: Her ağaç ayrı ayrı tahmin yapar. En çok çıkan tahmin → sonuç olur (oy çokluğu).

63
New cards

Principal components analysis (PCA)

is used to summarize or transform highly correlated features of data into a few main, uncorrelated composite variables.

Amacı, yüksek derecede ilişkili (correlated) özelliklere sahip bir veri setini, daha az sayıda, birbirleriyle ilişkisiz (uncorrelated) bileşik değişkenlerle özetlemek veya dönüştürmektir.

64
New cards

Özvektörler (Eigenvectors):

Orijinal özelliklerin doğrusal kombinasyonları olan yeni, karşılıklı olarak ilişkisiz bileşik değişkenleri tanımlar. Her özvektör bir yönü temsil eder.

65
New cards

Özdeğerler (Eigenvalues):

Her özvektörle ilişkilidir ve başlangıç verisindeki toplam varyasyonun ne kadarını açıkladığını gösterir.

<p>Her özvektörle ilişkilidir ve başlangıç verisindeki toplam varyasyonun ne kadarını açıkladığını gösterir.</p>
66
New cards

The main drawback of PCA

is that since the principal components are combinations of the dataset’s initial features, they typically cannot be easily labeled or directly interpreted by the analyst. (BLACK BOX)

67
New cards

K-MEANS CLUSTERING

küme içi uzaklıkları minimize etmeyi ve kümeler arası uzaklıkları maksimize etmeyi hedefleyerek tekrarlayan bir süreç izler.

68
New cards

Agglomerative clustering (or bottom-up hierarchical clustering)

begins with each observation being treated as its own cluster. Then, the algorithm finds the two closest clusters, defined by some measure of distance (similarity), and combines them into one new larger cluster.

69
New cards

Divisive clustering (or top-down hierarchical clustering)

starts with all the observations belonging to a single cluster. The observations are then divided into two clusters based on some measure of distance (similarity).

70
New cards

Neural networks have three types of layers:

an input layer (here with a node for each of the four features)

hidden layers, where learning occurs in training and inputs are processed on trained nets

an output layer (here consisting of a single node for the target variable y), which passes information outside the network.

At least 2, but often more than 20 hidden layers!!

<p>an input layer (here with a node for each of the four features)</p><p>hidden layers, where learning occurs in training and inputs are processed on trained nets</p><p>an output layer (here consisting of a single node for the target variable y), which passes information outside the network.</p><p>At least 2, but often more than 20 hidden layers!!</p>
71
New cards

The Reinforcement learning (RL) framework

involves an agent that is designed to perform actions that will maximize its rewards over time, taking into consideration the constraints of its environment.

72
New cards

Big data characteristics commonly referred to as the 3Vs

volume (quantity of the data),

variety (the array of available data sources),

and velocity (the speed at which data are created)

73
New cards

ML Model Building Steps

i) Conceptualization of the modeling task: determining what the output of the model should be

ii) Data collection

iii) Data preparation and wrangling

iv) Data exploration

v) Model training

74
New cards

Data cleansing is

the process of examining, identifying, and mitigating errors in raw data.

75
New cards

Data Wrangling (Preprocessing)

is performing transformations and critical processing steps on the cleansed data to make the data ready for ML model training.

76
New cards

Scaling icin iki ana yöntemden Normalisation (Formula)

knowt flashcard image
77
New cards

Scaling icin iki ana yöntemden Standartization (Formula)

knowt flashcard image
78
New cards

Stemming

is the process of converting inflected forms of a word into its base word (known as stem).

For example, the stem of the words “analyzed” and “analyzing” is “analyz.”

Kelimeleri köküne indirgerken gramer veya anlam bilgisi dikkate alınmaz. Sonuçlar anlamsız olabilir ama benzer kelimeleri gruplayarak veri boyutunu azaltır

79
New cards

Lemmatization

is the process of converting inflected forms of a word into its morphological root (known as lemma).

For example, the lemma of the words “analyzed” and “analyzing” is “analyze.”

Daha doğru ama daha yavaş bir işlemdir.

80
New cards

After the cleansed text is normalized, a XX is created.

a bag-of-words (BOW)

<p>a bag-of-words (BOW)</p>
81
New cards

The last step of text preprocessing is using the final BOW after normalizing to build a XX.

Document term matrix (DTM)

<p>Document term matrix (DTM)</p>
82
New cards

Data Exploration Stage

knowt flashcard image
83
New cards

N-grams

kelimeleri ardışık gruplar halinde ele alıp bağlamı yakalamamıza yarar.

84
New cards

Parts of speech (POS)

Tags each word with its grammatical role (noun, verb, adjective, proper noun, etc.) using language rules and dictionaries. (NER gibi ama dilbilgisel yonden analiz eder)

85
New cards

Bag-of-Words (BOW)

Metindeki her kelimeyi ayrı bir özellik (token) olarak sayar.

Kelime sırasını dikkate almaz, sadece hangi kelimelerin ve kaç kere geçtiğini önemser.

86
New cards

Hassasiyet (Precision - P) (formul)

TP= True positive FP= False positives (Type 1 Error)

Ne Zaman Kullanılır: Yanlış pozitiflerin maliyetinin yüksek olduğu durumlarda (yani, bir şeyi pozitif olarak yanlış etiketlemenin çok maliyetli olduğu durumlarda) hassasiyet önemlidir. Örneğin, pahalı bir ürünün kalite kontrolünde sağlamken hatalı olarak hurdaya çıkarılması gibi.

<p>TP= True positive FP= False positives (Type 1 Error) </p><p>Ne Zaman Kullanılır: Yanlış pozitiflerin maliyetinin yüksek olduğu durumlarda (yani, bir şeyi pozitif olarak yanlış etiketlemenin çok maliyetli olduğu durumlarda) hassasiyet önemlidir. Örneğin, pahalı bir ürünün kalite kontrolünde sağlamken hatalı olarak hurdaya çıkarılması gibi.</p>
87
New cards

Duyarlılık/Geri Çağırma (Recall / Sensitivity - R) (formul)

TP= True positive FN= False positives (Type 2 Error)

◦ Ne Zaman Kullanılır: Yanlış negatiflerin maliyetinin yüksek olduğu durumlarda (yani, bir şeyi negatif olarak yanlış etiketlemenin çok maliyetli olduğu durumlarda) duyarlılık önemlidir. Örneğin, kusurlu bir pahalı ürünün kalite kontrolünden geçip müşteriye gönderilmesi gibi.

<p>TP= True positive FN= False positives (Type 2 Error) </p><p>◦ Ne Zaman Kullanılır: Yanlış negatiflerin maliyetinin yüksek olduğu durumlarda (yani, bir şeyi negatif olarak yanlış etiketlemenin çok maliyetli olduğu durumlarda) duyarlılık önemlidir. Örneğin, kusurlu bir pahalı ürünün kalite kontrolünden geçip müşteriye gönderilmesi gibi.</p>
88
New cards

Doğruluk (Accuracy): (formul)

Doğru tahmin edilen sınıf sayısının (TP + TN), toplam tahmin sayısına (TP + FP + TN + FN) oranıdır.

<p>Doğru tahmin edilen sınıf sayısının (TP + TN), toplam tahmin sayısına (TP + FP + TN + FN) oranıdır.</p>
89
New cards

F1 Skoru (F1 Score) (formul)

Hassasiyet (Precision) ve Duyarlılık (Recall) değerlerinin harmonik ortalamasıdır.

<p>Hassasiyet (Precision) ve Duyarlılık (Recall) değerlerinin harmonik ortalamasıdır.</p>
90
New cards

The more convex the ROC curve and the higher the AUC,

the better the model performance.

91
New cards

Öğrenmeye devam edilenler (5)

Bu terimleri öğrenmeye başladınız. Devam et!

92
New cards

Positive serial correlation in the residuals of a regression model typically results in

Type 1 errors

93
New cards

The number of dummy variables needed to distinguish among 4 different categories of companies is:

We need n − 1 dummy variables. So, if we use dummy variables to denote companies belonging to one of four categories, we use three dummies.

Here n = 4, so the number of dummy variables is n – 1 = 3.