The study of the collection, organization, analysis, and interpretation of data. Questions may deal with descriptive statistics, probability distributions, random variables, sampling, regression, density estimation, filtering, inference, estimation theory, or computational statistics.

learn more… | top users | synonyms

0
votes
1answer
25 views

Calculating unweighted performance of stocks within a period

The well known calculation of unweighted index of stocks is just calculating an arithmetic average. And then, to calculate the performance of the index, I calculate the %change of the unweighted ...
0
votes
3answers
100 views

Is variance additive only under Log-returns?

Can't seem to figure this one out by thinking it through. Let's say that the simple return $R_t=P_{t+1}/P_t -1$ is assumed to be $R_t \sim iid N(0,\sigma^2)$. Thus, a two period return would be ...
0
votes
1answer
54 views

Weights Blowing up in PCA

I'm using daily settlement data to get yield levels for a couple of products. From this data I am doing PCA on a rolling collection of the yield levels. I have been using sci-kit learn's PCA function, ...
0
votes
1answer
52 views

FORECASTING Model AR(1) in an Autoregressive Form The Pi´s Parameters

Ive been implementing a little exercise to obtain the first 2 forecasting points of an AR(1) process. And i want to have the forecasting ponts using the three forms: Im folowing this pdf ...
1
vote
1answer
31 views

market change, correlation and estimation bias

I hear many quants sating that markets change very slowly. This "fact" is even presented as a justification of statistical arbitrage, for example, by affirming that correlations remain roughly the ...
0
votes
2answers
75 views

Spot price and volatility has a correlation of -1, why?

A stock option trader taught me yesterday that the correlation between the spot price of asset X and the variance of asset X is approximately -1. Can anyone give me a explanation why this is true?
2
votes
1answer
82 views

Fit linear model to higher moments of CAPM

How can one fit a linear model to the higher moments of CAPM in R? Fitting a linear model to the second moment (classical CAPM) would be ...
3
votes
1answer
104 views

Compare events effect on stock prices from different time periods

I’m going to test for the effect corporate credit rating announcements have on stock prices through different economic climates (good times vs. bad times). I want to research whether or not the stock ...
0
votes
0answers
35 views

How to construct a cointegrating vector using more than 2 price series in R?

I use now this code from hier Why does the following data fail my cointegration test? with slightly modification of possibility to load something directly from Dropbox file storage . ...
8
votes
2answers
369 views

GARCH model, expectation of volatility?

Consider a time series $\{r_t\}$ following a standard GARCH(1,1) model, i.e., $$ r_t = \sigma_t \epsilon_t,$$ where $\epsilon_t \sim N(0,1)$ and are i.i.d, and $$\sigma_t^2 = \omega + \alpha_1 ...
1
vote
0answers
12 views

How do I calculate what % of price hits R1 before pivot

I am trying to calculate what % of times the price touches R1 before the pivot level. I have the data for the last 10 years and know how often it touches the R1 one and pivot point but I don't know ...
0
votes
0answers
57 views

Can you tell me what this RBloomberg formula means?

I've been asked to re-create a spreadsheet that used RBloomberg using a different data source. But I'm having trouble figuring out exactly what one of the spreadsheet's formulas does. Can anyone tell ...
1
vote
0answers
37 views

ISM PMI data - sector trend through ranking and seasonal decomposition

I have monthly data for each of the 18 sectors in the ISM PMI. Each datapoint shows the trend of a sector: growing, contracting or neutral. It also tells the strength of that trend with a number: ...
2
votes
1answer
35 views

What is the borne function mentioned in this paper?

On page 16, first paragraph of this paper, the authors introduce a function called "borne", which divides the normal distribution into n ranges of equal size, without citation. The definition is clear ...
-1
votes
1answer
37 views

Calculating or finding info about the value of a market? for example Cloud Storage [closed]

I am assembling a pitch which will aim towards investors by the end of this year/beginning of next year, and I need to gather information such as how much the Cloud Storage market is worth and how ...
3
votes
1answer
173 views

How to calculate the JdK RS-Ratio

