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 months 前 | 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 months 前 | 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 year 前 | 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 year 前 | 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 year 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 1 个回答 | 0