I want to fit something like:
z = b0 + b1*x + b2*y

Since x, y,and z all have measurement errors attached, the proper way
to do the fit is with principal components analysis, and to use the
first component (called loadings in princomp output).

My dumb question is: how do I convert the princomp output to equation
coefficients in the format above?

I guess another dumb question would be: how about getting the standard
deviations of b0, b1, b2?

Thanks very much for any help.

Bill

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to