# Barbab

Followers: 0 Following: 0

**Statistics**

**MATLAB Answers**

**18** Questions

**0** Answers

RANK**272.728**

of 293.982

REPUTATION**0**

CONTRIBUTIONS

**18** Questions

**0** Answers

ANSWER ACCEPTANCE **
5.56%
**

VOTES RECEIVED**0**

RANK

of 20.065

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 150.317

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

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

answerQuestion

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

answersQuestion

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

answerQuestion

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

answerQuestion

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

answersQuestion

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

answerQuestion

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

answerQuestion

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

answerQuestion

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

answerQuestion

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

answerQuestion

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

answerQuestion

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

answerQuestion

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

answersQuestion

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

answersQuestion

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

answerQuestion

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

answersQuestion

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

### 0

answersQuestion

How can I create a for cycle replacing text in a string array?

Hi there, here's my problem, i have a vector such as: vector1=["Home1" "Home2"] a=5 for i=2:a vector1(i+1)= %"Home&i+1" –> ...

bijna 6 jaar ago | 1 answer | 0