Displaying 3 results from an estimated 3 matches for "rozengardt".
2004 Jun 30
1
Developing functions
...te the coefficients from
two pairs of vectors and then, as an example, the function
simple_matching,
taking a data.frame(X) and using coef in a for cicle.
It works, but I believe it is a bad way to do so (I believe the for cicle
is not necessary). Somebody can suggest anything better.
Thanks
Daniel Rozengardt
coef<-function(x1,x2){a<-sum(ifelse(x1==1&x2==1,1,0));
b<-sum(ifelse(x1==1&x2==0,1,0));
c<-sum(ifelse(x1==0&x2==1,1,0));
d<-sum(ifelse(x1==0&x2==0,1,0));
ret<-cbind(a,b,c,d);
ret
}
simple_matching<-function(X) {
ret<-matrix(ncol=dim(X)[1],nrow=dim(X)[1]);
d...
2005 Aug 24
1
lm.ridge
...Population -0.413341544
Year 0.048420107
And if I take from Ridge&coef:
Ridge$coef[0.004]
GNP.deflator -0.03098507
GNP -1.32553151
Unemployed -1.53237769
Armed.Forces -0.63334911
Population -0.88690241
Year 6.82105049
Any help, suggestion or orientation?
Thanks in advance
Daniel Rozengardt
2004 Jun 29
4
camberra distance?
Hi!
Its not an R specific question but had no idea where to ask elsewhere.
Does anyone know the orginal reference to the CAMBERA DISTANCE?
Eryk.
Ps.:
I knew that its an out of topic question (sorry).
Can anyone reccomend a mailing list where such questions are in topic?