[R] p values from GLM

John Sorkin JSorkin at grecc.umaryland.edu
Sat Apr 2 00:14:34 CEST 2016

How can I get the p values from a glm ? I want to get the p values so I can add them to a custom report
 fitwean<- glm(data[,"JWean"]~data[,"Group"],data=data,family=binomial(link ="logit"))
 summary(fitwean)             # This lists the coefficeints, SEs, z and p values, but I can't isolate the pvalues.
 names(summary(fitwean))  # I see the coefficients, but not the p values
 names(fitmens)                  # p values are not found here.
Thank you!
John David Sorkin M.D., Ph.D.
Professor of Medicine
Chief, Biostatistics and Informatics
University of Maryland School of Medicine Division of Gerontology and Geriatric Medicine
Baltimore VA Medical Center
10 North Greene Street
Baltimore, MD 21201-1524
(Phone) 410-605-7119
(Fax) 410-605-7913 (Please call phone number above prior to faxing) 

Confidentiality Statement:
This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. 

More information about the R-help mailing list