search for: lkcsb

Displaying 2 results from an estimated 2 matches for "lkcsb".

2009 Oct 10
2
[R-SIG-Mac] rnorm.halton
...> created a >>>> bimodal distribution with one large mode near 0 and another smaller >>>> mode near 10E+37. Postcript output attached. >>>> >>> >>> >>> >>> -- >>> Anirban Mukherjee | Assistant Professor, Marketing | LKCSB, SMU >>> 5062 School of Business, 50 Stamford Road, Singapore 178899 | >>> +65-6828-1932 >>> >>> _______________________________________________ >>> R-SIG-Mac mailing list >>> R-SIG-Mac at stat.math.ethz.ch >>> https://stat.ethz.ch/mail...
2010 Dec 16
1
predict.lm with new regressor names
Hi all, Suppose: y<-rnorm(100) x1<-rnorm(100) lm.yx<-lm(y~x1) To predict from a new data source, one can use: # works as expected dum<-data.frame(x1=rnorm(200)) predict(lm.yx, newdata=dum) Suppose lm.yx has been run and we have the lm object. And we have a dataframe that has columns that don't correspond by name to the original regressors. I very! naively assumed that doing