Anyone have a clue how to calculate the JdK RS-Ratio? Let's say I want to compare the Relative strength for these: EWA iShares MSCI Australia Index Fund EWC iShares MSCI Canada Index Fund EWD ...
1
vote
1answer
71 views

How to identify the orders p and q for ARIMA model using least squares method?

I would like to identify the orders p and q for ARIMA model using least squares method in Matlab. I have got also two data files (one with noise and one without) Previously I identified p and q for ...
23
votes
7answers
2k views

Is R being replaced by Python at quant desks?

I know the title sounds a little extreme but I wonder whether R is phased out by a lot of quant desks at sell side banks as well as hedge funds in favor of Python. I get the impression that with ...
3
votes
3answers
171 views

References on Statistical Arbitrages

Is there any basic materials (books, papers) to read on Statistical Arbitrage? I certainly understand much of the useful information is in the industry. I just want to get some understanding on the ...
0
votes
0answers
17 views

Value of sequential mutually-exclusive options (A variant on the Secretary Problem)

How much should you offer a potential hire in a signing bonus? Imagine you are interviewing a list of candidates for a particular job. Each candidate has a "lifetime value", and probability of ...
2
votes
1answer
129 views

rollapply with Arima model: testing for stability of coefficients

I am trying to fit an arima model on a rolling window using rollapply.My aim is to plot a graph of the evolution of the coefficient, plot the error and the standard deviation. well i encountered the ...
0
votes
0answers
46 views

Interpreting Johansen co integration test

I am a little new to econometrics. Please pardon me for this silly question. I was running a Johansen cointegration test on two time series using the econometrics toolbox provided by James LeSage for ...
4
votes
1answer
189 views

Covariance structure of call option surface

Assume the observed call option prices $C(K_i,T_i)$ for $i = 1,\dots,N$ are disturbed by some unknown measurement noise $\epsilon$. What would an appropriate covariance structure be for $\epsilon$? ...
0
votes
0answers
85 views

Create Markets Bubble Indicator

I am trying to replicate a Bubble Indicator described here. The indicator is strictly based on calculating the regularity of price behavior to determine herding in multiple time frames. I tried the ...
2
votes
1answer
95 views

How to account for correlation between strategies when they are added linearly?

There are n strategies which are going to be combined linearly. Using a pre-exisiting model I get a set of n weights which will be used to combine the strategies. But the model does not take ...
1
vote
1answer
265 views

using garch to forecast volatility but getting low persistence model

I am using a GARCH(1, 1) model to try model volatility for a certain stock. I have a GARCH function in matlab that returns the three parameters, omega, alpha & beta. I then use this parameters ...
3
votes
1answer
105 views

Fitting transition matrices in R by solving for coefficient

I'm using various matrices to impute a fitted transition matrix for credit ratings by solving for a variable [S]. Essentially the idea is to determine a base matrix and stress matrix to compare to a ...
1
vote
1answer
112 views

What is an appropriate algorithm to use for tax loss harvesting?

I've been reading into how Betterment and Wealthfront have architected their tax loss harvesting algorithms, but they stop short of providing any real examples. Essentially, they both reduce to: ...
2
votes
3answers
237 views

Dou you have an example of implementing Engle-Granger 2-step cointegration?

Does anyone know where to find an example of implementing Engle-Granger 2-step cointegration? Python's ideal, but any language will do. I've skimmed and read many articles, but understand little ...
2
votes
0answers
26 views

What methods - inspired by Haavelmo’s Structural Econometrics - can show that a partial equilibrium model is unreliable? [closed]

According to Spanos 2014 Revisiting Haavelmo's Structural econometrics: Bridging the gap between theory and data Dynamic Stochastic General Equilibrium models are statistically inadequate, in such an ...
0
votes
0answers
32 views

Standardized Abnormal Returns

I have a question. In an event study, I have found a standardized cumulative abnormal return Z test formula. It is attached. I couldn't find any sources to prove it. Do you know any articles about ...
2
votes
1answer
84 views

Law of large numbers necessary for APT derivation?

The question refers to the well-known Ross (1976) paper with the derivation of the Asset Pricing Theory. In the APT, the return of asset $i$ is driven by a linear factor model: $$ R_i = \alpha_i + ...
3
votes
1answer
192 views

