Jim: Well, I am not quite sure how you run SAR or CAR, but you guessed 
right that spgwr doesn't handle missing dependent variable.

Depending on the size of your data, it might be laborious (might not if 
data size is not that large) to debug the session of gwr, and see 
exactly what went wrong when you got this error message.

You can use the following command to start the debugging process:

 >library(spgwr)
 >debug (gwr)
# load your data, coordinates, bandwidth, adaptive ratio, etc.
 >gwr(argument list) # replacing the argument list with your actual 
argument.

That might get you to the core of the problem.

Hope this helps.

Cheers,
Danlin

On 2011-10-18 16:58, Jin Minming wrote:
> Dear all,
>
> I try to use GWR analysis in spgwr package.  Some data for depedent variable is missing in this polygon dataset. I have tried to use SAR or CAR method and they works well. But when I use GWR in spgwr package, I got an error message,
> new data matrix rows mismatch
> This is because GWR in spgwr cannot handle missing data or I made some mistakes?
>
> Thanks,
>
> Jim
>
> 	[[alternative HTML version deleted]]
>
>
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo

-- 
___________________________________________
Danlin Yu, Ph.D.
Associate Professor of GIS and Urban Geography
Department of Earth&  Environmental Studies
Montclair State University
Montclair, NJ, 07043
Tel: 973-655-4313
Fax: 973-655-4072
email: yud@mail.montclair.edu
webpage: csam.montclair.edu/~yu


	[[alternative HTML version deleted]]

