[R] Using Sampling Weights in R
Dear List, I have a dataset that provides sampling weights (National Survey of Family Growth 2002). I want to produce a cross-tabulation and use the provided sampling weights to obtain representative population estimates. (I believe they are simply frequency weights but codebook is uninformative). I can reproduce results (using this data) that were reported in a recent journal article, if I use SPSS or STATA--specifying the weight. Does anyone know how to do this in R? I have read a lot of documentation and this is my last resort. Thanks in advance, Tom Volscho __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[R] Update error in Fedora Core 3
Dear List, I am new to Linux and I just installed Fedora Core 3 (workstation installation) on my PC--software came from a book called Red Hate Linux Fedora 3 Unleashed. Installing R was relatively easy. I ran into a problem, however. After typing "Update.Packages()" I am able to download them, but I then get the following output: /usr/lib/R/bin/Rcmd: line 45: exec: INSTALL: not found /usr/lib/R/bin/Rcmd: line 45: exec: INSTALL: not found /usr/lib/R/bin/Rcmd: line 45: exec: INSTALL: not found /usr/lib/R/bin/Rcmd: line 45: exec: INSTALL: not found /usr/lib/R/bin/Rcmd: line 45: exec: INSTALL: not found /usr/lib/R/bin/Rcmd: line 45: exec: INSTALL: not found /usr/lib/R/bin/Rcmd: line 45: exec: INSTALL: not found /usr/lib/R/bin/Rcmd: line 45: exec: INSTALL: not found After deleting downloaded files, I get: Warning messages: 1: Installation of package KernSmooth had non-zero exit status in: install.packages(update[, "Package"], instlib, contriburl = contriburl, 2: Installation of package VR had non-zero exit status in: install.packages(update[, "Package"], instlib, contriburl = contriburl, 3: Installation of package boot had non-zero exit status in: install.packages(update[, "Package"], instlib, contriburl = contriburl, 4: Installation of package cluster had non-zero exit status in: install.packages(update[, "Package"], instlib, contriburl = contriburl, 5: Installation of package foreign had non-zero exit status in: install.packages(update[, "Package"], instlib, contriburl = contriburl, 6: Installation of package lattice had non-zero exit status in: install.packages(update[, "Package"], instlib, contriburl = contriburl, 7: Installation of package rpart had non-zero exit status in: install.packages(update[, "Package"], instlib, contriburl = contriburl, 8: Installation of package survival had non-zero exit status in: install.packages(update[, "Package"], instlib, contriburl = contriburl, Does anyone know how to resolve this? Am I using the wrong command to update? I just switched from using R in Windows. Thank you for your input. -Tom Thomas W. Volscho Graduate Student Dept. of Sociology U-2068 University of Connecticut Storrs, CT 06269 Phone: (860) 486-3882 http://vm.uconn.edu/~twv1 __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
[R] Installing R on Xandros 3.0
Dear List, After obtaining a second-hand PC and because XP costs too much, I installed Xandros 3.0 (based on Debian) but pretty easy to use if migrating from WinXP. Does anyone know how to install R on this OS? Thank you for your time, Tom Volscho Thomas W. Volscho Graduate Student Dept. of Sociology U-2068 University of Connecticut Storrs, CT 06269 Phone: (860) 486-3882 http://vm.uconn.edu/~twv1 __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
[R] switching to Linux, suggestions?
Dear List, I have acquired a new desktop and wanted to put a free OS on it. I am trying Fedora Core 1, but not sure what the best Linux OS is for using R 2.0.1? Thank you in advance for your input, Tom Volscho Thomas W. Volscho Graduate Student Dept. of Sociology U-2068 University of Connecticut Storrs, CT 06269 Phone: (860) 486-3882 http://vm.uconn.edu/~twv1 __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
[R] Enormous Datasets
Dear List, I have some projects where I use enormous datasets. For instance, the 5% PUMS microdata from the Census Bureau. After deleting cases I may have a dataset with 7 million+ rows and 50+ columns. Will R handle a datafile of this size? If so, how? Thank you in advance, Tom Volscho Thomas W. Volscho Graduate Student Dept. of Sociology U-2068 University of Connecticut Storrs, CT 06269 Phone: (860) 486-3882 http://vm.uconn.edu/~twv1 __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
[R] Obtaining fitted model information
Dear list, I am brand new to R and using Dalgaard's (2002) book Introductory Statistics with R (thus, some of my terminology may be incorrect). I am fitting regression models and I want to use Hurvich and Tsai's AICC statistic to examine my regression models. This penalty can be expressed as: 2*npar * (n/(n-npar-1)). While you can obtain AIC, BIC, and logLik, I want to impose the AICC penalty instead. After fitting a model. Is there a way of obtaining the "npar" and then assigning it to a variable? Essentially, I want to then write a simple function to add the AICC penalty to (-2*logLik). Thank you in advance for any help, Tom Volscho ******** Thomas W. Volscho Graduate Student Dept. of Sociology U-2068 University of Connecticut Storrs, CT 06269 Phone: (860) 486-3882 http://vm.uconn.edu/~twv1 __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html