필터 지우기
필터 지우기

How to correct the data loading?

조회 수: 2 (최근 30일)
Houda
Houda 2015년 10월 4일
댓글: Walter Roberson 2015년 10월 4일
Hey,
I have downloaded the matlab code of Burnside 1999 (Gmm estimation), you can find the folder at https://ideas.repec.org/c/dge/qmrbcd/76.html. I followed the isntruction in the readme file, but I have this error message
>> cd C:\Users\HOUDA\Documents\burnside\indivis
ans =
Indivisible Labor Model Deterministic Trend
ans =
Parameters: Theta,lnA,rhoA,sigA,Ay,lnGamm,Delta,Alpha,5 Data Mom
??? Error using ==> load
Number of columns on line 115 of ASCII file
C:\Users\HOUDA\Documents\burnside\hoarding.dat
must be the same as previous lines.
Error in ==> indivis at 47
load 'hoarding.dat' ;
please help I have ti replicate this code.
thanks

답변 (1개)

Jan
Jan 2015년 10월 4일
Open the file hoarding.dat in a text editor and delete the character in the last line. In my editor it looks like a small arrow.
I recommend to contact the author and asking to fix this file.
  댓글 수: 1
Walter Roberson
Walter Roberson 2015년 10월 4일
It is a control-Z . If read in MS Windows in text mode it should indicate end of file. Any other system, or not in text mode and it would cause problems.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by