search for: memisc

Displaying 20 results from an estimated 65 matches for "memisc".

2008 Aug 25
1
Output to Latex using Memisc almost works
Hello, I'm using memisc to output regression results to tables and latex. My problem is that the output that Latex needs must be in between $ $ so that it is read as formula but memisc does not output the result between $ $. For example, latex needs: $0.05^{***}$ and memisc outputs 0.05^{***} in an entry. I am new to L...
2012 Jul 24
3
package memisc: recode examples
Dear people, Yesterday I looked at the recode command in the memisc package and ran the following example stated in the manual: x <- as.item(sample(1:6,20,replace=TRUE), labels=c( a=1, b=2, c=3, d=4, e=5, f=6)) print(x) f <- as.fac...
2011 Feb 13
2
Recoding using the memisc package
Dear All, I am trying to recode a variable using the functions provided by "memisc" package. Actually I am following the examples on page 9-10 of the vignette: -------------------------------------------------------------------------- d.fig <- within(d.fig,{ sev <- recode(sev, 1 -> 0.9, 2 -> 1.0, 3 -> 1.1,...
2008 Oct 06
0
New verision 0.95 of package 'memisc' released to CRAN
Dear useRs, I am pleased to announce the availability of version 0.95 of package 'memisc' on CRAN (http://cran.r-project.org/web/packages/memisc/). 'memisc' does not implement any new estimators, but focuses on providing an infrastructure for data analysis especially of survey data. It may be of interest to all those who have had to use a commercial package like SPSS or...
2008 Oct 06
0
New verision 0.95 of package 'memisc' released to CRAN
Dear useRs, I am pleased to announce the availability of version 0.95 of package 'memisc' on CRAN (http://cran.r-project.org/web/packages/memisc/). 'memisc' does not implement any new estimators, but focuses on providing an infrastructure for data analysis especially of survey data. It may be of interest to all those who have had to use a commercial package like SPSS or...
2012 Jul 25
1
Memisc package: imported varibles from SPSS have got wrong measurement
Dear list members, I have got another problem. I imported an SPSS file with the Memisc package using the following commands: mz <- spss.system.file("myspssfile.sav") mz <- subset(mz,select=c( bsex,balt,xurb,dtaet,kartab,bgeb,boseit,bgeblan,xnuts2,kausb,xerwstat, asbper,asbhh,ajahr,aquartal,bstaat,xwieoft,gew1,apkz,bpkzm,bpkzv)) Afterwards I checked the measuremen...
2011 Jan 06
2
memisc-Tables with robost standard errors
Hello, I've got a question concerning the usage of robust standard errors in regression using lm() and exporting the summaries to LaTeX using the memisc-packages function mtable(): Is there any possibility to use robust errors which are obtained by vcovHC() when generating the LateX-output by mtable()? I tried to manipulate the lm-object by appending the "new" covariance matrix but mtable seems to generate the summary itself since it...
2008 Mar 13
2
recover masked functions?
Hi, I have loaded the packages car, memisc, Hmisc and all of these implement the function recode. The order in which the packages are loaded depends on the order I execute my scripts and thus is not always the same and the syntax of the recode function changes with the package. Is there any way to call specificly the memisc recode function...
2011 Aug 04
1
How to get the test statistic corresponding to the p-value in mtable?
Dear R-Users, I want to use mtable from package "memisc" to produce Latex-style estimation output. However, mtable() only gives me a p-value and not the corresponding test-statistic. Does anyone know how to extract it, either from a glm/anova object or mtable? Here is a short example: # Run this #################### install.packages("memisc&q...
2008 Aug 29
0
memisc package and rounding
Greetings, Is there a way to control the number of digits after the decimal from linear regression output using the memisc package? I have tried the following code, but it does not work: fm <- lm(y ~ X) mtable(fm, digits=9) The default seems to be 3 digits after the decimal. Also, is there a way in general to control the number of digits after the decimal? Thank you! Geoff
2013 Jan 16
1
Read.dta and Write.dta Binary Data Error
Thanks in advance. I pass data sets between R and Stata and think dta files would be the best files for this. To do this I can use package foreign or package memisc. I mostly use foreign, although have used memisc and this problem mostly didn't happen, but created errors at other times. I have a csv data set (and created a test case) with with at least one column completely missing. This eventually creates the error. My list of commands are: data <-...
2012 Dec 16
1
lyx knitr y toLatex
Hola. Estoy utilizando lyx con el módulo de knitr y tengo un problemilla con la función toLatex del paquete memisc. Pongo un ejemplo mejor. En Rstudio lo puedo hacer como sigue en un fichero Rnw. y la tabla en el pdf aparece alineada en el pdf. \documentclass{article} \usepackage{booktabs} \usepackage{dcolumn} \begin{document} <<>>= library(memisc) X1 <- rnorm(1000) X2 <- rnorm(1000) X3...
2012 May 01
1
error bars for a barchart
...hange, auto.key=list(points=FALSE,rectangles=TRUE), panel=function(x, y,...){ panel.barchart(x,y,origin = 0,...); panel.abline(h=0,col="black",...); } ) I have tried using the panel.errbars from the memisc package which works great for xyplots, but when I add it to my code it does not respect the groups. library(memisc) barchart(cbind(Change,lower,upper)~fTreat,groups=Process,change, ylab="Pocertage change", ylim=-115:50, scales=list(alternating=FALSE,...
2009 Feb 07
3
New package test results available
...terfaces (e.g. rgdal and EBImage) as the libraries and JVM were compiled under gcc's conventions (even though a Sun JVMi is used). About half the packages using rJava segfault, which seems to a JNI issue. Some packages use gcc-specific compiler flags: LogConcDEAD Matching amap geometry memisc taskPR but the vast majority of the errors reported are C++ errors. One class that may not be immediately obvious is the use of C headers in C++: you are supposed to write e.g. #includd <cmath> NOT #include <math.h> Symptoms of this can be seen for packages BayesTree EMCC MC...
2008 Oct 30
2
Small modification of zip.file.extract in utils?
Dear list, I needed to extract a zip-archive, and found zip.file.extract in utils. My only problem was the use of tempdir(), since I wanted to permanently extract the archive at a fixed location for later use. My own fix was simple, adding an extra parameter zipdir (without default), and within the function change tmpd <- tempdir() to tmpd = ifelse(missing(zipdir),tempdir(),zipdir) This
2016 Jun 04
0
factors with non-unique ("duplicated") levels have been deprecated since 2009 -- are *more* deprecated now -- and why you should be hesitant misusing suppressWarnings()
...w is an error. So only the check must be amended (quite easily) 2) MicroDatosEs: now fails in example(censo2010). and that is the reason for this posting: I would claim that it is not primarily the fault of 'MicroDatosEs' maintainer, but actually of a package that it depends on, 'memisc'. Now that has a "nice" S4 method for producing factor from "item.vector" (though I would find an as(..) method [defined via setAs(..)] much more natural than an 'as.factor()' method) : > selectMethod("as.factor", "item.vector") Method Def...
2011 Feb 19
2
reading simulations
Hi to all the people (again), I'm doing some simulations with the memisc package of an own function, but I've the problem that I didn't know how to read the result of such simulations. My function is: > Torre<-function(a1,N1,a2,N2) + {Etorre<-(a1*N1)/(1+a1*N1) + Efuera<-(a2*N2)/(1+a2*N2) + if(Etorre>Efuera)Subir=TRUE + if (Etorre<Efuera)Subir=...
2009 Jul 26
3
Sweave, cacheSweave, and data frame
...every time I made changes. Then I discover the "cacheSweave" package, which seems the right solution to my problem. I only have on problem. Here is what I did: ---------------------------------------------- <<results=hide,echo=false>>= library(foreign) library(Zelig) library(memisc) options(digits=4) @ <<echo=false>>= d <- read.dta("~/project/abortion/data/data_transition_wide.dta") @ ... ---------------------------------------------- It can be compiled using "Sweave.sh foo.Rnw", but when I tried "Sweave.sh -c foo.Rnw", I got e...
2017 Sep 01
4
Consejo
Estimados miembros de la comunidad de R Me gustaria conocer dado que estoy trabajando con datos del World Values Survey, y tengo que recodificar variables y manipularlas, por donde podria empezar a estudiar el uso de R en grandes surveys. Que podria comenzar a la leer. Su respuesta sera bienvenida saludos Antonio -- Member, Editorial Committee, *The Economic and Labour Relations Review* (a
2012 Feb 09
4
Getting codebook data into R
I've been trying to get some data from the National Survey for Family Growth into R - however, the data is in a .dat file and the data I need doesn't have any spaces or commas separating fields - rather you have to look into the codebook and what number of digits along the line the data you need is. The data I want are the following, where 1,12,int means that the data I'm interested