[R] R not giving significance tests for coefficients/estimates?
B77S
bps0002 at auburn.edu
Mon Jan 23 21:17:23 CET 2012
> 3x4
Error: unexpected symbol in "3x4"
R has no idea that you equate "x" as multiplication.. use an astrix
> 3*4
[1] 12
dominic wrote
>
> This is basically my code:
>
> library(MASS)
> lmsreg(formula = b0 ~ b1 + b3 + b1xb2, data=mydata)
>
> b1xb2 is an interaction but it was the centered value for a continuous
> variable times a categorical variable.
>
> I am used to using Mplus statistical software and SAS for robust
> regression, and they'll usually give you a t-test, p-value as well as the
> SE and/or CI. But I am not getting it here even though I have sent that is
> the correct code to get it on some websites that have posted their output.
> I
>
> I have also tried:
>
> library(MASS)
> lqs(formula = b0 ~ b1 + b3 + b1xb2, data=mydata,
> + method = c("lqs"))
>
> And rlm(formula ...) too, but neither provide tests of significance.
>
> Am I doing something wrong? Any help on this matter is greatly
> appreciated.
>
> Thanks,
>
> Dominic
>
--
View this message in context: http://r.789695.n4.nabble.com/R-not-giving-significance-tests-for-coefficients-estimates-tp4321669p4321876.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list