Barbab
Followers: 0 Following: 0
Feeds
질문
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...
3개월 전 | 답변 수: 1 | 0
1
답변질문
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...
3개월 전 | 답변 수: 0 | 0
0
답변질문
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...
1년 초과 전 | 답변 수: 1 | 0
1
답변질문
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 = ...
1년 초과 전 | 답변 수: 1 | 0
1
답변질문
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(...
1년 초과 전 | 답변 수: 3 | 0
3
답변질문
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(...
대략 2년 전 | 답변 수: 1 | 0
1
답변질문
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) ...
대략 2년 전 | 답변 수: 1 | 0
1
답변질문
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...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
거의 3년 전 | 답변 수: 1 | 0
1
답변질문
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...
거의 3년 전 | 답변 수: 1 | 0
1
답변질문
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...
대략 3년 전 | 답변 수: 1 | 0
1
답변질문
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...
대략 3년 전 | 답변 수: 1 | 0
1
답변질문
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, ...
4년 초과 전 | 답변 수: 0 | 0
0
답변질문
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...
대략 5년 전 | 답변 수: 0 | 0
0
답변질문
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...
5년 초과 전 | 답변 수: 1 | 0
1
답변질문
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?
5년 초과 전 | 답변 수: 0 | 0
0
답변질문
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 ...
5년 초과 전 | 답변 수: 0 | 0
0
답변질문
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" –> ...
거의 6년 전 | 답변 수: 1 | 0