Displaying 20 results from an estimated 100 matches similar to: "Fw: Complex sampling survey _ Use of survey package"
2008 Sep 11
1
Complex sampling survey _ Use of survey package
Hello everybody
I don't understand how I'm supposed to use svydesign caracteristics to explain to R that my sampling design is the following one
Data base = tab1 here are the five first rows of the database (nrow = 11792)
num
esp
Quarters
Totcat
Totshp
Totgt
Tbtpos
fpc1
Totanim
Id_An
10
2045
G
2008 Sep 09
1
survey package
Version 3.9 of the survey package is now on CRAN. Since the last
announcement (version 3.6-11, about a year ago) the main changes are
- Database-backed survey objects: the data can live in a SQLite (or other
DBI-compatible) database and be loaded as needed.
- Ordinal logistic regression
- Support for the 'mitools' package and multiply-imputed data
- Conditioning plots,
2008 Sep 09
1
survey package
Version 3.9 of the survey package is now on CRAN. Since the last
announcement (version 3.6-11, about a year ago) the main changes are
- Database-backed survey objects: the data can live in a SQLite (or other
DBI-compatible) database and be loaded as needed.
- Ordinal logistic regression
- Support for the 'mitools' package and multiply-imputed data
- Conditioning plots,
2008 Jan 04
1
Help on odfWeave package
Hi R users !
I'm trying to use odfWeave package
I have a problem with unzipping files : when I try to run the example given in odfWeave help I get this error message :
Copying C:/Documents and Settings/stgduclos/Mes documents/R/win-library/2.6/odfWeave/examples/simple.odt Setting wd to C:\DOCUME~1\STGDUC~1\LOCALS~1\Temp\RtmpzfZ6ye/odfWeave04141446464 Unzipping ODF file using
2005 Oct 09
1
enter a survey design in survey2.9
Hi dears,
I expect that Mr Thomas Lumley will read this message.
I have data from a complexe stratified survey. The population is divide in 12 regions and a region consist to and urban area and rural one. there to region just with urbain area.
stratification variable is a combinaison of region and area type (urban/rural)
In rural area, subdivision are sample with probabilties proporionnal to
2011 Aug 23
1
pMCMC and HPD in MCMCglmm
Dear R users,
I?d like to pose aquestion about pMCMC and HDP.
I have performed a mixed logistic regression by MCMCglmm (a very good package)
obtaining the following results:
Iterations = 250001:799901
Thinning interval = 100
Sample size = 5500
DIC: 10.17416
G-structure: ~ID_an
post.mean l-95% CI u-95% CIeff.samp
ID_an 0.7023 0.0001367 3.678 2126
R-structure: ~units
post.mean l-95%
2012 Oct 03
2
Creating tiff with 1200 dpi
Hi all,
I am trying to create images in R suitable for journal publication. I'd
like to make an image that is 3.6" wide and 5.08" length, and 1200 dpi.
When I create a tiff file that is 800 dpi and 4x4", it works (although
doesn't look good).
But when I create a tiff that is the size and dpi I want, it doesn't
work. I get the following error:
Error in tiff(filename =
2012 Oct 18
3
svyplot and svysmooth with hexbin
Hi all-
So sorry to bother you all with something pretty basic.
I am trying to add the lines method output from svysmooth to a svyplot with style="grayhex". However, the line either appears in the wrong place or if I am running in R Studio it causes the system to crash.
I know this is something to do with Lattice graphics, but for the life of me I can not figure out how. Dr. Lumley
2003 Oct 02
8
r editors
Hi ,
I am programming on a windows system and have problems
using notepad which is my main editor.Each time I try
to open the editor from the R IDE, R crashes.
So I always have to copy my codes from notepad and
paste in R to run them.
CAn someone tell me if I am doing anything wrong or is
there a better editor(freeware) which I could get.
thanks
cilver
=====
=====================
Sylvie B.
2003 Dec 06
2
Precision
Hi,
I would like to increase the Precision of R by
increasing the Number of decimal places in
calcultaions. I get about 7 decimal places and would
like to have over 15. is the a means to inflence this?
Thanks
=====
=====================
Sylvie B. Forkusam
Eppelheimer Str.52/A2-5-2
69115 Heidelberg, Germany
Tel: (0049)-06221/346913
Mobile: 0179-6816276
2011 Mar 07
1
Risk differences with survey package
I'm trying to use the survey package to calculate a risk difference with
confidence interval for binge drinking between sexes. Variables are
X_RFBING2 (Yes, No) and SEX. Both are factors. I can get the group
prevalences easily enough with
result <- svyby(~X_RFBING2, ~SEX, la04.svy, svymean, na.rm = TRUE)
and then extract components from the svyby object with SE() and coef() to
do the
2016 Apr 30
0
Unexpected scores from weighted PCA with svyprcomp()
Hello!
I'd like to create an assets-based economic indicator using data from a
national household survey. The economic indicator is to be the first
principal component from a principal components analysis, which (given
the source of the data) I believe should take in consideration the
sampling weights of the observations. After running the PCA with
svyprcomp(), from the survey package, I
2003 Nov 20
2
reading data rows
I have problems reading a file with more than one row
to carry out mathematical calculations
I have a a file of the form
mu1 mu2 alpha beta Wsigma sigmaA b r
25 15 .05 .05 22 3 .3 .5
30 20 .1 .2 22 .3 .3 .5
I intend to read one row , carry out the calculations
and then the next row with which I intend to do the
same calculations.
I do the following.
2003 Sep 30
1
variables
Hi,
can someone please help me.
I will give a simple example of my problem.
p <- function()
{
i <- 1
sr <- function(){
i<-i+3
i<- sqrt(i)
}
cat(i)
}
This is just an example. My main problem is defining
i like a global variable which I can use in the sub-
and main functions without any complicated switches.
Thanks in advance.
cilver
=====
=====================
Sylvie B.
2004 Jan 22
1
error message
Hi,
Can someone please tell me what such an error message
could mean. i.e where a problem must have arised.
Error in uniroot(function(n) eval(p.body) - power,
c(2, 1e+07)) :
f() values at end points not of opposite sign
Thank you
cilver
=====
=====================
Sylvie B. Forkusam
Eppelheimer Str.52/A2-5-2
69115 Heidelberg, Germany
Tel: (0049)-06221/346913
Mobile: 0179-6816276
1999 Jan 28
0
win95 & NT4 concurent access to paradox database
Hi,
I use samba for one year only, but with full satisfaction. Only with
latest cvs tree I discovered some (maybe particular) problem. In mixed
environment of win95oemII and NT4 workst (sp3 or sp4) we share some
Paradox 7.0 database on linux server (Rh5.2 and 2.2.0-pre1 kernel).
Paradox controls multiuser access to the data with three files:
PDOXUSRS.NET (user names etc?), and two lock files,
2003 Nov 20
3
read.table(..)..Help?
Hallo,
can someone please help me.
I have a proplem reading a file with more that one
rows.
e.g I used the function:
p<-read.table(file="FILENAME ", header=TRUE,sep=";")
and later used the data.Frame() function.
It functions when the file has only a row of
variables.
When I insert the second row I get an error message.
How do I do this
=====
=====================
Sylvie
2010 Aug 22
1
fortune? (was: Re: How do you make a formal "feature" request?)
Dear all
I was wondering whether such a long post could be fortune-ed. What do you think?
Regards
Liviu
On Sat, Aug 21, 2010 at 9:33 PM, Sharpie <chuck at sharpsteen.net> wrote:
> Well, I can think of three ways it can go down:
>
>
> 1. ?You want a shiny new pony.
>
> You ask about it on the mailing list and it seems that everyone else in the
> world responds
2018 Jun 06
7
git public web frontends
Hello,
Set up a CentOS 7.5 VM linode for git now that github has been bought.
I'm not anti-microsoft but I'm worried they will make changes that I
don't like (e.g. requiring ms account, changing billing, etc.) so I
figured better take control now.
Currently moving my private repos and have them set up in my home
directory there, but my public repos - I want to set them up with a
2010 Aug 21
9
How do you make a formal "feature" request?
Who decides what features are in R and how they are implemented? If there is someone here who has that authority I have this request:
A report() function analogous to the plot() function that makes it easy to generate a report from a table of data. This should not be in some auxiliary package, but part of the core R just like plot(). As a long time SAS user I cannot believe R does not have this.