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
0answers
19 views

Calculating Weighted Average Cost of Capital (WACC) [on hold]

Trying to answer a question from an textbook but struggling a bit to use the formula. I am trying to calculate the WACC on this particular set of data: So I have that: Re = 20.69 Rd = 1842 ...
1
vote
1answer
20 views

Historical volatility from non-uniform samples

The way I compute historical volatility is that I take two parameters $dt$ and $T$, get a list of stock prices with the step of $dt$ over the window $T$ (so $T/dt+1$ samples in total), compute $T/dt$ ...
0
votes
0answers
10 views

Obtaining non-central moments from the central moments

I have a question regarding moments of the Gaussian and t distributions. I am working in the GARCH framework with Gaussian/t distributed innovations. I need to know the forecasts of the first four ...
0
votes
1answer
79 views

Augmented Dickey-Fuller Questions

I've been searching in bibliography about this test applied to an AR(p) model. $$Q(L)(Y_{t})=c+\epsilon_{t}$$ Where L represent the Lag Operator and $Q=1-\phi_{1}x-.....-\phi_{p}x^{p}$ is the ...
0
votes
1answer
67 views

How to calculate confidence interval for option price?

I model option prices for European call using Monte Carlo method. What is the proper way to calculate the confidence interval? A. -> Calculate the payoffs (there will be number of zeros as some ...
0
votes
0answers
44 views

Probability of reversion for cointegrated variables

I ran a Johansen test to figure out the cointegrating relationship between two variables $x$ and $y$, forming the equation $z=ax+by$ using the eigenvectors. The values are computed using from time ...
-1
votes
1answer
22 views

How to calculate 5 years return & STD for ETF?

I want to calculate by-myself 5 year return & STD for SPY ETF. What I did: Downloaded to Excel from yahoo finance historical data for the ETF (daily Adj. Close) from ...
0
votes
0answers
33 views

Impulse response function interpretation

I would need a quick help with Impulse response function interpretation which I have done after Vector autoregression model in stata. I need to understand how to interpret IRF graph or table values ...
0
votes
2answers
63 views

High values of skewness and kurtosis of realized protfolio returns

I am investigating some asset allocation strategies and I am wondering about the results I obtain. I am working on monthly and weekly data of the same stock indices (SP500, FTSE 100 etc). And when I ...
3
votes
1answer
65 views

Monte Carlo Convergence

Let $\{X_i\}$ be an i.i.d. sample of $X$ with $E(X) = \mu$ and $Var(X) = \sigma^2$. We know a MC estimate converges to the true value almost surely by the SLLN. That is, $$ \bar{X}_n \to \mu, ...
1
vote
0answers
39 views

White’s Reality Check p-value calculation?

I'm testing whether technical trading rules can deliver superior returns in contrast to a benchmark, the risk free rate. As performance measurement, denoted by $\varphi$, I use the annualized Sharpe ...
1
vote
0answers
50 views

state space for affine yield curve

i would like to reproduce in R the working paper " Affine free arbitrage class of Nelson Siegel term structure". The authors considering the equation of nelson siegel plus an adjustment term(C(t,T)) ...
1
vote
1answer
44 views

What is wrong in my non-linear estimation sample code?

I am trying to reproduce the code and plot you see here on pages 8,9 and 10 which was coded in MATLAB, but I'd like to convert it to R code. I believe I converted the MATLAB code below to R syntax ...
3
votes
0answers
44 views

Test for difference in security returns before and after financial regulation

I'm going to study the effect of corporate credit rating changes (Moody's) on stock prices before and after a specific financial regulation. So far i have used an event study where i have divided the ...
1
vote
1answer
30 views

Fitting (marginal/multivariate) distributions to financial return data

I have calculated the simple arithmetic return on a number of different financial securities and am fitting both a Student-T and Generalised Pareto Distribution. My question is can I just use the ...
1
vote
1answer
54 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 ...
1
vote
3answers
115 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
161 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, ...
2
votes
1answer
89 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 ...
4
votes
1answer
59 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
87 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?
4
votes
1answer
101 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
138 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 ...
2
votes
0answers
49 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 . ...
10
votes
2answers
398 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
14 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 ...
2
votes
0answers
89 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
67 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
37 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 ...
0
votes
1answer
43 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 ...
5
votes
1answer
540 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 ...
2
votes
1answer
137 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 ...
30
votes
7answers
4k 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
201 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
18 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 ...
3
votes
1answer
191 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
79 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 ...
5
votes
2answers
231 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$? ...
1
vote
0answers
91 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
106 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 ...
2
votes
1answer
385 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 ...
4
votes
1answer
133 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
154 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
412 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
27 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 ...
2
votes
1answer
95 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
262 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
124 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 ...
6
votes
4answers
478 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 ...