# Questions tagged [statistics]

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.

79 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
90 views

### Stock returns: Determining the window size

I am looking for a rigorous way to determine a suitable rolling window size for my stock data. Factors that will influence the window size are how fine my data is (minutely, daily, weekly etc.) and ...
58 views

### J-test and Empirical Model Performance of Conditional and Unconditional Estimations (as for example in Cochrane (1996))

Take for example the Consumption-based model with a power utility function estimated by Cochrane in his paper "A Cross-Sectional Test of an Investment-Based Asset Pricing Model" (1996). The following ...
165 views

### Expected shortfall of stable distribution by Stoyanov

I've been working on calculating parametric ES assuming the returns follow Paretian stable law. Given the four parameters - $\alpha, \beta,\sigma,\mu$- Stoyanov introduces closed form solution of the ...
81 views

### Transformation of GARCH Equation to multiple-day Forecast Equation

I want to understand the procedure of how to predict with the GARCH Modell. Therefore it is said that a one day ahead forecast is easy due to the fact that the GARCH equation can produce this. ...
49 views

### Distribution of loans by types of interest

Im looking for some kind of report that would inculde data on the distribution of corporate loans by types of interest(fixed/floating), specifically global not just for one country(developed, ...
140 views

### logistic regression multivariable fractional ploynomials stata vs. R

I a going through Hosmer, Lemenshow and Sturdivant's (HLS) Applied Logistic Regression (2013) and trying to interpret the difference between what STATA is doing and what R is doing. Concerning the fit ...
46 views

### Deming Regression

I am trying to test the linearity = interdependence or the non-linear (contagion) between Asian countries during the Asian crises using the fluctuation of the exchange rate. Is it relevant to use the ...
89 views

### Proper Definition of Backtesting Parameter

Currently I'm trying to test the efficacy of a tail-hedging strategy in which an investor goes long in an index and correspondingly buys 1-month OTM put options. For practical reasons, the options ...
76 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)) ...
27 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 ...
195 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: "...
132 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 ...
81 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 ...
635 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 ...
79 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$ ...
14 views

### How to get know when CUSIP is changed

CUSIP code is not a constant, it could be changed. Does anybody know how to detect a CUSIP change? Is there any report with this info? Where can i find it? Thank you.
27 views

### Old codes for Companies (CUSIP/ISIN/SEDOL)

I found that for example ISIN have following rules: Merger and acquisition: Old ISINs for stock become inactive and are replaced by securities with a new ISIN. Bonds only need new ISINs if old ones ...
24 views

### How to calculate R for strategies with dynamic exit points

Calculating R is easy when trading a straight forward strategy which has its entry and exit points clear: ...
22 views

### Markov Switching ARMA-GARCH

I am looking for R function for modelling Markov Switching ARMA-GARCH. I found package MSGARCH but that package can not accommodate mean model. Do you have an idea for my case?