Barbab

Last seen: 11 dagen ago Active since 2018

Followers: 0   Following: 0

Feeds

View by

Question

How to Implement Time-Series Cross-Validation in MATLAB Lasso?
I am trying to apply rolling cross-validation (or expanding window cross-validation) in MATLAB using the lasso function for time...

12 dagen ago | 1 answer | 0

1

Question

What are the pros and cons of using multivariate Filtered Historical Simulation with univariate GARCH models compared to a GARCH-DCC approach?
I am assessing the market risk of an equity portfolio and have come across an example in the MATLAB documentation that uses a mu...

17 dagen ago | 0 answers | 0

0

Question

How to store and deal with very very large matrices?
% input variables T = 2274; N = 58; B = 10000; H = 250; K = 3; % I simulate matrices of similar size to give the idea of...

ongeveer een jaar ago | 1 answer | 0

1

Question

How to speed up this code? How to improve its performance and efficiency?
% creating toy data rng('default') nsimul = 10; % in the actual code I would like to have at least nsumul = 1000; y = ...

ongeveer een jaar ago | 1 answer | 0

1

Question

How to get rid of this nested for cycles?
Here is my code: % simulating similar inputs: K = 3; H = 250; N = 50; B = 10; Q = cell(1,K); rng('default') Q = cellfun(...

ongeveer een jaar ago | 3 answers | 0

3

Question

Apply copulas for estimating a single missing marginal, is it possible?
Let's consider this example from matlab documentation (with little changes): load stockreturns x = stocks(:,1); y = stocks(...

bijna 2 jaar ago | 1 answer | 0

1

Question

How forecast function works for ARIMA-GARCH models?
In Matlab documentation forecast have the following outputs and inputs: % [Y,YMSE,V] = forecast(Mdl,numperiods,Y0,Name,Value) ...

ongeveer 2 jaar ago | 1 answer | 0

1

Question

Relatively easy optimization problem in Excel it's hard to implement on Matlab
rng('default') % creating fake data data = randi([-1000 +1000],30,500); yt = randi([-1000 1000],30,1); % creating fake m...

ongeveer 2 jaar ago | 1 answer | 0

1

Question

How to define objective for this optimization problem?
My objective is: subject to: where and are two given vectors of size . For this objective I tried: x = optimvar('x',1,2...

bijna 3 jaar ago | 1 answer | 0

1

Question

Can't manage to set up an optimization problem in Matlab 2021b from Excel
Hi, I will use silly data to explain my problem. I would like to estimate the parameters (mu and sigma in my example) of a stati...

bijna 3 jaar ago | 1 answer | 0

1

Question

Dubt on gprnd function working dimension
I want to produce random generalized pareto numbers with the function: R = gprnd(K,sigma,theta,[m,n,...]) My question is: Thi...

ongeveer 3 jaar ago | 1 answer | 0

1

Question

How to export live script to latex beamer document class?
Hello everyone, I was wandering if there is any way to export Matlab live script in latex beamer for presentations. It is too m...

ongeveer 3 jaar ago | 1 answer | 0

1

Question

Is there on Matlab any ToolBox or function such Amelia II for R for missing values imputation?
I am trying to fill missing values on a database, I know that the function fillmissing can do different types of interpolation, ...

ongeveer 4 jaar ago | 0 answers | 0

0

Question

Hypothesis test for the difference of two means, should I consider annualized or monthly returns?
I have 10 years monthly returns. I calculated annualized return multiplying the mean return over the period for 12. Then I calcu...

ongeveer 5 jaar ago | 0 answers | 0

0

Question

How to get polynomial (2nd order) excel trend–line coefficents in matlab?
If I use [p,S,mu] = polyfit(X,y,2), the coefficents I get are very different from the ones I find in excel. Should I use another...

ongeveer 5 jaar ago | 1 answer | 0

1

Question

Portfolio optimization with rebalancing weights every specific time period
How could I optimizate portfolio, using matlab portfolio object, making the weights rebalanced every time period?

ongeveer 5 jaar ago | 0 answers | 0

0

Question

Edit area graph legend data
I have this area graph: As you could see the legend refers to the x-axis data. How can I display the legend referring to the ...

meer dan 5 jaar ago | 0 answers | 0