Displaying 1 result from an estimated 1 matches for "matchingmodel".
2010 Jan 21
1
Rscript question
...orm, sep="~"))
cat("The propensity score formula\n")
form
#####
## Calculate the fitted values
fv <- glm(form, family=binomial(link="logit"), data=df1)$fitted.values
Output from Rscript with the error:
running
'/usr/lib/R/bin/R --slave --no-restore --file=./matchingModel --args
mmtest'
...
'data.frame': 5000 obs. of 8 variables:
$ id : int 1 2 3 4 5 6 7 8 9 10 ...
$ y : num -0.148 1.139 -1.164 -1.13 -0.365 ...
$ C.1 : num 0.2603 0.328 0.6848 0.3909 0.0184 ...
$ C.2 : num 0.64403 0.7233 0.00284 0.42691 0.90681 ...
$ C.24: Factor w/ 4 levels "a"...