[STATSGRASS] dependent variable

orkun temiz at deprem.gov.tr
Thu Feb 27 03:05:17 EST 2003


Hello

I try to create landslide hazard map using grass and R.
Here are the commands I used:
/"r.stats -nNCc input=landslide_binary_map,geology_cat_map,slope_cat_map 
fs=":" output=land"/

it outputs something like: 0:13:2:3556
1:5:3:7086
.
.
.

I imported land text file to R.
Now I want to use multiple regression model.
The command I used:
/"r<-lm(V4~as.factor(V2)+as.factor(V3),data=dt)"
/
you know V4 is landslide pixel count. I used it as
dependent variable as you see. But I hesitate whether it is correct 
approach. Is it true ? and What do you suggest ?


kind regards

-- 
Ahmet Temiz
Geological Engineer
General Directorate
of Disaster Affairs
TURKEY



______________________________________
Scanned and protected by Inflex
http://pldaniels.com/inflex

______________________________________
The views and opinions expressed in this e-mail message are the sender's own
and do not necessarily represent the views and the opinions of Earthquake Research Dept.
of General Directorate of Disaster Affairs.

Bu e-postadaki fikir ve gorusler gonderenin sahsina ait olup, yasal olarak T.C.
B.I.B. Afet Isleri Gn.Mud. Deprem Arastirma Dairesi'ni baglayici nitelikte degildir.





More information about the grass-stats mailing list