Displaying 14 results from an estimated 14 matches for "hassen62".
2007 Jun 02
1
Problem with the command "StrucTS" that fits a basic structural model for time series
Hi everybody,
I'am very interested with the basic structural model of time series. So I used the command "StructTS" but I failed to obtain a desirable output, in fact when I write in R Console the following lines:
> x=(1,2,3,4,5,2,25,14,12,13,11,6,9,24,12,13,14,12,12,14,11,12,14,15,20,21,22,23,21,25,28)
>(fit <- StructTS(x,type = "BSM"))
I obtained the following
2008 Nov 19
2
simulation of autoregressive process
Dear R users,
I would like to simulate, for 20000 replications, an autoregressive process: y(t)=0.8*y(t-1)+e(t) where e(t) is i.i.d.(0,sigma*sigma),
Thank you in advance
____________________________________________________
Écoutez gratuitement le nouveau single de Noir Désir et découvrez d'autres titres en affinité avec vos goûts musicaux
2008 Nov 19
2
Vector of ones and zeros
Dear R people,
what functions generate respectively vectors with each element is respectively zero and one.
sorry for my credulous questions and many thanks in advance.
____________________________________________________
Écoutez gratuitement le nouveau single de Noir Désir et découvrez d'autres titres en affinité avec vos goûts musicaux
2008 Nov 12
2
problem with urca package
Dear R users,
I have the joined txt file in the following direct directory C://
I have written the following lines:
library(urca);
PIBTUN<-read.table("C:/AF.txt", header=F);
ur.df(PIBTUN,type='none',lags=1)
but I have obtained the following message:
Error in embed(z, lags) : 'x' is not a vector or matrix
I don't What's the problem, can you please help me
Thank
2007 Aug 26
1
Program of matrix of seasonal dummy variable(Econometrics)
Dear R users,
I would like to construct a matrix of seasonal dummy variables, such matrix can be written as follows(i.e format(T,4))
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
. . . .
. . . .
etc
I have written the following small program:
2007 Aug 22
3
rectify a program of seasonal dummies matrix
Hi friends,
I would like to construct a matrix of seasonal dummies with number of rows (observations)=100. such matrix is written as follows:[1 0 0 0;0 1 0 0;0 0 1 0;0 0 0 1;1 0 0 0;0 1 0 0;0 0 1 0;0 0 0 1;etc...] . I wrote the following program:
T=100
br=matrix(0,T,4)
{
for (i in 1:T)
for (j in 1:4)
if i==j
br[i,j]=1
if else (abs(i-j)%%4==0
br[i,j]=1
else
br[i,j]=0
}
z<-br
z
but
2006 Dec 01
1
Demand of help
Hi,
I'm a phd student of economics in Tunisia who is intersted now with the seasonal unit roots test of Canova and Hansen. So I've installed the package "uroot" in RGUI. I use R 2.4.0. The problem when I apply the function to my data, I've always a message from RConsole that it is impossible to find the function CH.test. Are there problems as for the use of this package?
2006 Dec 02
1
Problem with CH.test in uroot package
Dear friends, I installed the package “uroot” then I wrote library (uroot) and I entered a series entitled extp, in spite of that the problem persite. In short,here are what I wrote and the message that I obtained:
> library(uroot)
> extp=c(1,3,10,14,12,5,8,12,13,15,9,8,7,10,9,7,3,10,3,11,12,7,4,9,8,10,20,17)
> CH.test (wts=extp, frec=c(1,1), f0=1, DetTr=FALSE, ltrunc=NULL)
Erreur dans
2007 Jun 04
1
reading file. xls
Hi friends,
I have a file.xls entitled "Dali" which is composed of two columns: the first is entitled "imp" and the second is entitled:"exp". I putted The file "Dali" in the following way:C:/programfiles/R 2.4.0. I have used the following command:>Dali<-read.table("Dali.xls", header=T)
but I can't read this file from R console. What can
2008 Nov 19
1
vector of zeros and ones
Dear Rolf, thank you for reply,
I am interested with non random numbers. To be more precise, I would like to obtain two vectors a and b with a=(1,1,1,......,1,1) and b=(0,0,........,0,0). The length of a and b is 10000.
Thank you
____________________________________________________
Écoutez gratuitement le nouveau single de Noir Désir et découvrez d'autres titres en affinité avec vos goûts
2007 Jun 02
1
Problem with reading a file.xls
Hi friends,
I have a file.xls entitled "Dali" which is composed of two columns: the first is entitled "imp" and the second is entitled:"exp". I putted The file "Dali" in the following way:C:/programfiles/R 2.4.0. I can't read this file from R console. What can I do? thanks.
[[alternative HTML version deleted]]
2007 Jun 09
2
problem with xlsreadwrite package
Hi friends,
I have installed R 2.4.0 in my pc. I have a file xls entitled dali following this directory:c://programfiles//R 2.4.0. Recently I have installed xlsreadwrite 1.3.2. but , when I wrote the following lines:
>library(xlsReadWrite)
>read.xls( file, colNames = TRUE, sheet = 1, type = "data.frame", from = 1, colClasses = NA )
I obtained from R console the following messages:
2008 Nov 12
0
Problem with urca package
Dear R users,
I have the joined txt file in the following direct directory C://
I have written the following lines:
library(urca);
PIBTUN<-read.table("C:/AF.txt", header=F);
ur.df(PIBTUN,type='none',lags=1)
but I have obtained the following message:
Error in embed(z, lags) : 'x' is not a vector or matrix
I don't What's the problem, can you please help me
Thank
2007 May 03
2
about using read.table
Hi,Dear R users, I have a file text nommed "chif" which contains 16 lines and 4 columns in the disc dur. I have a difficulty to read this file in R console I have used the following command
chif <- read.table("c:/chif.txt", header=T, sep=" ")
I have obtained from R console:undefined file! Can you please help me.Thank you in advance.
[[alternative HTML version