Page 1 of 1

Data issues

PostPosted: Thu Dec 02, 2010 9:27 am
by adeem
Hi,

I was wondering if I need data on all declared variables for estimation. While perusing some .mod files I noticed that data files contain data on one or two variables only.

Also is there a way to read data without using the estimation command?


Regards,
Adeem

Re: Data issues

PostPosted: Tue Jan 11, 2011 10:07 am
by SébastienVillemot
adeem wrote:I was wondering if I need data on all declared variables for estimation. While perusing some .mod files I noticed that data files contain data on one or two variables only.


You only need to give data for the observed variables, declared using the "varobs" keyword. The observed variables are a subset of the endogenous variables (declared with the "var" keyword).

adeem wrote:Also is there a way to read data without using the estimation command?


I don't really understand your question. You can always load a datafile in MATLAB/Octave using either load or xlsread (depending on the format of your datafile).