Re: [R] how to extract p-value in GenMatch function

2012-07-16 Thread shyam basnet
Dear Peter, Thanks for your kind help. I got the solution now. Best Regards, Shyam > > From: Peter Ehlers >To: shyam basnet >Cc: "r-help@R-project.org" >Sent: Monday, July 16, 2012 1:16 AM >Subject: Re: [R] how to extract

Re: [R] how to extract p-value in GenMatch function

2012-07-15 Thread Peter Ehlers
On 2012-07-15 14:37, shyam basnet wrote: Dear R-Users, I have a problem on extracting T-Stat and P-Value. I have written R-code below library("Matching") data("lalonde") attach(lalonde) names(lalonde) Y<- lalonde$re78 Tr<- lalonde$treat glm1<- glm(Tr~age+educ+black+hisp+married+nodegr+re74+r

[R] how to extract p-value in GenMatch function

2012-07-15 Thread shyam basnet
Dear R-Users, I have a problem on extracting T-Stat and P-Value. I have written R-code below library("Matching") data("lalonde") attach(lalonde) names(lalonde) Y <- lalonde$re78 Tr <- lalonde$treat glm1 <- glm(Tr~age+educ+black+hisp+married+nodegr+re74+re75,family=binomial,data=lalonde) pscor