Skip to content

Test if beta is different from something other than 0

1 message · John Fox

#
Dear Corey,

The linear.hypothesis function in the car package will test any linear 
hypothesis. But the standard summary output for a linear model gives you 
the coefficient, its standard error, and the residual df, so why not just 
compute your own t, and use pt to get the p-value?

John
At 07:46 AM 1/10/2002 -0600, you wrote:
-----------------------------------------------------
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario, Canada L8S 4M4
email: jfox at mcmaster.ca
phone: 905-525-9140x23604
web: www.socsci.mcmaster.ca/jfox
-----------------------------------------------------

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._