# Tagged Questions

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.

39 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 ...
69 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 ...
277 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, ...
16 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 ...
86 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: "...
93 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 ...
285 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 ...
59 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 ...
400 views

### Autoregressive distributed lag models ADL(p,q) howto in preferably matlab (stata/R/python/C# etc)

Could anyone provide me the details of how to determine the lag order of the distributed lags for an ADL(p,q) model in Matlab or another statistical package (and very much preferably in combination ...
75 views

### Sampling and/or asymptotic distribution of a function

Assume we have the following function: $$f(p) = \frac{1}{(1-p)d}\ln\left(\frac{1}{T}\sum_{t=1}^{T}\left[\frac{1+X_t}{1+Y_t} \right]^{1-p} \right)$$ where $d$ is a constant $T$ is a constant $X_t$ ...
269 views

### Simple EOD computations for tick data

As part of End-Of-Day calculations once a particular market/exchange has closed for all the tickers traded on that market one may typically compute the following properties: OHLC Bid/Ask Price (mean,...
266 views

### Profit estimation with a dice: 10 dollars for 6, -1 dollar for anything else

I recently found the following question: What is your profit estimate throwing a dice in the long run if you get 10 dollars for each time you hit 6 and lose 1 dollar for any other number? I tried to ...
169 views

### Estimate weekly, yearly quantities from finite samples

I'd like to estimate from a daily prices serie $P_t$ with $N$ observations a quantity such as the variance of the weekly returns. I will use $\ln\left(\frac{P_{T+5}}{P_T}\right)$ assuming 5 days in a ...
133 views

### Calculating company-level market capitalisations from share quantities and values

I want to calculate company-level market cap values for stock exchanges listed by Bloomberg. I gather this can be calculated as the product of share price and the total of shares in circulation. But ...
95 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?
221 views

### Book recommendation for time series analysis

I have been trying to wrap my head around Engel-Granger test and jcitest etc. I have failed thus far. If possible can someone guide me about which books to start with and possibly reach to ...
202 views

### Use of geometric mean for average return of several indices

Can anyone give any reference for using the geometric mean to average the returns from several indices? Note, this question is not about the usual use of geometric mean to obtain the average return ...
210 views

### Interpretation of PCs

I have computed PC1 and PC2 wts on future contracts derived from cumulative log differences. How can I use them to get back the theoretical price of each contract using those 2 pcs? Thanks in advance....
116 views

### GARCH model is better for index than stock

We have used a standard GARCH(1,1) model with t distributed innovations for daily data of S&P index and JPM stock. Question: is there any financial or statistical reason why the GARCH model ...
85 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 ...
28 views

### What are “df”, “t”, and “p” in these sharpe ratio related estimates?

I am looking at some sharpe ratio related estimates and have not seen Sharpe stats broken down this way before. I don't know what is meant by df, t, and p. Can someone explain that to me? Thank you!...
124 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 ...
29 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 ...
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 ...
106 views

### Analyst Forecasts for monthly unemployment rate

Are there any resources that tabulate past analyst forecasts for the monthly unemployment rate along with the dispersion of the forecasts
542 views

### main arbitrage & statistical arbitrage concepts

can we please summarise here some of the basic concepts, tools used in arbitrage and statistical arbitrage in real life? ARB: benefit from price difference on same asset ARB: difference between ...
96 views

### EM for conditional Gaussian model

Let $$X_1\sim N(\mu_{X_1},\sigma_{X_2}^2)$$ $$X_2\sim N(\mu_{X_2}, \sigma_{X_2}^2)$$ where $\mu_{X_2}=c+aX_1$. Also, I have data $D$ (with missing values on $X_1,X_2$). How can I update/estimate the ...
25 views

### Extreme value theory expected value of GPD

We're using extreme value theory to model tail risks on our portfolio. After we choose the threshold, we fit generalized Pareto distribution to our data over the threshold. The expected value of GPD ...
53 views

### Skewed Student t distribution MLE and Simulation

I have Financial LOB data and I feel that a skewed t distribution will fit best. I have a problem trying to find the parameters using MLE numerically since Matlabs built in function does not allow for ...
66 views

### Easy question (?) - how to measure if volatility for two samples is significantly different?

For my bachelor thesis I'm doing a research where at one point I want to measure if volatility for a certain sample of stocks in period A is significantly different from i) the same sample of stocks ...
73 views

### Problems calculating RSI

For the last few days I've been trying to calculate an RSI that matches a reliable source. Yahoo finance, E-trade, and TDA all give identical values, which I am unable to replicate. I have tried ...
27 views

### Binomial vs inverse binomial transform in obtaining moments

I am trying to obtain raw co-moment matrices from central co-moment matrices and I have found formulas for the transition from central to raw moments here . I have also found the opposite, that is ...
186 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 ...
47 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 ...
53 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 ...
264 views

### Calculating the Sum of Squared Deviations between two Normalized Price Series

How can I calculate the sum of square deviations between two normalized price series according to (Gatev et. co 2006)? My normalized price series of stocks $X$ and $Y$ consist of the cumulative total ...
I have the Total Return Index(RI) for several companies. I know that I can calculate the log retunrs with $ln(RI_t/RI_{t-1})$. Therefore my first guess would be to ...