Community Profile

photo

arkedia


portsaid university

Active since 2012

Professional Interests: time series bayesian analysis

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


How to store all loop results? how can i solve this problem??
i have the following loop for i=1:4 for j=2:5 if i<j a=i; ...

9 years ago | 2 answers | 0

2

answers

Question


help with storing i,j loop results?
the following code,i use it to calculate a statistic. note:the statistic is (AIC) used in regression rand time series identifica...

9 years ago | 1 answer | 0

1

answer

Question


how can i store result from loop in a matrix?
I have the following loop x = [1 2 3 4 5;4 5 6 8 9;8 7 6 3 1;5 6 7 9 1;6 4 2 9 6] y=[10 30 24 35 40]' one=[] fo...

9 years ago | 0 answers | 0

0

answers

Question


how can i save results from loop as a row vector?
If I have a loop for i=1:4 for j=2:5 c=x(:,[i,j]) v=mean(x) end end I want to save the mean...

9 years ago | 0 answers | 0

0

answers

Question


how can i get all subsets from a matrix
i have a matrix for example x= [1 2 3 6 7;4 5 6 8 9;8 7 6 3 1;5 6 7 9 1;6 4 2 9 6] i want ta take first colomn with the ...

9 years ago | 1 answer | 0

1

answer

Question


how can i put a label for columns in an array?
i have a vector as follows x=[1 5 8 0 6 1] i want result to be x1 x2 x3 x4 x5 x6 1 5 8 0 6 1 how can i do...

9 years ago | 2 answers | 0

2

answers

Question


code using if but didn't work?? any help
i want to make a subcod in a simulation as follows 1- choose the lowest numberin a=[9 5 6 1 -5 0 2] 2- replace this value ...

9 years ago | 1 answer | 0

1

answer

Question


how can call a result used inside a function?
i'v created the following loop for i=1:k samples=simss(e,y,q,m,cfg); z=[z;samples]; end the function sims...

9 years ago | 1 answer | 0

1

answer

Question


how to make a loop ??
i have a regression model with 3 variables x1 x2 x3 and all possible regression models are 2^3=8 x1 , x2,x3 x1x2, x1x3,x2x3 ,no ...

10 years ago | 2 answers | 0

2

answers

Question


is there any code for AIC "Akaike information criterion" using matlab 2009?
I have a model with 10 regressors ,it means 2^10 possible combination i want to apply aic on all possible models Any Help??

10 years ago | 0 answers | 0

0

answers

Question


How can i apply AIC to all possible lags in a moving average time series model with 10 lags?
I have a moving average time series model with 10 lags. I want to make a simulation to apply subset AIC (Akaike information cr...

10 years ago | 1 answer | 0

1

answer

Question


how can i calculate subset aic using matlab
i have 5 variables in regression model and i want to use aic criterion to choose the correct model i have 2^p (2^5=32 combinatio...

10 years ago | 0 answers | 0

0

answers

Question


How can i use aic to regression model and time series models matlab R2006a ?
How can i use AIC and BIC to regression model and time series models (without garchfit) using matlab R2006a, I tried to use aic ...

10 years ago | 1 answer | 0

1

answer

Question


how to generate moving average time series data? in detalies
I want to generate a data from a moving average time series model of order 1and 2 and 3 with different theta =0.8, 0.5, 0.9 i'v ...

11 years ago | 0 answers | 0

0

answers

Question


how to generate moving average time series data?
i want a data generated from a moving average time series model i have matlab R2009b i don't know how to simulate this data i tr...

11 years ago | 0 answers | 0

0

answers

Question


how can i generate a moving average time series data using amtalb R 2006 a?
i want to generate moving average time series data , i used a the function armasim function z = armasim(phi,theta,n) %...

11 years ago | 1 answer | 0

1

answer

Question


How can i choose certain rows from a matrix?
i have a matrix (resulted from simulation) it contains 10000 row i want to make a new matrix from this matrix it contains only 1...

11 years ago | 1 answer | 0

1

answer

Question


how can i make a storage in simulation for matrix ?
i'm creating a simulation and the following is part of the code for i=1:k samples=ssvs(e,y,q,m,k) z(i,:)=samples end...

11 years ago | 2 answers | 0

2

answers

Question


Stochastic search variable selection ssvs simulation?
i want to make a simulation to ssvs gibbs sampling algorithm do any one now how?? note the code is avelable on the web and writ...

11 years ago | 0 answers | 0

0

answers

Question


how can i store matrix inside simulation to get bigger matrix ?
i'm creating a simulation and first step result is matrix for example matrix of order (100 row and 4 columnes) the simulation ne...

11 years ago | 1 answer | 0

1

answer

Question


how can i force a matrix to be positive sime-definite matrix?
i'm creating a gibbs sampling algorithm and i one of thge steps an error appears in using mvnrnd function , sigma must be positi...

11 years ago | 2 answers | 0

2

answers

Question


error message in using mvnrnd function??
i'm craeting a gibbs sampling algorithm and the fdollowing message appears when i'v used mvnrnd function : ??? Error using ==...

11 years ago | 1 answer | 0

1

answer

Question


Help please simulation of gibbs sampling isempty function?
i make a simulation to a gibbs sampling algorithm and the following code is part of the simulation : mamodel=@(x)find(isme...

11 years ago | 1 answer | 0

1

answer

Question


How can use isempty function or another function in matlab??
i didn't know how to use isempty function for example: the first matrix from simulation=[18 1 0 0 0;12 0 0 0 1;15 1 1 0 0]...

11 years ago | 1 answer | 0

1

answer

Question


how can i deal with empty matrix: 0-by-any number resulting from simulation???
I have made a simulation and the result each time of the simulation is a matrix and i choose a certain row from the matrix, so ...

11 years ago | 1 answer | 0

1

answer

Question


how can i choose a certain row from simulation?
i make a simulation it's results is a matrix so, if the run =500, i'll have 500 matrix my quistion is..........i want to choose ...

11 years ago | 1 answer | 0

1

answer

Question


How can i store all simulation results from ?
I'm running a simulation algorithm for example 500 runs, (note the result is matrix) , my question is: How can i store all the ...

11 years ago | 2 answers | 0

2

answers

Question


how can i store all simulation results from gibbs sampling VERTICALLY?
for example : for i=1:3 b=n*ones(3) end the result will be [3 3 3;3 3 3;3 3 3] BUT i want to save the hole result as [1 1 1;1 1 ...

11 years ago | 2 answers | 0

2

answers

Question


how can i store all simulation results from gibbs sampling ?
for example : for i=1:3 b=n*ones(3) end the result will be [3 3 3;3 3 3;3 3 3] BUT i want to save the hole result as ...

11 years ago | 1 answer | 0

1

answer