Réponse apportée
Is there a Unit Root Test for Moving Average Process in matlab?
There is no such thing as as unit root test for a MA process. There is no such thing as a unit root test for an AR process, eith...

environ 11 ans il y a | 0

| A accepté

Réponse apportée
Garch residuals in matlab 2014
There is a <http://www.mathworks.ch/help/econ/infer-conditional-variances.html Matlab example> that shows how to calculate the r...

environ 11 ans il y a | 0

Réponse apportée
Bloomberg API - fetch futures curve on a particular date
You are using the wrong function. You have to work with *getdata*, not with history, because getdata is the Matlab equivalent of...

environ 11 ans il y a | 0

| A accepté

Réponse apportée
Interpretation of autocorrelation function to determine number of lags in AR model?
The autocorrelation function is a bit odd because the autocorrelations do not subside as they should do. That suggests that ther...

environ 11 ans il y a | 0

| A accepté

Réponse apportée
How to calculate p-value for AR model? How to determine significance?
You don't need the p-values. If the absolute value of the t-statistics is 2 or greater, the coefficient is significant.

environ 11 ans il y a | 0

| A accepté

Réponse apportée
Calculate 10y returns out of monthly data
y = exp(filter(ones(120,1),1,log(1+r)))-1; y = y(120:end);

environ 11 ans il y a | 0

Réponse apportée
What is the best way to fit the ARMA model?
To remove the autocorrelation you have to add more AR or MA terms. Make sure that you work with stationary data. The fastest ...

plus de 11 ans il y a | 0

Réponse apportée
How to solve the problem of errors autocorrelation in ARMA model? What is the fastest way to find the best fit ARMA model?
To remove the autocorrelation you have to add more AR or MA terms. It is strange that you still have first-order autocorrelation...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
how to speed this nested loop or to get it around completely
Your while loop never comes to an end because the variable k does not change. The loop does not make sense. I have no idea what ...

plus de 11 ans il y a | 0

Réponse apportée
Forecast Modeling with different time period datas
If you want to forecast hourly price movements then you have to ignore the daily data and work with the hourly data only. Howeve...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
plotyy: Does matlab recognize gaps in date time line when plotting dates on y-axis?
Matlab plots the data you provide. Matlab does not check for missing data or something on its own. However, it is actually quite...

plus de 11 ans il y a | 0

Réponse apportée
classify and crossval function which bad with positive definite
Matlab demands a positive definite covariance matrix and in your case that requirement is obviously not met. What can you do? ...

plus de 11 ans il y a | 0

Réponse apportée
How to reference past values?
In general you have to use a loop for that. However, in your simple case it is not necessary. f(x) = 0.7^x * f(0) where f0...

plus de 11 ans il y a | 0

Réponse apportée
How to plot graph with annual x-axis?
plot(x) c = 2 : 3 : 12; set(gca,'XTick', c, 'XTickLabel', year(c))

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
How to calculate LogLikelihood between real data and predicted data?
When you estimate the model (using Matlab's arima class), you get the log-likelihood as the third output variable of the functio...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
can anyone help me in solving this function error?
The problem is that in your function you don't use your output variable z. You don't assign a value to z.

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
why I cam't use neural network
If you don't have the Neural Network Toolbox you cannot use the function newff.

plus de 11 ans il y a | 1

| A accepté

Réponse apportée
Compute log-returns in a time series.
r = diff(log(S))

plus de 11 ans il y a | 7

Réponse apportée
What is the timing of inferred garch volatility?
The volatility is also indexed over (1:T). GARCH models are not perfect. If volatilty changes suddenly from low to high (or the ...

plus de 11 ans il y a | 0

Réponse apportée
Length of X vector in ARMAX/ARIMAX/SARIMAX model
You have to add the values at the beginning. I assume you did not specify Y0 when using the estimate-function. That is why Matla...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
Why are all coefficients of my seasonal ARIMA = 0 or NaN?
The variable *model* specifies the model but it does not contain any values for the coefficients (except the constant). That is ...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
What are MATLAB tests to check predictive performance of a fitted model?
No, Matlab does not offer any functions to test the predictive performance. I don't even use Matlab's cross validation function....

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
How to convert the present data into another format?
temp = [a; b; c; d; e; f]';

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
How can I generate an AR(1) process with function filter.m?
You did not implement an AR(1) but an MA(1) process. It is not possible to generate an AR(1) process with the function filter. Y...

plus de 11 ans il y a | 1

Réponse apportée
How do I define an output vector as real and positive
The same question occured recently on Matlab answers: <http://www.mathworks.ch/matlabcentral/answers/155262-how-to-specify-limi...

plus de 11 ans il y a | 0

Réponse apportée
How Should Conditional Mean and Variance Model be Changed if Residuals Exhibit Autocorrelation?
It depends on the autocorrelation. If the autocorrelation occurs at a certain lag, then add a MA term at that lag. If the autoco...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
Outliers, removing 1st and 99th percentiles in dataset
p = prctile(COMP.DY, [1 99]); COMP.DY(COMP.DY <= p(1)) = []; COMP.DY(COMP.DY >= p(2)) = [];

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
Variable length & Stepwise regression
If you copy the contents of your txt-file and paste it into an Excel file, you see that not all numbers are separated by a tab. ...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
blp api undefined function or variable R2010a
The error message suggests that you do no possess the Datafeed toolbox. That toolbox is necessary to execute the blp command. Th...

plus de 11 ans il y a | 0

Charger plus