Displaying 1 result from an estimated 1 matches for "tp4665505p4665526".
2013 Apr 26
2
Stepwise regression for multivariate case in R?
Hi! I am trying to make a stepwise regression in the multivariate case, using Wilks' Lambda test.
I've tried this:
> greedy.wilks(cbind(Y1,Y2) ~ . , data=my.data )
But it only returns:
Error in model.frame.default(formula = X[, j] ~ grouping, drop.unused.levels = TRUE) :
variable lengths differ (found for 'grouping')
What can be wrong here? I have checked and all variables