2012-06-23 3 views
0

나는 data.frame (X, Y, a, b, c, d, e)을 가지고 있습니다 X와 Y를 동시에 예측할 수있는 패키지가 있습니까? 도움 주셔서 감사합니다.두 개의 예측 변수가있는 다중 회귀 식

+0

교차 유효성 확인시이 대답을 시도해 볼 수 있습니다. http://stats.stackexchange.com/questions/11127/multivariate-multiple-regression-in-r – John

+0

예, 'sem'패키지로 구조 방정식 모델링을 시도하십시오. – Andrie

+0

고마워요. 나는 이것을 시도 할 것이다. –

답변

1

시도 패키지 자동차는?

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

그러나 linearHypothesis, 예를 들어, 그것은 당신이 가지고있는 실제 X의 Y에 대해 적절하지 않을 수 있습니다.

+0

고마워, 나는 이것을 시도 할 것이다. 결과는 두 개의 독립적 인 회귀 분석보다 낫습니까? –

관련 문제