similar to: memisc package and rounding

Displaying 20 results from an estimated 20000 matches similar to: "memisc package and rounding"

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
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 Latex and I imagine it could also be a latex 'problem' and not
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") library(memisc) set.seed(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 Stata
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 Stata
2011 Feb 02
1
Significant codes in mtable
Hi all, Does anyone know a way to change the significant stars in mtable (package memisc)? The default is Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1, however I need it to be Signif. codes: 0 '***' 0.01 '**' 0.05 '*' 0.1 ' ' 1 Kind regards, Erich [[alternative HTML version deleted]]
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 <-
2011 Apr 03
1
style question
Hi everyone, I am trying to build a table putting standard errors horizontally. I haven't been able to do it. library(memisc) berkeley <- aggregate(Table(Admit,Freq)~.,data=UCBAdmissions) berk0 <- glm(cbind(Admitted,Rejected)~1,data=berkeley,family="binomial") berk1 <- glm(cbind(Admitted,Rejected)~Gender,data=berkeley,family="binomial") berk2 <-
2010 Jun 21
1
Latex outputs of multilevel models
Hi, I have a number of multilevel models and I would like some Latex outputs of them. I usually use the "apsrtable" package, but it does not accept "lme" outputs. Neither does the "mtable" function in the "memisc" package. Is there any good alternative that I am missing? Thanks, Jonas
2011 Apr 03
1
setCoefTemplate
Hi everyone, I am trying to build a table putting standard errors horizontally. I haven't been able to do it. library(memisc) berkeley <- aggregate(Table(Admit,Freq)~.,data=UCBAdmissions) berk0 <- glm(cbind(Admitted,Rejected)~1,data=berkeley,family="binomial") berk1 <- glm(cbind(Admitted,Rejected)~Gender,data=berkeley,family="binomial") berk2 <-
2011 Oct 08
1
Generalized Additive Models: How to create publication-ready regression tables
Hi - I have a series of 9 GAM regressions with about 5 parametric effects and three non-parametric effects in each. What is a good library or command for turning GAM outputs into publication-ready regression tables? I tried apsrtable and the mtable command in memisc but neither seemed to work with the gam output. I'd be okay with two separate tables - one for the parametric effects and
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, 4 ->
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 measurements of the
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.factor(x) f recode(f,
2011 Oct 20
1
stop R from rounding
Hello, I have a column in a data frame that need to be 10 digits long. As such: Decimal.Year 1 1994.25997 2 1994.26020 However, R keeps rounding the digits. As such: Decimal.Year 1 1994.260 2 1994.260 *Is there any way to stop this from happening?* Here is how I created the data frame: x <- read.table('bats_1994_CTD.txt') colnames(x) <-
2006 Apr 11
3
problems with rounding in output
Perhaps someone will have a solution to my more general problem, but here is the specific one: I used the round() function to round some estimates to 3 decimal places. I then sent put the rounded estimates in a matrix and used latex() to make a LaTeX table from them. However, in my table, there are estimtes which only have 2 decimal places. I assume that the third decimal place in these numbers
2018 Mar 14
0
truncation/rounding bug with write.csv
I ran this code in RStudio Server on a linux machine, but I don?t know the version offhand. I will try to get it tomorrow. Thanks. Thanks, Greg Michaelson www.datarobot.com 704-981-1118 > On Mar 14, 2018, at 4:47 PM, Joris Meys <jorismeys at gmail.com> wrote: > > To my surprise, I can confirm on Windows 10 using R 3.4.3 . As tail is not recognized by Windows cmd, I replaced
2009 Oct 29
2
Rounding and printing
Hello, I am trying to print a table with numbers all rounded to the same number of digits (one after the decimal), but R seems to want to not print ".0" for integers. I can go in and fix it one number at a time, but I'd like to understand the principle. Here's an example of the code. The problem is the 13th element, 21 or 21.0: >nvb_deaths <- round(ss[,10]/100,digits=1)
2011 Dec 12
1
Package/command for creating a table of panel models ?
Hello Everyone (Quick) question: Does anyone know a package/command or simply a way of creating a table of different panel data estimations (estimated using /*plm()*/ ) just as *mtable()* does for models estimated with /*lm()*/? It seems *mtable* (and *apsrtable* equally) only support /*lm*/ and some other classes but unfortunately not /*plm*/. I am pretty sure others must have encountered this
2006 Jun 13
4
undesirable rounding off due to 'read.table' (PR#8974)
Full_Name: Aart Overeem Version: 2.2.0 OS: Linux Submission from: (NULL) (145.23.254.155) Construct a dataframe consisting of several variables by using 'data.frame' and 'cbind' and write it to a file with 'write.table'. The file consists of headers and values, such as 12.4283675334551 (so 13 numbers behind the decimal point). If this dataframe is read with