creating weekly and semi annual dummies with @expand
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
Re: creating weekly and semi annual dummies with @expand
thank you guys. it worked.
Re: creating weekly and semi annual dummies with @expand
i copied a set of data from excel cells into my empty worksheet.my data contained numbers. it pasted the data into my worksheet as alpha01.
so i presume they are in strings. how do i convert this to numbers and generate a series from my data.
i tried
series newnumb=@val(alpha01) and it doesnt work
can i get some help
so i presume they are in strings. how do i convert this to numbers and generate a series from my data.
i tried
series newnumb=@val(alpha01) and it doesnt work
can i get some help
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: creating weekly and semi annual dummies with @expand
Code: Select all
series newnumb=@val(alpha01)
Re: creating weekly and semi annual dummies with @expand
it gives me NA as the inputs
also when i imported that same data from excel to eviews it was giving me NA in the cells. But when i copy and paste it,i get my data on eviews in a group with name as alpha01
but series newnumber=@val(alpha01) gives me NA in the cells
also when i imported that same data from excel to eviews it was giving me NA in the cells. But when i copy and paste it,i get my data on eviews in a group with name as alpha01
but series newnumber=@val(alpha01) gives me NA in the cells
Last edited by ray2013 on Tue Nov 12, 2013 10:46 am, edited 1 time in total.
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: creating weekly and semi annual dummies with @expand
There's probably some non-numerical characters in that alpha series then.
Re: creating weekly and semi annual dummies with @expand
my alpha02 values i copied from excel appear in eviews as follows and its left aligned
6 876
7 194
7 481
7 359
8 316
it doesnt appear as
6876
7194
7481
7359
8316
6 876
7 194
7 481
7 359
8 316
it doesnt appear as
6876
7194
7481
7359
8316
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3798
- Joined: Wed Sep 17, 2008 2:25 pm
Re: creating weekly and semi annual dummies with @expand
A space in the middle would be the non-numeric character Gareth alluded to.
Re: creating weekly and semi annual dummies with @expand
thanks guys. i guess i better remove the spaces in the data from excel before i import it
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3798
- Joined: Wed Sep 17, 2008 2:25 pm
Re: creating weekly and semi annual dummies with @expand
It is possible that something like the following will work in EViews.
Code: Select all
series numeric=@val(@replace(alpha02," ",""))Re: creating weekly and semi annual dummies with @expand
i tried it and it still gives NA
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3798
- Joined: Wed Sep 17, 2008 2:25 pm
Re: creating weekly and semi annual dummies with @expand
Probably back to Excel then. But just to be sure, the code requires no spaces between the last set of quotes.i tried it and it still gives NA
Re: creating weekly and semi annual dummies with @expand
is it possible to generate a table of AIC values for my
equations
equation arma01.ls y c ma(1)
equation arma02.ls y c ma(1) ma(2)
equation arma03.ls y c ma(1) ma(2) ma(3)
equation arma10.ls y c ar(1)
equation arma11.ls y c ar(1) ma(1)
equation arma12.ls y c ar(1) ma(1) ma(2)
to
equation arma33.ls y c ar(1) ar(2) ar(3) ma(1) ma(2) ma(3)
equations
equation arma01.ls y c ma(1)
equation arma02.ls y c ma(1) ma(2)
equation arma03.ls y c ma(1) ma(2) ma(3)
equation arma10.ls y c ar(1)
equation arma11.ls y c ar(1) ma(1)
equation arma12.ls y c ar(1) ma(1) ma(2)
to
equation arma33.ls y c ar(1) ar(2) ar(3) ma(1) ma(2) ma(3)
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: creating weekly and semi annual dummies with @expand
when i copy the correlogram graph into msword, it doesnt show the bars of the ACF AND PACF but it shows it as " * ".
how do i copy it into microsoft word for it to show the bars of the ACF and PACF
how do i copy it into microsoft word for it to show the bars of the ACF and PACF
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: creating weekly and semi annual dummies with @expand
Other than by doing a screenshot, you cannot.
Who is online
Users browsing this forum: No registered users and 2 guests
