Question

How to change the Ytick in the secondary y axis?

I have a figure with the following code. How can I add 20 and 80 to the secondary y label? Now it looks like this: <</mat...

etwa 5 Jahre ago | 1 answer | 0

Question

How to plot a second axis with vectors of different length?

I want to create a plot with 3 time series. First DO with values starting from 1998 to 2012 and for secondary axis two other t...

mehr als 5 Jahre ago | 1 answer | 0

Question

How to test chi-squared dist?

How can I test whether my observed values come from a chi-square distribution with n-degrees of freedom (preferably with Anderso...

mehr als 5 Jahre ago | 1 answer | 0

Question

Is there any difference between rand(n,1) and unifrnd(0, 1, n, 1)?

Is there any difference between rand(n,1) and unifrnd(0, 1, n, 1)?

fast 6 Jahre ago | 2 answers | 1

Question

How to set up a ARMAX model with more than one exogenous time series?

I am trying to forecast Y1 with using Y2 and Y3 as exogenous time series I have written the following code for one input, one ou...

fast 6 Jahre ago | 0 answers | 0

Question

How to simulate ARIMA from residuals?

I know that we can get the residuals of the model by the following function: res = infer(fit,Y); Now if we have residual...

fast 6 Jahre ago | 1 answer | 0

Question

Problem in setting xtick labels

I have a plot like this: E = plot(100.*x2(433:444,1),'*-r','MarkerSize', 5); set(gca,'xtick',1:1:12); set(gca,'xtickl...

mehr als 6 Jahre ago | 1 answer | 0

Question

help needed with subsindex error

This is the ARIMA part of my code TS2 = TS(:,2); n2=16; [fit,VarCov,LogL,info] = estimate(model,TS2(1:n2,1)) AIC =...

mehr als 6 Jahre ago | 1 answer | 0

Question

a simple question about linear regression

Hi, I have a n*2 matrix named Y which has two columns; the first column is my observation values and the second column is the p...

mehr als 6 Jahre ago | 1 answer | 0

Question

Student t Copulafit with df=1

Hi, I want to use "copulafit" function but assign degree of freedom as 1, How can I do that? does estimated RHO values depend...

mehr als 6 Jahre ago | 0 answers | 0

Question

How to assign two identifiers to a vector of n values.

Hi, I need to assign two identifiers to a vector of n values like _V |i,j|_ in a way that _V_ is not a cell but it is a vector ...

mehr als 6 Jahre ago | 1 answer | 0

Question

Error in optimization process

I am trying to fit a gumbel distribution on a series of data. So I want to minimize the negative of maximum likelihood by optimi...

fast 7 Jahre ago | 1 answer | 0

Question

how to generate 1000 random numbers with extreme value dist?

how to generate 1000 random numbers with extreme value dist type 1 (Gumbel) with know parameters m and a

fast 7 Jahre ago | 1 answer | 0

Question

How to define some orders in ARIMA

I want to define an ARIMA(1,0,8) but I only want the model to find the optimal values for first and last MA orders in a way that...

fast 7 Jahre ago | 1 answer | 0

Question

How to specify a seasonal ARMA model using model function?

Hi, How can I specify a (1,0,0)(2,0,0)[12] SARMA model using model function in econ toolbox? (1,0,0)(2,0,0)[12] are orde...

fast 7 Jahre ago | 0 answers | 0

Question

How to call a property?

Hi, I am relatively new in MATLAb so sorry if my question is very simple: in my workspace they are some variables which are 1*...

fast 7 Jahre ago | 1 answer | 0

Question

How to handle polynomial expansion in MATLAb

Dear all; I have two vectors Z(m*1) and S(n*1) (Z is my data and S are coefficients from another formula) and I want to adjus...

etwa 7 Jahre ago | 1 answer | 0

Question

How to fsum on only one variable?

Hi, I want to find the following Z(i)s but inside the sum is only for j. How can I write following script with sum on only j? ...

etwa 7 Jahre ago | 2 answers | 0

Question

how does global function work in this code?

Hi, I am kind of beginner in MATLAB and I try to use the following code. It seems I should define p and q but I can not figure ...

mehr als 7 Jahre ago | 1 answer | 0

Question

How to find parameters of a time series by MLE

Hi, I have a set of data (a time series) Zt (t=1:400) I need to find MLE of parameters a,b,c and d by following equation which ...

mehr als 7 Jahre ago | 1 answer | 0

Question

How to plot a data set with shift in axis?

Hi, I am trying to plot two data set in a figure Y1 starts from x=1 to x=100 but Y2 starts from x=50 to 100. How can I plot Y2 ...

mehr als 7 Jahre ago | 1 answer | 0

Question

sorting a time series

Hello, II have a time series Yt and I sorted them in ascending order and I got Yi, then I used them in a function and I got Z...

mehr als 7 Jahre ago | 2 answers | 0

Question

replacing matrix rows in a loop

Hi, I am trying to build a n*k matrix but each row are produced by a function which has a 1*k output. How can I build that? I...

mehr als 7 Jahre ago | 2 answers | 1

Question

Derivative of a polynomial in MATLAB

Hi, I want to create a series of Hermite polynomials which includes derivative. How can I do that since MATLAB does not have ...

mehr als 7 Jahre ago | 1 answer | 0

Question

managing two variables in sum function

Hi, I want to manage two variables in a sum function in a way that sum(i*cos(ik)); which i=1:N , k=1:M but I want only wa...

mehr als 7 Jahre ago | 2 answers | 0

Question

A simple question regarding axes label

I am plotting a time series 12 months*10 years=120 values and my default x axis label is from 1 to 120 but I want change the lab...

mehr als 7 Jahre ago | 1 answer | 0

Answered

How to rank data in a whole matrix

thank you reshape(tiedrank(A(:)),size(A)) was what I needed

How to rank data in a whole matrix

thank you reshape(tiedrank(A(:)),size(A)) was what I needed

mehr als 7 Jahre ago | 1

Question

How to rank data in a whole matrix

Hi, I need to rank the data in a matrix but tiderank function does it for each column separately. how can I do it for all data ...

mehr als 7 Jahre ago | 2 answers | 0

Question

A simple question about working with array matrix and converting a column to multiple columns

Dear all, I have a time series of monthly data for 50 years in a single column of 600 rows how can I convert them to a form of ...

mehr als 7 Jahre ago | 1 answer | 0