[R] confidence intervals of proportions from complex surveys

2007-09-05 Thread Dirk Enzmann
This is partly an R and partly a general statistics question. I'm trying to get confidence intervals of proportions (sometimes for subgroups) estimated from complex survey data. Because a function like prop.test() does not exist for the survey package I tried the following: 1) Define a survey

[R] How to reply to a thread if receiving R-help mails in digest form

2006-08-13 Thread Dirk Enzmann
in digest form? The posting guide is silent about this. Dirk * Dr. Dirk Enzmann Institute of Criminal Sciences Dept. of Criminology Edmund-Siemers-Allee 1 D-20146 Hamburg Germany phone: +49-(0)40-42838.7498 (office) +49-(0)40-42838.4591

Re: [R] Geometrical Interpretation of Eigen value and Eigen vector

2006-08-12 Thread Dirk Enzmann
Arun, have a look at: http://149.170.199.144/multivar/eigen.htm HTH, Dirk Arun Kumar Saha [EMAIL PROTECTED] wrote: It is not a R related problem rather than statistical/mathematical. However I am posting this query hoping that anyone can help me on this matter. My problem is to get the

Re: [R] NLME: Problem with plotting ranef vs a factor

2006-08-03 Thread Dirk Enzmann
Greg, be careful using attach() and detach(). From the syntax snippets you showed it seems that you did create an object pcat (factor variable), but you did not change the respective variable in your data frame. Try to remove pcat and see what happens do the results of lme()! Dirk

[R] standardized residuals (random effects) using nlme and ranef

2006-07-31 Thread Dirk Enzmann
, reproducible code. Dirk Enzmann wrote: Using ranef() (package nlme, version 3.1-75) with an 'lme' object I can obtain random effects for intercept and slope of a certain level (say: 1) - this corresponds to (say level 1) residuals in MLWin. Maybe I'm mistaken here, but the results are identical

[R] conflict of package Matrix and summary of lme object

2006-07-24 Thread Dirk Enzmann
* Dr. Dirk Enzmann Institute of Criminal Sciences Dept. of Criminology Edmund-Siemers-Allee 1 D-20146 Hamburg Germany phone: +49-(0)40-42838.7498 (office) +49-(0)40-42838.4591 (Billon) fax: +49-(0)40-42838.2344 email: [EMAIL PROTECTED] www: http://www2

[R] standardized random effects with ranef.lme()

2006-07-24 Thread Dirk Enzmann
) * Dr. Dirk Enzmann Institute of Criminal Sciences Dept. of Criminology Edmund-Siemers-Allee 1 D-20146 Hamburg Germany phone: +49-(0)40-42838.7498 (office) +49-(0)40-42838.4591 (Billon) fax: +49-(0)40-42838.2344 email: [EMAIL PROTECTED] www: http://www2.jura.uni

Re: [R] Problem with read.spss() and as.data.frame(), or: alternative to subset()?

2005-09-21 Thread Dirk Enzmann
version 2.1.1 Patched (2005-07-15) Package Foreign Version 0.8-10 Operating system: Windows XP Professional (5.1 (Build 2600)) CPU: Pentium Model 2 Stepping 9 RAM: 512 MB * Dr. Dirk Enzmann Institute of Criminal Sciences Dept. of Criminology

[R] Problem with read.spss() and as.data.frame(), or: alternative to subset()?

2005-09-20 Thread Dirk Enzmann
2.1.1 Patched (2005-07-15) Package Foreign Version 0.8-10 Operating system: Windows XP Professional (5.1 (Build 2600)) CPU: Pentium Model 2 Stepping 9 RAM: 512 MB * Dr. Dirk Enzmann Institute of Criminal Sciences Dept. of Criminology Edmund-Siemers

[R] Problem with read.spss() and as.data.frame(), or: alternative to subset()? (2)

2005-09-20 Thread Dirk Enzmann
In my previous mail there is a typo. Instead of d - subset(dr2000,dr2000$RBINZ99) I used d - subset(dr2000,dr2000$RBINZ99 0) * Dr. Dirk Enzmann Institute of Criminal Sciences Dept. of Criminology Edmund-Siemers-Allee 1 D-20146 Hamburg Germany

[R] using argument names (of indeterminate number) within a function

2005-07-19 Thread Dirk Enzmann
. Dirk Enzmann Institute of Criminal Sciences Dept. of Criminology Edmund-Siemers-Allee 1 D-20146 Hamburg Germany phone: +49-040-42838.7498 (office) +49-040-42838.4591 (Billon) fax: +49-040-42838.2344 email: [EMAIL PROTECTED] www: http://www2.jura.uni-hamburg.de/instkrim/kriminologie

