Re: [R] Problem with svyvar in survey package

2011-11-03 Thread amitava
Thank you Sir.Now it is giving results correctly. --Amitava -- View this message in context: http://r.789695.n4.nabble.com/Problem-with-svyvar-in-survey-package-tp3932818p3984390.html Sent from the R help mailing list archive at Nabble.com. __ R-help@

Re: [R] Problem with svyvar in survey package

2011-10-30 Thread Thomas Lumley
Well, you need to use the current version, then. -thomas On Fri, Oct 28, 2011 at 10:09 PM, amitava wrote: > I am using Package survey version 3.20 and R 2.11.1. > > --Amitava > > -- > View this message in context: > http://r.789695.n4.nabble.com/Problem-with-svyvar-in-survey-package-tp39328

Re: [R] Problem with svyvar in survey package

2011-10-28 Thread amitava
I am using Package survey version 3.20 and R 2.11.1. --Amitava -- View this message in context: http://r.789695.n4.nabble.com/Problem-with-svyvar-in-survey-package-tp3932818p3947306.html Sent from the R help mailing list archive at Nabble.com. __ R-he

Re: [R] Problem with svyvar in survey package

2011-10-25 Thread Thomas Lumley
Yes, but you didn't answer the question: what version of the package are you using? -thomas On Tue, Oct 25, 2011 at 3:03 AM, amitava wrote: > Respected Sir >        Thanks for your reply.I am giving a part of my output to clarify my > problem. > > > > >> s=sample(N,n,replace=F) >> print(s) >

Re: [R] Problem with svyvar in survey package

2011-10-25 Thread amitava
Respected Sir Thanks for your reply.I am giving a part of my output to clarify my problem. > s=sample(N,n,replace=F) > print(s) [1] 6 29 27 44 37 43 1 10 26 20 > srswor_sample_data=getdata(salarydata,s) > attach(srswor_sample_data,warn.conflicts=F) > dsrswor=svydesign(id=~1,weights=r

Re: [R] Problem with svyvar in survey package

2011-10-24 Thread Thomas Lumley
On Mon, Oct 24, 2011 at 4:21 AM, amitava wrote: > I am facing a problem with a function in survey package. The function svyvar > gives the estimated population variance from a given sampling scheme.  I am > working with a data having more than four continuous variables. In order to > have have pop

[R] Problem with svyvar in survey package

2011-10-24 Thread amitava
I am facing a problem with a function in survey package. The function svyvar gives the estimated population variance from a given sampling scheme. I am working with a data having more than four continuous variables. In order to have have population total for all those cont. variables I have writte