Howdy, Grus

If this message is overlapped, please forgive me.

I have some troubles with SPLM package of R.
I am trying to estimate some parameters and their model using SPML in SPLM
package of R.
Could you tell me some tips to solve my problem below ?

--------------------------------------------------------------------------------------------------------------------------------------------------------
...
fm.2 <- mr2.tent ~ Census + Den + CmtSch + CmtPop + SchPop + StayPop +
DayPop
     + firm + firm500 + RegWrk + GrsWrk + MnfFirm + MnfReg+ MnfGrs
...
> fespaterr <- spml(fm.2, data = mega.data, listw = mat2listw(megaww),
model="within", spatial.error="b")
Error in model.frame.default(object, data, xlev = xlev) :
  variable lengths differ (found for 'Census')
>

For variaable reference,
Y variable is mr2.tent.
X variables are population and firm workers.
Population is Census, Den, CmtSch, CmtPop, SchPop, StayPop,  DayPop.
Firms are  firm and firm500.
Firm workers are RegWrk, GrsWrk, MnfFirm, MnfReg,  MnfGrs.
----------------------------------------------------------------------------------------------------------------------------------------------------------

I appreciate in advance,

-- 
Kum Hoe Hwang, Ph.D.
82-31-250-3516
Guynggi Research Institute(GRI), Korea (ROK)

	[[alternative HTML version deleted]]

