Re: [R] svyglm question (haps)

2012-06-29 Thread Pablo Domínguez Vaselli
It seems the var names you've put are not the same as in the design object: all variables must be in design= argument : that means the object you've assigned in mydesign - svydesign(ids=~vill_neigh_code+clust, strata=~strat, weights=~sweight, data=mydata) Check the spelling. Note that the

Re: [R] crosstable and regression for survey data (weighted)

2012-06-29 Thread Pablo Domínguez Vaselli
It seems the var names you've put are not the same as in the design object: all variables must be in design= argument : that means the object you've assigned in mydesign - svydesign(ids=~vill_neigh_code+clust, strata=~strat, weights=~sweight, data=mydata) Check the spelling. Note that the

Re: [R] crosstable and regression for survey data (weighted)

2012-06-22 Thread Pablo Domínguez Vaselli
Regarding regression models, there's a bit of discussion on whether or not it is necessary to take the sample design into account (for instance, SPSS doesn't), so you can run them just normally without much remorse. Or get your life complicated (see below). Your xtabs call seems OK to me.

Re: [R] References for book R In Action by Kabacoff

2011-12-02 Thread Pablo Domínguez Vaselli
The references are here: http://manning.com/kabacoff/excerpt_references.pdf (they will be included on the next printing too, got omitted by mistake) Regards, Pablo [[alternative HTML version deleted]] __ R-help@r-project.org mailing list

Re: [R] References for book R In Action by Kabacoff (Uwe Ligges)

2011-12-01 Thread Pablo Domínguez Vaselli
The references are here: http://manning.com/kabacoff/excerpt_references.pdf (they will be included on the next printing too, got omitted by mistake) regards, Pablo [[alternative HTML version deleted]] __ R-help@r-project.org mailing list