Displaying 1 result from an estimated 1 matches for "notcov".
Did you mean:
notch
2005 Apr 12
1
calling svydesign function that uses model.frame
...I am
passing parameters incorrectly but am not sure how to correct the
problem.
## Call the main function PS.sim (one of mine). The dots are
parameters I omitted to simplify the question.
## y.col, str.col, clus.id, and PS.col are names of columns in the
object pop.
PS.sim(pop=small, y.col="NOTCOV",
...,str.col="new.str", clus.id="new.psu",
PS.col="PS.var", ...)
## A data.frame called sam.dat is generated by PS.sim. Its first 3
lines are:
ID new.str PS.var new.psu NOTCOV wts
213 1 3 2 2 37.7
236...