Search found 22 matches

by anhkhoa_lpt
Tue Jul 14, 2015 10:31 am
Forum: Data Manipulation
Topic: Automatic update when changing data
Replies: 2
Views: 3122

Re: Automatic update when changing data

Many thanks, Mr Gareth :D
by anhkhoa_lpt
Tue Jul 14, 2015 7:53 am
Forum: Data Manipulation
Topic: Automatic update when changing data
Replies: 2
Views: 3122

Automatic update when changing data

Dear Mr/Ms
I have a series named "GDP". Then I create a serie named "GDP_2" (equal GDP*2 by command: genr GDP_2=GDP*2).
Now I change data in GDP, I want GDP_2 serie also be automatically updated from GDP (equal new GDP * 2) . How can I do ?
Thank you very much.
by anhkhoa_lpt
Mon Apr 06, 2015 4:44 am
Forum: Data Manipulation
Topic: Sampling the lowest observations in December
Replies: 2
Views: 2749

Sampling the lowest observations in December

Dear Sir,
I have one serie about stock price (daily) from 2001 to 2015.
I dont know how to sample the lowest observation in December, so I will have 15 obs to regression.
Can you help me?
Thanks very much
by anhkhoa_lpt
Sun Apr 05, 2015 9:21 pm
Forum: Data Manipulation
Topic: Sampling 1st five tradings day of year
Replies: 1
Views: 2606

Sampling 1st five tradings day of year

I have a serie of stock index from 1/1/2000 to 1/1/2015, week day 5
I want to sampling the 1st five trading days of year, how can i do ?
Thank you very much.
by anhkhoa_lpt
Mon Mar 23, 2015 2:27 am
Forum: Programming
Topic: Code to calculate how weekday affects stock price ?
Replies: 2
Views: 3305

Re: Code to calculate how weekday affects stock price ?

I understood.
Thank you so much, Mr Trubador
by anhkhoa_lpt
Sun Mar 22, 2015 11:36 pm
Forum: Programming
Topic: Code to calculate how weekday affects stock price ?
Replies: 2
Views: 3305

Code to calculate how weekday affects stock price ?

Dear Sir/Madam, I come from Vietnam. Iam researching about how weekday affects stock price. I did it for only one serie (code VNI). Now I want expand it to all stock code (near 600 stocks). How can I do that ? Thanks & Regards, 'create one serie equals percent of VNI genr pc_vni=d(vni)/vni(-1) '...
by anhkhoa_lpt
Mon Aug 04, 2014 5:52 am
Forum: Programming
Topic: An introduction to EViews programming.
Replies: 119
Views: 562882

Re: An introduction to EViews programming.

How can I store P value (or t-statistics) from Dickey fuller test to a matrix. I have more than 50 series, so I want to use code to improve my productivity. Tks a lot.
by anhkhoa_lpt
Mon Aug 04, 2014 5:26 am
Forum: Programming
Topic: IF command
Replies: 12
Views: 21527

Re: IF command

Okay, thank Mr. Gareth :)
by anhkhoa_lpt
Mon Aug 04, 2014 4:48 am
Forum: Programming
Topic: IF command
Replies: 12
Views: 21527

Re: IF command

EViews Gareth wrote:

Code: Select all

if x{!i}(-2) < x{!i}(-4) then series a{!i}=1


This line doesn't make sense. Not sure what you're trying to do

I want to filter series which have value at lag 2 < value at lag 4. If a series 's suitable with this rule, creating a new series (name a) and set the value = 1.
by anhkhoa_lpt
Mon Aug 04, 2014 3:29 am
Forum: Programming
Topic: IF command
Replies: 12
Views: 21527

Re: IF command

I don't know how to fix it. Anyone help me, thanks ! 'create a workfile wfcreate q 1990 2010 'create a y series series y=nrnd 'create 15 X series for !i=1 to 15 series x{!i}=nrnd next genr t=@trend() smpl if t<40 'if xi (-2) < xi (-4) then creating a series named a1=1 (2 and 4 are the lags of xi.) f...
by anhkhoa_lpt
Thu Jul 31, 2014 10:33 pm
Forum: Add-in Support
Topic: ARIMASel (Automatic ARIMA selection)
Replies: 85
Views: 143058

Re: ARIMASel (Automatic ARIMA selection)

Im using this add-in to choose models for many variables (stock price). But the result as series type (not equation type), so I cannot use forecast code to forecast. How can I forecast these models except retype it in OLS equation ? Thanks for your help. I upload my picture, the result show in Serie...
by anhkhoa_lpt
Wed Jul 30, 2014 9:26 pm
Forum: General Information and Tips and Tricks
Topic: Change data frequency from weekly to monthly ?
Replies: 2
Views: 3967

Re: Change data frequency from weekly to monthly ?

Great :D Thank Gareth !
EViews Gareth wrote:http://www.eviews.com/Learning/freqconv_a.html
by anhkhoa_lpt
Wed Jul 30, 2014 9:18 pm
Forum: Add-in Support
Topic: VARForecast (VAR forecasting)
Replies: 44
Views: 68809

Re: VARForecast (VAR forecasting)

I have installed this add-in, but I couldn't see it in Add-ins option. I try some times to reinstall it but it 's not succesful. Anybody can help me ? :(
by anhkhoa_lpt
Wed Jul 30, 2014 9:06 pm
Forum: Data Manipulation
Topic: Sorting data from earliest to oldest
Replies: 1
Views: 2375

Sorting data from earliest to oldest

Hi all,
I have a excel file which sorting from earliest to oldest. So it's unconventional for me to copy and paste it to eviews (I usually resort in excel then copy to eviews, but this way takes me a lot of time). I want to know the code in eviews to fix this problem. Thanks a lot :)

Go to advanced search