简体   繁体   中英

R Multiple Regression with Two Predictor Variables

I have a data.frame (X,Y,a,b,c,d,e) Is there a package where I can predict both X and Y at the same time? Thanks for your help.

Try package car, ?linearHypothesis, example

a multivariate linear model for repeated-measures data
see ?OBrienKaiser for a description of the data set used in this example.

However, it might not be appropriate for the real XY you have.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM