similar to: Getting information encoded in a SAS, SPSS or Stata command file into R.

Displaying 20 results from an estimated 10000 matches similar to: "Getting information encoded in a SAS, SPSS or Stata command file into R."

2011 Oct 27
2
Consistant test for NAs in a factor when exclude = NULL?
Dear folks? Is there a function to correctly find (and count) the NAs in a factor when exclude=NULL, regardless of whether their origin is in the original data or by subsequent assignment? In example number 1 below, where NAs are assigned by is.na()<-, testing the factor with is.na() finds the correct number of NAs. In example number 2, where the NAs are from the data, neither is.na(), ==NA,
2017 Jun 27
2
Problema en lectura de datos. Memoria insuficiente
Gracias Eric Actualmente no tengo SPSS instalado en mi computador ni tengo licencia. El survey solo tiene los datos en formato SPSS o en formato de STATA (.dta). Creo que estos últimos se pueden leer con read.dta, de la library(foreign). Pero entiendo que darán el mismo problema 2017-06-26 17:08 GMT-05:00 eric <ericconchamunoz en gmail.com>: > Hola antonio, cuando tengo que leer datos
2017 Jun 24
4
Problema en lectura de datos. Memoria insuficiente
Buenos días Estoy intentando leer una base de datos correspondiente al World Values Survey desde 1981 a 2014. Contiene variables por columnas, y observaciones correspondientes a individuos de diferentes países. Podría tener como aprox. 1000 variables, y mas de 60,000 individuos por año. Esta es la información que obtengo de mi RStudio. > sessionInfo()R version 3.3.2 (2016-10-31) Platform:
2007 Apr 10
1
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
2008 Jan 16
1
Probability weights with density estimation
I am a physician examining an NHANES dataset available at the NCHS website: http://www.cdc.gov/nchs/about/major/nhanes/nhanes2005-2006/demo_d.xpt http://www.cdc.gov/nchs/about/major/nhanes/nhanes2005-2006/hdl_d.xpt http://www.cdc.gov/nchs/about/major/nhanes/nhanes2005-2006/tchol_d.xpt Thank you to the R authors and the foreign package authors in particular. Importing from the SAS export
2008 Aug 20
2
Quantile regression with complex survey data
Dear there, I am working on the NHANES survey data, and want to apply quantile regression on these complex survey data. Does anyone know how to do this? Thank you in advance, Yiling Cheng Yiling J. Cheng MD, PhD Epidemiologist CoCHP, Division of Diabetes Translation Centers for Disease Control and Prevention 4770 Buford Highway, N.E. Mailstop K-10 Atlanta, GA 30341 [[alternative HTML
2009 Nov 09
3
Hand-crafting an .RData file
Hello, I frequently have to export a large quantity of data from some source (for example, a database, or a hand-written perl script) and then read it into R. This occasionally takes a lot of time; I'm usually using read.table("filename",comment.char="",quote="") to read the data once it is written to disk. However, I *know* that the program that generates
2010 Mar 02
4
two questions for R beginner
>>> What were your biggest misconceptions or >>> stumbling blocks to getting up and running >>> with R? Easy. I terms of materials I have been unable to find good books that introduce users to R from the perspective of someone familiar only with packages like SPSS or STATA, or not familiar with statistics packages at all. Even introduction texts use jargon
2007 Jan 30
2
R and S-Plus got the different results of principal component analysis from SAS, why?
Dear Rusers, I have met a difficult problem on explaining the differences of principal component analysis(PCA) between R,S-PLUS and SAS/STATA/SPSS, which wasn't met before. Althought they have got the same eigenvalues, their coeffiecients were different. First, I list my results from R,S-PLUS and SAS/STATA/SPSS, and then show the original dataset, hoping sb. to try and explain it.
2006 Jan 01
20
A comment about R:
Readers of this list might be interested in the following commenta about R. In a recent report, by Michael N. Mitchell http://www.ats.ucla.edu/stat/technicalreports/ says about R: "Perhaps the most notable exception to this discussion is R, a language for statistical computing and graphics. R is free to download under the terms of the GNU General Public License (see http://www.r-project.
2010 Jun 20
6
Popularity of R, SAS, SPSS, Stata...
Hi All, I've been fiddling around with various ways to estimate the popularity of R, SAS, SPSS, Stata, JMP, Minitab, Statistica, Systat, BMDP, S-PLUS, R-PLUS and Revolution R. It's not an easy task. You can see what I've come up with so far at http://r4stats.com/popularity . I'm sure people will have plenty of ideas on how to improve this, so please let me know what you think.
2013 Dec 09
2
How can I find nonstandard or control characters in a large file?
I have a humongous csv file containing census data, far too big to read into RAM. I have been trying to extract individual columns from this file using the colbycol package. This works for certain subsets of the columns, but not for others. I have not yet been able to precisely identify the problem columns, as there are 731 columns and running colbycol on the file on my old slow machine takes
2004 Aug 19
6
Is R good for not-professional-statistician, un-mathematical clinical researchers?
Alternate title: How can I persuade my students that R is for them? Alternate title: Can R replace SAS, SPSS or Stata for clinicians? I am teaching introductory statistics to twelve physicians and two veterinarians who have enrolled in a Mentored Clinical Research Training Program. My course is the first in a sequence of three. We (the instructors of this sequence) chose to teach R rather than
2011 Aug 26
3
elegant way to check if 2 values are in 3 columns?
Dear all, I'm trying to rerun some data linkage exercises in R (they are designed to be done in SPSS, SAS or STATA) The exercise in question is to relabel the column "treat" to "1", if "yearsep" is smaller than 1988 and columns "proc1"-"proc3" contain the values 56.36 or 59.81. My pathetic solution to do this in R currently looks like
2018 Feb 12
3
RStudio, Spss, SAS, Stata, txt
Estimados Hoy instale RStudio, y por sorpresa o desconocimiento de mi parte, veo que hay la posibilidad de importar datos excel, spss, sas, stata, texto, recuerdo consultas en la lista al respecto, posiblemente mucho se soluciones con las herramientas propuestas por RStudio. Javier Rubén Marcuzzi [[alternative HTML version deleted]]
2020 Oct 27
1
Exporting SPSS Dataset to STATA format
*Dear Sir/Madam,* * Subject : Exporting SPSS Dataset to STATA format* I have a SPSS file which i am able to import into R via Rcmdr or Rstudio. But i am unable to export the same file into STATA format. It would be kind of you to kindly help me achieve the same and send me a sample R script whcih could be used for the same purpose. *Thanks and Regards* *Nelgyn Tennyson *
2004 Feb 01
4
Assistance with data import from Statistica
I am a new R user attempting to convert files from Statistica to R. I can export from Statistica to SPSS .por format, but not to the SPSS .sav format. Is there a procedure for easily accomplishing this, which will allow me to keep variable short and long labels (big surveys LOTS of time to replace all this work). Many thanks for sharing your time and knowledge. steve Dr Steven M Burgess
2009 Dec 28
2
WHO Anthro growth curve macros and R
Hi all, I've got a project where I have to calculate weight-for-age Z-scores, preferably using the WHO standards. WHO have been very nice to publish macros for doing this in both STATA,SPSS, SAS and Splus formats (see http://www.who.int/childgrowth/software/en/), but for some reason have chosen not to use the free R alternative to Splus. In the Splus zipfile there are nine datafiles with a
2023 Mar 30
1
Problems with foreign
Good day My name is Jos? Oscar, I'm from Mexico and I have some questions about foreign in your write.foreig( ) function. We know that this function generates the inputs to be able to run them or execute them in another program like SPSS, SAS or Stata. In these cases, when creating an example file, a matrix and using the function to execute the .sps file directly from SPSS, I don't care or
2009 Oct 28
3
variable labels to accompany data.frame
Often it is useful to keep a "codebook" to document the contents of a dataset. (By "dataset" I mean a rectangular structure such as a dataframe.) The codebook has as many rows as the dataset has columns (variables, fields). The columns (fields) of the codebook may include: ? variable name ? type (character, factor, integer, etc) ? variable label