Questions tagged [finance]

The science that describes the management, creation and study of money, banking, credit, investments, assets and liabilities.

374 questions
Filter by
Sorted by
Tagged with
34 views

Backtrack Values from Probability

I have a question on Digital options pricing : $$\text{Payoff} = E[I(X(T) - K)]$$ Where the indicator function takes one if $X(T) > K$ and zero otherwise. Solving the expected value we can ...
19 views

How to measure the Kumo cloud thickness?

How to measure the ichimoku cloud thickness? Hi. The ichimoku kinko hyo is an indicator used in financial analysis. The kumo cloud can be used to describe volatility, based on it's thickness. How do ...
461 views

Credit Risk and Concentration

I am working with a UK credit-union and we are looking to build a model to assess our credit risk and changes to this over time. We have a number of loans to borrowers who each have a credit rating (...
58 views

Backtesting GARCH model in R

I used garch to predict the volatility of shopify(SHOP.TO) . I used ugarchroll to backtest my GARCH model but my mean absolute percentage error was incredibly high: ...
22 views

How to deal with dependent variable that has different ranges for different groups?

I have loan-level data on peer-to-peer (p2p) loans. I am studying how the number of bank branches in the borrower's county affect his willingness to pay for p2p loans. My LHS variable is the borrower'...
13 views

regression method to predict differences between A and B given P(A>B) as prior probabilities

First off I apologize if this has been asked before, I tried searching for came up empty handed. Please forgive me if this is duplicated. I have 2 streams of data A and B which are pricing data, each ...
39 views

One model or 178 models?

I am doing a school project, where I am modeling next quarter's stock price using the information about the stock in the current quarter. The main goal is to see if we can find any statistically ...
198 views

Detecting leading stocks using lag correlation

I am working on a project to find leading stocks in a stock market by using lag correlation. Say I want to compare 2 stocks, X and Y, and I have the time series of stock prices. Assume that the time ...
12 views

Python coding question [closed]

I have a question regarding how to code the logic below in python: I have one reference table containing information what should be inside each different bucket, 1 would indicate it should contain ...
641 views

What is the dummy variable in the Henriksson-Merton model for market timing ability?

I am a little confused about calculating the dummy variable on the Henriksson-Merton model for market timing ability. Some researches used 1 if the excess return for market is negative but other ...
31 views

ARIMA(0, 1, 0) or ARIMA(0, 0, 0) for Stock log-Returns Forecast

I'm trying to forecast the log-returns of Amazon's stocks using the ARIMA model, so I went through the traditional procedure of examining the autocorrelation plot and the partial autocorrelation plot ...
1k views

Mean and SD of daily log returns

Assume a given stock's log returns are normally distributed, its average annual log return = 100% and annual standard deviation (or volatility) = 200%. Given a trading year of 250 days, what are $\mu$ ...
447 views

Statistical test of stock returns product

Say I have a sequence of stock returns: $X_1, ..., X_n$. Then I make a sample of products: $X_1X_2, X_2X_3, ..., X_iX_{i+1},..., X_{n-1}X_n$ How to test, if the sample mean is significantly different ...
26 views

Should I use a multivariate analysis or N univariate analyses in this case? [closed]

I have 100 Investment funds (Flexible allocation Morningstar category, same investment area, currency and distribution status: the sample is homogeneous) over a 10 yrs period. I want to estimate a ...
8 views

Appropriate statistical test for a repeated measures design with nested nominal variables

Context: Financial Portfolios Sample: time series slices of stock investments. Dependent Variable: stock value change during the slice. Independent Variable: Position change of investor during this ...
153 views

Books on using SAS to analyze market risk

Is there a book that teaches you how to use SAS to analyze the market risk of a portfolio of stocks,bonds and options?
6 views

How to calculate drawdowns

How do I calculate the drawdown history of a time series like the below chart? I basically just want to recreate it with updated data. I have been googling and have found max drawndown over a period ...
518 views

Irregularly spaced time-series in finance/economics research

In financial econometrics research, it is very common to investigate relationships between financial time series that take the form of daily data. The variable will often be made $I(0)$ by taking the ...
26 views

How to measure statistical significance of a non-binary-position trading strategy for an irregular time series?

What are the different ways to identify/measure whether a trade strategy is statistically significant? Specifically I have an irregular time series of individual trades between: other buyers and ...
237 views

How can I identify market regimes with a Hidden Markov Model?

I am trying to identify market regimes (2 states: bull or bear) with percent changes in equity returns. Can you help me in the mathematicl modeling of this? So far, I thought that for each day, there ...
13 views

Only positive elements in hedge portfolio in OLS regression (using R)

Its easy to built Hedge portfolios using OLS regression. The y variable are stock market returns of company i, and the X variables are (for example) the % exposure company i has in market k. It doens'...
19 views

Why under an exponentially weighted moving average do volatility forecasts evolve more slowly over time if the decay factor λ tends towards unity?

For λ close to 1 volatility will evolve slowly over time, whereas volatility responds more rapidly when lambda is much smaller than unity. Conceptually, why is this the case?
23 views

Deep Learning applied to Multivariate Inputs Vs Univariate Input Theory Question

I'm currently working through a time series problem where I'm trying to develop a model that learns the historical relationships between several related financial markets. So, using the closing prices ...
196 views

Test for significance of peaks (maximum) in time series

I have a time series of values, something like this: ...
105 views

Is it a valid claim, that by differencing a time series, it loses its memory, and as a result its predictive power?

Marcos Lopez de Prado seems to be a well known and renowned machine learning expert in the field of finance. I am very far from his level, as have not yet finished my PhD in economics, and only have ...
32 views

Can I remove a dummy variable when it is not significant by itself, but its interaction with another variable is?

I have the following model based on the financial returns of a company as a dependent variable of a stock market index, and a dummy variable interacting with USD exchange rates to my currency. The ...
15 views

Basic question about dummy variables for breakpoint treatment

I am studying basic Econometrics and trying to understand how to deal with breakpoints using dummy variables. I found 3 significant break-points in my data (using 5% confidence) with the Chow ...
41 views

strucchange::breakpoints giving implausible results

I'm trying to detect the breakpoints in Facebook's stock price with strucchange::breakpoints. ...
305 views

A time series logit model with lagged dependent variable

I have a panel dataset for stocks. My goal is to model and predict if the stock will close positive (1) tomorrow based on today's close (1/0) and other macroeconomic and firm-specific variables.So I ...
54 views

ML method to determine growth of accounts in a bank

Assume a bank has today N checking accounts, and also has 10 years history of the account balances. The history also includes related features such as "Allow overdraft" (Yes/No) and "Opening branch" (...
30 views

Testing pricing errors on the SML for significance with R

I have been attempting to do a cross-sectional test of the CAPM. To do this, i have estimated the betas of 49 industry portfolios with time-series data. And then done a cross sectional regression, ...
95 views

Implementation of Shanken (1992) Adjustement for Fama MacBeth Asset Pricing Tests

I am trying to implement an unconditional asset pricing test according to the Fama & MacBeth (1973) method. The calculation of the factor-loadings as average of monthly cross-sectional regressions ...
275 views

classification using logistic regression on stock data

I have made a model which is supposed to classify the trend of a stock index as an "up day" (=1) or a "no change"/"down day"(=0), where I have coded an "up day" as when the percent change for the ...
74 views

Parameters in Autoregressive representation of an ARCH model

Suppose we have a $0$ mean time serie representing stock index returns about a title, $r$. I also know it follows an $ARCH(p)$ model with parameters $\omega$ and $\alpha$, specified in the following ...
326 views

Support vector regression (LIBSVM) returns out of range outputs when I use out-of-sample data to predict one step ahead (MATLAB)?

I'm using SVR model in MATLAB R2016a using this option: options_z = ['-q -s 3 -t 2 -c ', C_param, ' -p ', epsilon, ' -g ,Kernel_scale]; I'm optimizing SVR ...
487 views

16 views

Calculate the annual returns of a portfolio with the given coefficients

I have to calculate the basic statistics of a stock portfolio: annualized yield, annualized volatility ... Here is an extract of the share prices: ...
767 views

Cointegration with Multiple Structural Breaks

I am currently studying whether stock markets in the GCC region are cointegrated. All series are I(1); however, the Johansen test provides no robust evidence of cointegration. I then used the Bai ...