So, I'm trying to test a hypothesis for a rank, nonparametric regression that none of the measured variables contributed significantly to the determination of the total triglyceride level. So, my reduced model, r4, needs to only be the intercept. When I run the line for r4, it keeps giving me an error (I attached a screenshot of the error below). In my data, I have a column, INT, that has all 1's, so it isn't an issue with there not being a column for INT.
r4=rfit(totaltriglevel ~ INT,intercept=F,data=table9.11)
f1=rfit(totaltriglevel ~ sex + obese + chylomicrons + VLDL + LDL + HDL + Age, data=table9.11)
drop.test(f1,r4)
I have tried putting a 1 instead of INT, because I know with the lm function, that is how you get a intercept only model, but the rfit function doesn't like that, and I still haven't been able to find a solution. Can someone help me get on the right track?