Re: [R] skewness and kurtosis in e1071 correct?

2005-05-24 Thread Dirk Enzmann
by its first two moments. However there are two defnitions of kurotsis as it is often standardized such that the expectation is 0. * Dr. Dirk Enzmann Institute of Criminal Sciences Dept. of Criminology Edmund-Siemers-Allee 1 D-20146 Hamburg

Re: [R] skewness and kurtosis in e1071 correct? (correction)

2005-05-24 Thread Dirk Enzmann
. Dirk Enzmann Institute of Criminal Sciences Dept. of Criminology Edmund-Siemers-Allee 1 D-20146 Hamburg Germany phone: +49-040-42838.7498 (office) +49-040-42838.4591 (Billon) fax: +49-040-42838.2344 email: [EMAIL PROTECTED] www: http://www2.jura.uni-hamburg.de/instkrim/kriminologie

Re: [R] skewness and kurtosis in e1071 correct?

2005-05-24 Thread Dirk Enzmann
know why the thread of these mails are not included in the correct thread. Dirk -- * Dr. Dirk Enzmann Institute of Criminal Sciences Dept. of Criminology Edmund-Siemers-Allee 1 D-20146 Hamburg Germany phone: +49-040-42838.7498 (office) +49

[R] skewness and kurtosis in e1071 correct?

2005-05-22 Thread Dirk Enzmann
of the population parameters. Is there another definition of kurtosis and skewness that I am not aware of? Dirk -- * Dr. Dirk Enzmann Institute of Criminal Sciences Dept. of Criminology Edmund-Siemers-Allee 1 D-20146 Hamburg Germany phone: +49-040

[R] Source R code via menu File

2005-05-10 Thread Dirk Enzmann
(of R or of Windows) or is it a bug? R: version 2.1.0 patched (2005-04-18) Operating system: Windows XP (German) * Dr. Dirk Enzmann Institute of Criminal Sciences Dept. of Criminology Edmund-Siemers-Allee 1 D-20146 Hamburg Germany phone: +49-040

[R] par(new=TRUE) vs par(new=FALSE)

2005-03-14 Thread Dirk Enzmann
the mode of action of the par(new=TRUE) statement as it is now. Perhaps that helps me to understand better the way programmers tend to think. * Dr. Dirk Enzmann Institute of Criminal Sciences Dept. of Criminology Schlueterstr. 28 D-20146 Hamburg Germany

[R] Confidence intervals for rates (dependent events)

2005-02-08 Thread Dirk Enzmann
distribution and use this for constructing a confidence interval? How can this be done technically, for example by using nb.glm? Thanks in advance, Dirk * Dr. Dirk Enzmann Institute of Criminal Sciences Dept. of Criminology Schlueterstr. 28 D-20146 Hamburg

Re: [R] Percentages in contingency tables *warning trivial question*

2004-12-16 Thread Dirk Enzmann
) -- * Dr. Dirk Enzmann Institute of Criminal Sciences Dept. of Criminology Schlueterstr. 28 D-20146 Hamburg Germany phone: +49-040-42838.7498 (office) +49-040-42838.4591 (Billon) fax: +49-040-42838.2344 email: [EMAIL PROTECTED] www: http://www2.jura.uni-hamburg.de/instkrim/kriminologie

[R] Zero inflated count models

2003-09-21 Thread Dirk Enzmann
* Dr. Dirk Enzmann Criminological Research Institute of Lower Saxony Luetzerodestr. 9 D-30161 Hannover Germany phone: +49-511-348.36.32 fax: +49-511-348.36.10 email: [EMAIL PROTECTED] http://www.kfn.de __ [EMAIL PROTECTED

[R] Zero inflated count models (2)

2003-09-21 Thread Dirk Enzmann
In my previous mail, meant to say negative binomial regression (not negative poisson), of course. Dirk * Dr. Dirk Enzmann Criminological Research Institute of Lower Saxony Luetzerodestr. 9 D-30161 Hannover Germany phone: +49-511-348.36.32 fax

[R] Job Announcement

2003-09-19 Thread Dirk Enzmann
://www.kfn.de/KFN_180903.pdf Application deadline is October 12, 2003, but applications will be accepted until the position is filled. More information about the Institute is available at our home page http://www.kfn.de * Dr. Dirk Enzmann Criminological

[R] Update VR_7.1-6

2003-06-04 Thread Dirk Enzmann
problems, except of dse_2003.4-1 with a similar error message. Why? Operating System: Windows NT (4.0) R Version: R 1.7.0 * Dr. Dirk Enzmann Criminological Research Institute of Lower Saxony Luetzerodestr. 9 D-30161 Hannover Germany phone: +49-511