search for: svychisq

Displaying 8 results from an estimated 8 matches for "svychisq".

2012 May 24
1
svychisq using two frames
...ommunity answering in the different years. Everything loads into the survey design fine and I can calculate the means and CIs I need. I want to calculate whether there was a change in a single variable between years. The variable of interest has binary yes/no answers. I was planning to use the ?svychisq? function, but cannot figure out how to do this across what is currently two data frames. I haven?t actually tried to run a svychisq with the two frames yet as I am waiting on the data for the second frame. I?m trying to plan out the logic ahead of time. So, let?s say I have survey design frame...
2010 May 09
1
Dimensions on svychisq on svydesign
Dear Forum I a running svychisq from the survey package and get errors with the number of dimensions, errors that I do not understand and do not know how to fix. I ask you kindly to help me out. The eror message follows with some information below. I hope there are enough information to help me to fix the problem if not please...
2007 May 18
1
svychisq
Dear All I am trying to use svychisq with a two-dimensional table 4 x 5. The command I am using is summary(svytable(~dietperception+dietstatus,dudleyls1rake,na.rm=TRUE),"C hisq") It is throwing up an error message as follows: Error in NCOL(y) : only 0's may be mixed with negative subscripts In addition: Warning messa...
2012 May 31
1
svychisq??
Hello forum, I want to do a test of independence with svychisq, but I get an error, then this my code: am18 <- read.spss("C:/Users/diana/Dropbox/Semestre 10/Tesis 10/Tesis Diana/AMcomuna18-29MAR2012.sav", use.value.labels=TRUE, max.value.labels=Inf, to.data.frame=TRUE) b<-matrix(c(am18$N6_MANZANA),ncol=1) c<-matrix(c(am18$PM1_1_PON...
2010 May 20
2
Svy function doesn't work nested in user-defined function
...n the original request. Not to mention I couldn't cut and paste yesterday because I was working R off a non-network computer while asking for help on a network computer. Essentially, I have this user-defined function: test <- function(X){ chisq <- svychisq(~X + SEX, design=audit, statisic="adjWald", round=4) } test(con) "con" is a data variable in my design object audit. When I just run: chisq <- svychisq(~X + SEX, design=audit, statisic="adjWald", round=4) It works just fine. It's only when it'...
2024 Jan 17
1
Is there any design based two proportions z test?
Dear Md Kamruzzaman, To answer your second question first, you could just use the svychisq() function. The difference-of-proportion test is equivalent to a chisquare test for the 2-by-2 table. You don't say how you computed the confidence intervals for the two separate proportions, but if you have their standard errors (and if not, you should be able to infer them from the confi...
2024 Jan 17
1
Is there any design based two proportions z test?
Hello Everyone, I was analysing big survey data using survey packages on RStudio. Survey package allows survey data analysis with the design effect.The survey package included functions for all other statistical analysis except two-proportion z tests. I was trying to calculate the difference in prevalence of Diabetes and Prediabetes between the year 2011 and 2017 (with 95%CI). I was able to
2024 Jan 18
0
Is there any design based two proportions z test?
...---------------- > > */Md Kamruzzaman/* > > > > On Thu, Jan 18, 2024 at 12:44?AM John Fox <jfox at mcmaster.ca > <mailto:jfox at mcmaster.ca>> wrote: > > Dear Md Kamruzzaman, > > To answer your second question first, you could just use the svychisq() > function. The difference-of-proportion test is equivalent to a > chisquare > test for the 2-by-2 table. > > You don't say how you computed the confidence intervals for the two > separate proportions, but if you have their standard errors (and if >...