Displaying 1 result from an estimated 1 matches for "rsq_grid40km2".
2011 Feb 21
0
r-square for cluster
...t;- (nrow(data_group-1)*sum(apply(data_group,2,var))) # SS for all variables for a given cluster
SStot_grid40km=append(SStot_grid40km, SSgroup,after=length(SStot_grid40km))
}
ssw_grid40km = sum(SStot_grid40km) #withinSS (??) as the sum of SS for all clusters
ssbetween_grid40km = SSTot-ssw_grid40km
RSQ_grid40km2 = ssbetween_grid40km/SSTot # R-square
Am I right? Does this correspond to SAS's R2?
Many thanks,
Yan
Ressources Naturelles Canada
Service Canadien des ForĂȘts - Centre de Foresterie des Laurentides
1055, rue du PEPS
CP 10380, Succ. Ste-Foy
Québec, QC, G1V 4C7
Tel. : +001 418 649-6859
Fax...