| To: | s-news@wubios.wustl.edu |
|---|---|
| Subject: | a trival question on 'lm' |
| From: | Savitri Appana <saviappana@yahoo.com> |
| Date: | Wed, 15 Jun 2005 15:45:46 -0700 (PDT) |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=3crRuGs0F0E7QkAkB1y2sdAteS3I0e5gX04GXRPZZqQ9PkHhFyAXJs/wz8bHd1yKImz/ZNH9bunNqOHA7xAV17e0So8PynjLKMb/8JCGWxZTnb4cOpjtnf8LnlAw7z/vLAvXJ/7T0TosSSf9UmvRpIRRqVAJAxJ41EBJKGV8WE0= ; |
Hello everyone,
I've ran a simple linear model with no intercept. I
would like to specify a test, something like 'x = 1
(instead of 0, the default)'. How to acheive this in
Splus? I was able to do this in SAS with a 'test'
statement in proc reg, but i'm interested in doing it
using Splus. Any help is appreciated, thank you.
e.g. --
> lm(formula = y ~ x , data = data)
Coefficients:
Value Std. Error t value Pr(>|t|)
x 0.4149 0.1668 2.4875 0.0146
Thanks for yr help,
Savi
__________________________________
Discover Yahoo!
Get on-the-go sports scores, stock quotes, news and more. Check it out!
http://discover.yahoo.com/mobile.html
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Removing NAs from a data frame, Richard M. Heiberger |
|---|---|
| Next by Date: | Re: a trival question on 'lm', Spencer Graves |
| Previous by Thread: | Removing NAs from a data frame, Khan, Sohail |
| Next by Thread: | Re: a trival question on 'lm', Spencer Graves |
| Indexes: | [Date] [Thread] [Top] [All Lists] |