Displaying 2 results from an estimated 2 matches for "standiz".
Did you mean:
standid
2010 May 30
1
what command to use for standization
...1.
the data I want to standardize/centroid is in column format.
So I'm thinking of using:
col.mean.stdised=apply(data.df,2,function(z){z-mean(z)})
but, what command should I use to put my SD =1?
Thanks!
--
View this message in context: http://r.789695.n4.nabble.com/what-command-to-use-for-standization-tp2236074p2236074.html
Sent from the R help mailing list archive at Nabble.com.
2006 Feb 15
0
a basic question about standardization?
...respoding to each row of the
X matrix.
I do standardization on X, X1=scale(X, TRUE, TRUE), and Y1=scale(Y, TRUE,
FALSE).
And I got a regression coefficient vector Beta.
I am wondering how to I manipulate this Beta to run the test?
Is this Beta the same as the one we would obtain if we don't standization
the training data?
For testing data, I guess I should not standardize, otherwise, how can my
predicted data match with the non-standardized test Y vector?
If I do standardization on the test X matrix and Y vector, then I lose my
physical meaning of prediction error -- it will be distorted......