Student evaluation measured overall teaching effectiveness ci: Instructor sex (Male=1, Female=2) ck: English is native language of instructor (Yes=1, No=0) cs: PostTUCE score counts toward course grade (Yes=1, No=0) ff: GPA*100 fn: Student had high school economics (Yes=1, No=0) ey: Student’s sex (Male=1, Female=2) fx: Student working in a job (Yes=1, No=0) Notice that this data set is too large to fit in LIMDEP’s “Active Data Editor” but all of the data are there as verified with the following DSTAT command, which is entered in the Text/Command file and highlighted. Upon clicking on the Go button, the descriptive statistics for each variable appear in the output file. Again, the output file is accessed via the Window tab in the upper ribbon. (Notice that in this data set, all missing values were coded −9. ) Dstat; RHS= A1,A2,X3, C,AL,AM,AN,CA,CB,CC,CH,CI,CJ,CK,CL,CM,CN,CO,CS,CT, CU,CV,CW,DB,DD,DI,DJ,DK,DL,DM,DN,DQ,DR,DS,DY,DZ,EA,EB,EE,EF, EI,EJ,EP,EQ,ER,ET,EY,EZ,FF,FN,FX,FY,FZ,GE,GH,GM,GN,GQ,GR,HB, HC,HD,HE,HF $ William. E. Becker Module One, Part Two: Using LIMDEP Sept. 15, 2008: p. 17
William. E. Becker Module One, Part Two: Using LIMDEP Sept. 15, 2008: p. 18
In summary , the LIMDEP Help menu states that the READ command is of the general form READ ; Nobs = number of observations ; Nvar = number of variables ; Names = list of Nvar names ; File = name of the data file $ The default is an ASCII (or text) data file in which numbers are separated by blanks, tabs, and/or commas. Although not demonstrated here, LIMDEP will also read formatted files by adding the option “; Format = ( Fortran format )” to the read command. In addition, although not demonstrated, small data sets can be cut and pasted directly into the Test/Command Document, preceded by a simple read command “READ ; Nobs = number of observations; Nvar = number of variables$”, where “;Names = 1” would also be added if names appear on the line before the data. William. E. Becker Module One, Part Two: Using LIMDEP Sept. 15, 2008: p. 19
LEAST-SQUARES ESTIMATION AND LINEAR RESTRICTIONS IN LIMDEP To demonstrate some of the least-squares regression commands in LIMDEP, read either the Excel or space delineated text version of the 24 observations and 7 variable “post-pre” data set into LIMDEP. The model to be estimated is 1 2 ( ) post pre f classes All statistical and mathematical instructions must be placed in the “Text/Command Document” of LIMDEP, which is accessed via the “File” to “New” route described earlier: Once in the “Text/Command Document,” the command for a regression can be entered. Before doing this, however, recall that the posttest score is William. E. Becker Module One, Part Two: Using LIMDEP Sept. 15, 2008: p. 20
missing for the 24 th person, as can be seen in the “Active Data Editor.” LIMDEP automatically codes all missing data that appear in a text or Excel file as “.” with the value −999. If a regression is estimated with the entire data set, then this fictitious −999 place holding value would be incorrectly employed. To avoid this, all commands can be prefaced with “skip,” which tells LIMDEP to not use records involving −999.
You've reached the end of your free preview.
Want to read all 40 pages?
- Spring '18
- Dr. Moez
- Regression Analysis, LIMDEP