photo

Roger Wohlwend


Last seen: plus d'un an il y a Actif depuis 2012

Followers: 0   Following: 0

Message

Professional Interests: Time Series Analysis, Financial Modeling, Forecasting

Statistiques

All
MATLAB Answers

2 Questions
140 Réponses

Cody

0 Problèmes
73 Solutions

RANG
269
of 302 053

RÉPUTATION
341

CONTRIBUTIONS
2 Questions
140 Réponses

ACCEPTATION DE VOS RÉPONSES
100.0%

VOTES REÇUS
43

RANG
 of 21 521

RÉPUTATION
N/A

CLASSEMENT MOYEN
0.00

CONTRIBUTIONS
0 Fichier

TÉLÉCHARGEMENTS
0

ALL TIME TÉLÉCHARGEMENTS
0

RANG
10 483
of 178 541

CONTRIBUTIONS
0 Problèmes
73 Solutions

SCORE
690

NOMBRE DE BADGES
1

CONTRIBUTIONS
0 Publications

CONTRIBUTIONS
0 Public Chaîne

CLASSEMENT MOYEN

CONTRIBUTIONS
0 Point fort

NOMBRE MOYEN DE LIKES

  • 6 Month Streak
  • Thankful Level 1
  • Knowledgeable Level 4
  • First Answer
  • Solver

Afficher les badges

Feeds

Afficher par

Réponse apportée
Means of this numbers
The first column is the date. Use the function datestr zu convert the numbers into Dates. >> datestr(735453) ans = ...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
ANOVA, different mean in a graph
Boxplot Shows the median and multcompare the mean. That's why the values are different.

plus de 10 ans il y a | 0

Réponse apportée
is is possible to copy the output figure onto an excel sheet
If you have the Toolbox Spreadsheet Link it is easy. Otherwise you have to save a figure and then Import in in Excel. But there ...

plus de 10 ans il y a | 0

Réponse apportée
How to create a simple cash flow and net investment
cumsum([-Cost1; repmat(Return_pa,20,1)])

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
Interest rate - stagnant years.
Define a vector with the interest rate for each year. r = [zeros(1,2), 0.05*ones(1,8)] Then the account Balance for each...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
Multivariate Regression with coeffcients constrained to lie on a k polynom
You have to use optimization for your Problem. Use the Matlab function fmincon.

plus de 10 ans il y a | 0

Réponse apportée
How to reduce the dimensions of a row vector?
You cannot apply PCA on a vector. You need a matrix for that.

plus de 10 ans il y a | 1

Réponse apportée
Automatic ARIMA model identification in MATLAB (like auto.arima in R)
No, there is no such function. You can identify a suitable model with the Information criterions (AIC and BIC).

plus de 10 ans il y a | 1

Réponse apportée
Changing variable value after each loop interation and store them in array
for i=1:61 for k=1:8 xx(i,k) = nthroot(Q(i)/((100/k)*B*(S0^(1/2))),5/3); end end

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
Calculate monthly averages without reshaping
A = accumarray(date, variable, [], @mean); MeanValues = A(date);

plus de 10 ans il y a | 0

Réponse apportée
How can I enter this equation in matlab?
Use a function handle. f = @(X) (R+1)*F*(-log(1-X)/k1/C + k2*C*X/k1 - k2*C*X^2/2/k1); V = feval(f, X0) - feval(f, R*X0...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
having two conditions for if statements
if (S == 1) || (S == 2) || (S == 3) if (X(1) == 0) Y = 100 / S; else Y = 0; end end

plus de 10 ans il y a | 6

Réponse apportée
Index exceeds matrix dimensions : Error
Albedo(t) only exist if Ps(t) > SS. It seems that for k = 2 this condition is not met, the code in the if-clause is not execute ...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
How to avoid duplicate records when using datainsert?
No, you can't specify something like that. If you want datainsert to continue with the next dataset if it encounters a duplicate...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
Proving distributive law with for loop
You can do it without a Loop! You *should* do it without a Loop! n = 10000; x=rand(n,1); y=rand(n,1); z=rand(n,1);...

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
Stepwise linear regression: unexpected result of form X1*X2 and X1:X2. How to interpret it?
Yes, it is a multiple linear Regression. The model consists of three variables: X1, X2 and X1*X2. The third variable is just the...

plus de 10 ans il y a | 0

Réponse apportée
The size of my PCA isn't correct
It seems that Matlab expects a Matrix with more observations than variables (i.e. more rows than columns). As you violate that r...

plus de 10 ans il y a | 2

Réponse apportée
Error using fzero function
As the error message says, _fzero_ needs a function handle as first Input Argument. Your variable _fun_ is a Vektor or a Matrix,...

plus de 10 ans il y a | 0

Réponse apportée
GARCH Prediction not possible
You invoke the function forecast with Mdl, which is just a model specification and thus contains no coefficients. You have to us...

presque 11 ans il y a | 2

| A accepté

Réponse apportée
How to find the optimal p for AR model
You could use the Akaike or the Bayesian Information criterion (Matlab function aicbic). Also consult the page "Choosing ARMA la...

environ 11 ans il y a | 0

| A accepté

Réponse apportée
Log Returns of Stock Prices
You can keep things quite simple. Import your stock data, create two variables, one - let's call it D - that contains the dates,...

plus de 11 ans il y a | 2

| A accepté

Réponse apportée
Select August data from a vector column in the format YYYYMMDD
First convert your time vector into a vector that contains the date as a number. Date = datenum(Date_Vector,'YYYYMMDD'); ...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
P-values for mvregress
[beta,Sigma,E,CovB] = mvregress(X,Y) The fourth output (CovB) is the covariance matrix of the coefficient. You can use that...

plus de 11 ans il y a | 0

Réponse apportée
Fetching data from Access query in MATLAB
There seems to be something wrong with your database connection, or your query does not exist, or the field. Check those three i...

plus de 11 ans il y a | 0

Réponse apportée
plotting a vector versus a time
plot(time, matrix)

plus de 11 ans il y a | 0

Réponse apportée
How do i predict future price by applying moving average?
I always use the function filter to calculate a moving average of length N. N = 3; MA = filter(ones(N,1),N,Y); Howeve...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
max matrix size for linear optimization
You try to solve an optimizing problem with over 5000 variables? I am not surprised that Matlab cannot do that. I think you have...

plus de 11 ans il y a | 0

Réponse apportée
Inner matrix dimensions must agree.
Try f1 = @(x) (1-2*x).*(exp(-i*x))

plus de 11 ans il y a | 0

Réponse apportée
VAR with special error structure
First estimate the VAR (X,Y) with the function vgxvarx. Then estimate the parameter f with a regression. After having estimated ...

plus de 11 ans il y a | 0

Réponse apportée
Cannot type anything in Command Window after run M.file!
You did nothing wrong. When Matlab is busy executing some code it does not allow you to type anything in the command window.

plus de 11 ans il y a | 0

Charger plus