Search found 3 matches

by wljames
Wed Apr 18, 2012 2:04 pm
Forum: Other RATS Usage Questions
Topic: Convert an array of numbers into a 3x4 matrix
Replies: 1
Views: 8420

Convert an array of numbers into a 3x4 matrix

I am learning RATS. I want to convert an array, say 1,2,3, . . . ,12, into a 3x4 matrix. Thanks!
by wljames
Wed Apr 11, 2012 9:05 am
Forum: Help With Programming
Topic: DOFOR LOOP
Replies: 3
Views: 6692

Re: DOFOR LOOP

dofor i = australia canada france germany japan netherlands uk us set lx = log(i{0}) When I execute the above lx still have zero observations. I checked another source and it suggested the following, but I do not know what is meant by [series] log [series]i / lx I am a beginner and I respectfully re...
by wljames
Tue Apr 10, 2012 9:06 pm
Forum: Help With Programming
Topic: DOFOR LOOP
Replies: 3
Views: 6692

DOFOR LOOP

I am trying to create a dofor loop for series. The following is my attempt: I have read the data in correctly. The data is panel data from the Applied Econometric Times Series Text - exchange rates dofor i = australia canada france germany japan netherlands uk us set lx = log(i) At this point I chec...