Search found 9 matches
- Thu Jun 01, 2017 5:49 am
- Forum: Programming
- Topic: Change the working directory in a program
- Replies: 3
- Views: 8514
Re: Change the working directory in a program
Thanks. How come I have to save it as a replacement variable first?
- Thu Jun 01, 2017 5:07 am
- Forum: Programming
- Topic: Change the working directory in a program
- Replies: 3
- Views: 8514
Re: Change the working directory in a program
http://www.eviews.com/download/whitepapers/Paths.pdf I looked at this, but neither cd @runpath nor cd @linepath work. I want the program to completely execute just by doubleclicking the .prg file, but it says "Path or file not found : @LINEPATH in "CD @LINEPATH"." And "Path ...
- Thu Jun 01, 2017 4:53 am
- Forum: Programming
- Topic: Change the working directory in a program
- Replies: 3
- Views: 8514
Change the working directory in a program
I am about to submit to a Journal and they require that replication should be as easy as possible. All my statistical analysis happens in a program. I don't know how I can specify that the working directory for the program is the current program folder. string path = @runpath cd path 'define default...
- Thu Dec 08, 2016 8:21 am
- Forum: Programming
- Topic: replace variables in a bunch of systems
- Replies: 1
- Views: 2212
Re: replace variables in a bunch of systems
alright, I just went with the absolute tabula rasa method (obviously not before a backup), and this seems to work even if it's not very elegant: for %sys {%system_list_3f} svector equations = {%sys}.@svectornb 'The lines of the system are here %command = {%sys}.@command'The command to estimate the s...
- Thu Dec 08, 2016 7:46 am
- Forum: Programming
- Topic: replace variables in a bunch of systems
- Replies: 1
- Views: 2212
replace variables in a bunch of systems
What I have is a bunch of equation systems, and in order to clean them up and correct a consistent error in all of them I have written the following bit of code: for %sys {%system_list_3f} svector equations = {%sys}.@svectornb 'The lines of the system are here 'Create a temporary system for safety r...
- Thu Aug 04, 2016 4:46 am
- Forum: Programming
- Topic: Returning the p values of a system estimation
- Replies: 3
- Views: 3438
Re: Returning the p values of a system estimation
Thank you, I found that the Add-In just uses @tdist, which is very useful to know. One of the drawbacks of being unfamiliar with a program is always that you miss really simple tricks to do it. For anybody wondering, here is a code snippet that could be used: !df = ({%sys}.@regobs-{%sys}.@ncoefs) !t...
- Wed Aug 03, 2016 7:07 am
- Forum: Programming
- Topic: Returning the p values of a system estimation
- Replies: 3
- Views: 3438
Returning the p values of a system estimation
I have a large number of different system estimations that I want to compare. In order to do that I wanted to create an efficient Table so that I can compare these systems that have different specifications and estimate similar but sometimes slightly different parameters. In order to do that and fac...
- Tue Jan 05, 2016 6:24 am
- Forum: Programming
- Topic: I receive the error of "no valid observations"
- Replies: 2
- Views: 3420
Re: I receive the error of "no valid observations"
It works when I change the initial parameter specification to the following:
It always takes a while to get used to how another language wants its t's crossed and its i's dotted it seems :)
Code: Select all
param sigma(1) .5 psi(1) 1 alphal(1) 0.05 alphae(1) 0.01- Mon Jan 04, 2016 7:13 am
- Forum: Programming
- Topic: I receive the error of "no valid observations"
- Replies: 2
- Views: 3420
I receive the error of "no valid observations"
I am trying to estiamte a system of nonlinear equations and I am new to Eviews but have programming background. I managed to import my data and create all the necessary variables and I defined my equation system thus: param sigma .5 psi 1 alphal 0.05 alphae 0.01 ly = log(psi(1)) + sigma(1)/(sigma(1)...
