asked on # How to use a Distance Matrix as an Independent Variable

Hello,

Let's say I have a 100 locations. I know the distance between each location (i.e. distance matrix). How can I use the distance matrix (or some derivative) as an independent variable to access significance (if any) with the dependent/response variable(s)?

Any ideas?

Thanks,

JE

Let's say I have a 100 locations. I know the distance between each location (i.e. distance matrix). How can I use the distance matrix (or some derivative) as an independent variable to access significance (if any) with the dependent/response variable(s)?

Any ideas?

Thanks,

JE

Math / Science

TommySzalapski:

My dependent variables are Population Mean and Population Trend (slope) of a mammal. I have other independent variable measuring various aspects of habitat. I have the suspicion that these distances may be 'important' with regards to the dependent variables. I am just looking for a way or ways to do this or at least think about it.

Thanks,

JE

My dependent variables are Population Mean and Population Trend (slope) of a mammal. I have other independent variable measuring various aspects of habitat. I have the suspicion that these distances may be 'important' with regards to the dependent variables. I am just looking for a way or ways to do this or at least think about it.

Thanks,

JE

View this solution by signing up for a free trial.

Members can start a 7-Day free trial and enjoy unlimited access to the platform.

Okay. And the 100 locations are sites where these mammals typically live?Yes.

Thanks for the other thoughts. They are helpful.

Cheers,

JE

To expand a bit; you should pick several radii not just one and use each one separately (1mi, 2mi, 5mi, or whatever is good for your mammal). I would also suggest using both the count of other sites within the radius and the total number of animals in those sites (or average size of neighboring communities instead of total to avoid multicorrelation).

Thanks again.

There's a lot of different things you could do that would make sense in some scenarios but not in others. What are the dependent variables and what other independent variables do you have?