Bayesian or Frequentist in Finance?

I'm currently an undergrad at a Canadian university and our finance courses has been brought up through the frequentist approach (ols, hypothesis testing, sampling theory). Only recently, through ...
-1
votes
1answer
75 views

Probability distribution and Stock Price Movement [closed]

How can we use normal distribution for finding the probability of a stock price offer where current price offer depends upon the last price offer. The price offer on some day can go 10% above (at the ...
1
vote
1answer
105 views

To lump or not to lump

Suppose I have a very simple asset whose price takes only three possible values: $X_t\in \{-1,0,1\}$. I also got some discrete time series $X = (X_t)_{t\geq 0}$ and I would like to come up with a ...
0
votes
0answers
27 views

How to calculate the standard deviation of a 'deviation from a moving average'?

Say I have a vector of daily price changes for an asset and calculate the standard deviation of returns in the usual way. Let's call this result A. Now assume that for the same asset I also have a ...
0
votes
0answers
98 views

Interpretation of Cointegration results, pValues and t-Stat

This is a follow up to: Cointegration results interpretation validation? I ran another Engel Granger Test on a pair, The results I get: ...
6
votes
4answers
322 views

What are the canonical books for statistics applied to finance?

I have some decent knowledge of probability, stochastic processes and option theory, however I do not have a proper background in statistics. Now I am working quite a lot with data, and trying ...
4
votes
1answer
169 views

Kolmogorov-Smirnov test for Generalized Pareto Distribution

I've fitted my data to a generalized pareto distribution as to model the returns in the tails more accurately. The interior is fitted with kernel distributions. I would like to now test whether the ...
5
votes
3answers
298 views

How is stock data objectively different to this random walk?

I have a random walk that is generated as so using python, numpy, and matplotlib ...
1
vote
0answers
197 views

What machine learning method is more suitable for prediction of financial time series? [closed]

I have some time series from a stock exchange market. For each of them, I want to answer the question that whether the price will grow at least p percent in the d coming days or NOT(and during these ...
2
votes
0answers
65 views

seasonality and generalized additive model

I am reading a report which talks about seasonality. There is a chart showing the average returns for each month of the year. In the chart it appears the last 3 months of the year tend to be negative. ...
1
vote
1answer
229 views

detecting and measuring lead lag effect

Given two time series data. I remember there is one statistics that tells you one is the leading factor while the other is the lagging factor. However, i do not remember the exact details. correlation ...
1
vote
2answers
194 views

How to combine Gaussian marginals with Gaussian copula to obtain multivariate normals?

in the book "Numerical Methods and Optimization in Finance" I red the following: "Combining the Gaussian copula with Gaussian marginal gives a fancy way of expressing multivariate normals. However, ...
2
votes
2answers
206 views

Predict Futures Prices based on weather + agricultural data

I’m working in the area of Data Mining and have come up with the following idea for my Masters project.The text may not be the best structured but it’s a working draft to give you a quick idea. ...
2
votes
2answers
69 views

Is this a reasonable approach to determine the relative importance of valuation factors?

I am trying to come up with a measure of relative importance of a number of valuation factors. I am wondering whether correlation coefficients can't be used for determining this. More on the issue: ...
2
votes
0answers
100 views

State Space models with Short Time Series

My problem is that I have a state space model that I estimate using the Berndt–Hall–Hall–Hausman (BHHH) algorithm. The state space model is relatively simple in that the hidden part follows a pure ...
4
votes
1answer
201 views

factor models and using cross section regression

I have been doing some reading on factor models. In the literature it mentions that when creating a portfolio that maximises particular attributes it may lead to unwanted bias to other factors. I ...
1
vote
0answers
47 views

How to value a portfolio of non-mature consumer loans?

I'm looking for the best way to value a portfolio of consumer loans that have NOT reached maturity and for which I do observe the payment/default history to date? I'm working with a large database of ...
2
votes
1answer
223 views

Stress Testing Methods

I'm working on the following task: Given quarterly data: a time series representing the 1-year realized (10 years of data) rates of default on a portfolio of mortgages a slew of ...