Hi Chistopher,

According with the documentation of spgwr, the gwr model gives the following
outputs (  help(gwr)  ):

A list of class “gwr”:

SDF: a SpatialPointsDataFrame (may be gridded) or SpatialPolygonsDataFrame
> object (see package "sp") with fit.points, weights, GWR coefficient
> estimates, R-squared, and coefficient standard errors in its "data" slot.

 lhat: Leung et al. L matrix

lm: Ordinary least squares global regression on the same model formula, as
> returned by lm.wfit().

bandwidth: the bandwidth used.

this.call: the function call used.


So, SDF is a spatial data frame object. Inside, we have, by example:

> names(gwr.model$SDF)
 [1] "sum.w"        "X.Intercept." "V04"          "V05"          "gwr.R2"
"X1"           "X2"           "X3"
 [9] "coord.x"      "coord.y"

Where sum.w is the sum of the weights, X.Intercept is the intercept for each
i regression, gwr.R2 is the R2 for each i regression.

You can write a shapefile with this with something like:

writePolyShape(model.gwr$SDF, "nameshape")

This will write a shapefile named "nameshape" in your current directory for
R.

On Fri, Sep 17, 2010 at 2:33 PM, Bone, Christopher <
Christopher.Bone@nrcan-rncan.gc.ca> wrote:

>  Thank you for your email Raphael.
>
> I'm interested in knowing the values in the tabular output that I mentioned
> because I would like to spatially map the residuals from the GWR model and
> the coefficient estimates. I assume that these exist in this table, however
> I am not quite sure what the different variable suffixes (_e, _se, _EDF)
> represent. I assume that e = estimate, se = standard error, EDF = effective
> degrees of freedom, but not sure if this is correct. I have checked the docs
> on R and cannot seem to get any information on this.
>
> Cheers,
> Chris
>
>  ------------------------------
> *From:* Raphael Saldanha [mailto:saldanha.plangeo@gmail.com]
> *Sent:* Friday, September 17, 2010 9:46 AM
> *To:* Bone, Christopher
> *Cc:* r-sig-geo@stat.math.ethz.ch
> *Subject:* Re: [R-sig-Geo] GWR Output
>
> Hi Christopher,
>
> You can see the full output of the GWR model calling just the object:
>
> Gwr.model
>
> The documentation of the library is here:
> http://cran.r-project.org/web/packages/spgwr/spgwr.pdf
>
> A short introduction to R's GWR function can be seen here (
> http://www.bris.ac.uk/cmpo/events/2009/segregation/gwr.pdf).
>
> On Fri, Sep 17, 2010 at 1:33 PM, Bone, Christopher <
> Christopher.Bone@nrcan-rncan.gc.ca> wrote:
>
>> Hello,
>>
>> I have performed geographically weighted regression using independent
>> variables x1 and x2 and have received a tabular output. The gwr function
>> was called using the script:
>>
>> Gwr.model = gwr(....)
>>
>> and the tabular output was obtained by using the script:
>>
>> Gwr.model[[1]]
>>
>> The tabular output has a set of variables (columns), however I am unsure
>> exactly what each variable represents. The variables include:
>>
>> X.Intercept
>> x1
>> x2
>> X.Intercept._se
>> x1_se
>> x2_se
>> gwr.e
>> pred
>> pred.se
>> X.Intercept._se_EDF
>> x1_se_EDF
>> x2_se_EDF
>> pred.se.EDF
>>
>> I have searched around and cannot seem to located any information
>> explaining the meaning of these headings and I cannot seem to make sense
>> of them given the values in the tables. Any help would be greatly
>> appreciated.
>>
>> Thank you in advance,
>> Chris
>>
>>
>>        [[alternative HTML version deleted]]
>>
>> _______________________________________________
>> R-sig-Geo mailing list
>> R-sig-Geo@stat.math.ethz.ch
>> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>>
>
>
>
> Regards,
>
> Raphael Saldanha
> saldanha.plangeo@gmail.com
>



-- 
Regards,

Raphael Saldanha
saldanha.plangeo@gmail.com

	[[alternative HTML version deleted]]

