R 2.2.0
windows XP
I am beginning to explore the mitools package contributed by Thomas
Lumley (thank you Thomas) and I have a few questions:
(1) In the examples given in the mitools documentation, the only family
argument used is family=binomial. Does the package support
family=gaussian and other link functions? I ran the with function with
family=gaussian and I obtained results, but I am not sure if gaussian is
supported by the package, so I don't know if I should trust the values I
obtained.
(2) In the documentation, the smi dataset is used i.e. data(smi). Could
someone tell me how I can print the data associated with smi?
Thanks
John
John Sorkin M.D., Ph.D.
Chief, Biostatistics and Informatics
Baltimore VA Medical Center GRECC,
University of Maryland School of Medicine Claude D. Pepper OAIC,
University of Maryland Clinical Nutrition Research Unit, and
Baltimore VA Center Stroke of Excellence
University of Maryland School of Medicine
Division of Gerontology
Baltimore VA Medical Center
10 North Greene Street
GRECC (BT/18/GR)
Baltimore, MD 21201-1524
(Phone) 410-605-7119
(Fax) 410-605-7913 (Please call phone number above prior to faxing)
jsorkin at grecc.umaryland.edu
Confidentiality Statement:
This email message, including any attachments, is for the so...{{dropped}}
On Sat, 14 Oct 2006, John Sorkin wrote:> R 2.2.0 > windows XP > > I am beginning to explore the mitools package contributed by Thomas > Lumley (thank you Thomas) and I have a few questions: > > (1) In the examples given in the mitools documentation, the only family > argument used is family=binomial. Does the package support > family=gaussian and other link functions? I ran the with function with > family=gaussian and I obtained results, but I am not sure if gaussian is > supported by the package, so I don't know if I should trust the values I > obtained.Yes, it works with family="gaussian". It isn't even restricted to glm()s -- it works with anything that has coef() and vcov() methods> (2) In the documentation, the smi dataset is used i.e. data(smi). Could > someone tell me how I can print the data associated with smi? >I'm not sure you really want to do that: it is 5 x 12 x 1170 More useful might be str(smi) or with(smi, fun=head) However, if you do want to, either unclass(smi) or with(smi,fun=print) will work. -thomas Thomas Lumley Assoc. Professor, Biostatistics tlumley at u.washington.edu University of Washington, Seattle
Seemingly Similar Threads
- apply, t-test and p-values
- Rcmdr installalation under Viata gives a warning. Do I need to do anything?
- How can I obtain the values of BIAS and STD. ERROR from a bootstrap.
- Multivariable correlation
- Creating data for logistic regression and Cox proportional hazards regression