Displaying 20 results from an estimated 300 matches similar to: "Displaying Dichotomous Variables as fractions in gtsummary Tables"
2023 Mar 27
1
Displaying Dichotomous Variables as fractions in gtsummary Tables
I think questions about gtsummary are better addressed to that project.
They have a link "Getting Help" on their web page; I'd start there:
https://www.danieldsjoberg.com/gtsummary/SUPPORT.html
Duncan Murdoch
On 27/03/2023 2:19 p.m., Deramus, Thomas Patrick wrote:
> Hi R Experts.
>
> Apologies if this has been shared elsewhere, but I haven't been able to find a
2024 Feb 24
1
Interactions in regression
Hi All,
I stumbled upon some topics regarding interactions in anova and regression
and packages for tabulating and visualizations the results of them.
Here we are:
https://stackoverflow.com/questions/77933272/how-to-add-a-reference-level-for-interaction-in-gtsummary-and-sjplot/77935742#77935742
,
2024 Feb 25
1
Interactions in regression
It is trivial in R to add whatever decorations to a plot that you would
like, but that requires that you go beyond point and click production of
graphics and write actual code. If you are unwilling or unable to do this,
you are stuck with whatever various packaged graphics functionality
provides.So you might want to search on "interaction plots for linear
models in R" or similar at
2024 Feb 25
1
Interactions in regression
Hi,
I do not want to make a plot, I try to make an output table in R, (in GUI
like Stata this is trivially easy task)
with regard to SO OP question. As I mentioned, in paper I would not do
this, but out of curiosity I use R this time trying to create it.
If in R this is trivial task as well, could you please show how to do it ?
After googling a lot I did not find solution.
regards,
Jacek
niedz.,
2008 Aug 06
1
Correlation dichotomous factor, continous (numerical) and ordered factor
Hello R-User!
I appologise in advance if this should also go into statistics but I am
presently puzzled.
I have a data.frame (about 300 rows and about 80 variables) and my variables
are dichotomous factors, continuous (numerical) and ordered factors.
I would like to calculate the linear correlation between every pair of my
variables, because I would like to perform a logistic regression (glm())
2011 Aug 05
1
Dichotomous variables
Hi everyone,
Have sample of items for each one, a set of 20 dichotomous (absent-present)
variables are expressed. I'm trying to understand how to explore the
co-occurence of each variable.
Read some papers concerning smallest space analysis, but it does not seems
implemented in any R package (and my protamming skills are =0).
Non metric MDS gives error messages, probably because of the
2007 Aug 07
2
GLMM: MEEM error due to dichotomous variables
I am trying to run a GLMM on some binomial data. My fixed factors include 2
dichotomous variables, day, and distance. When I run the model:
modelA<-glmmPQL(Leaving~Trial*Day*Dist,random=~1|Indiv,family="binomial")
I get the error:
iteration 1
Error in MEEM(object, conLin, control$niterEM) :
Singularity in backsolve at level 0, block 1
>From looking at previous help
2005 Oct 10
1
SEM with dichotomous indicators
Hello,
I'd like to know if there is a way to fit a Structural equation model with
dichotomous indicators (ex: problem with a phone solved/ or not) having
effects on a ordinal variable.
How I do that using R?
Do you have an example with the code in R that you can send to me?
Thanks a lot!
Renata Estrella
UFRJ, Brasil, Rio de Janeiro
Renata Leite Estrella
Assistente de
2009 Jun 14
1
estimate the reliability of a scale with dichotomous items
hi,
How can I compute a reliability score of a scale consisting only of
dichotomous items?
thanks for any help!
2006 Jun 28
1
Simulate dichotomous correlation matrix
Newsgroup members,
Does anyone have a clever way to simulate a correlation matrix such that
each column contains dichotomous variables (0,1) and where each column
has different prevalence rates.
For instance, I would like to simulate the following correlation matrix:
> CORMAT[1:4,1:4]
PUREPT PTCUT2 PHQCUT2T ALCCUTT2
PUREPT 1.0000000 0.5141552 0.1913139 0.1917923
PTCUT2
2020 Oct 05
1
Simultaneous Equation Model with Dichotomous Dependent Variables
Hello everyone!
I am currently working with a time series panel data set measuring six dependent variables:
4 of which are binary and 2 of which are count data.
I am interested in constructing a model to measure if the dependent variables influence one another.
For example: DV1~ DV2 + IV1+IV2+ Controls and DV2~ DV1 + IV1+ IV2+ Controls
(where IV stands for independent variable, not
2011 Jun 14
1
predictive logistic model cell-biology, non-dichotomous data
Hi everyone,
I would like to fit a predictive model to my data in order to compare
absorbance readings to a toxin standard. This data was obtained by exposing
red blood cells to different toxin concentrations, which lead to the lysis
of the red blood cells, increasing the absorbance (hemoglobin is freed). The
data has a sigmoid shape (see below), so I thought about fitting a logistic
model to the
2002 May 23
1
Multilevel model with dichotomous dependent variable
Greetings-
I'm working with data that are multilevel in nature and have a dichotomous
outcome variable (presence or absence of an attribute). As far as I can
tell from reading archives of the R and S lists, as well as Pinheiro and
Bates and Venables and Ripley,
- nlme does not have the facility to do what amounts to a mixed-effects
logistic regression.
- The canonical alternative is
2005 Sep 27
1
Simulate phi-coefficient (correlation between dichotomous vars)
Newsgroup members,
I appreciate the help on this topic.
David Duffy provided a solution (below) that was quite helpful, and came
close to what I needed. It did a great job creating two vectors of
dichotomous variables with a known correlation (what I referred to as a
phi-coefficient).
My situation is a bit more complicated and I'm not sure it is easily
solved. The problem is that I must
2024 Apr 18
1
Tidyverse/dplyr solution for filling values of a tibble/dataframe from a column with a nested list.
Hi experts.
I have a tibble? with a column containing a nested list (<list<list<double>>>? data type to be specific).
Looks something like the following (but in R/Arrow? format):
ID
Nestedvals
001
[[1]](1,0.1)[[2]](2,0.2)[[3]](3,0.3)[[4]](4,0.4)[[5]](5,0.5)
002
[[1]](1,0.1)[[2]](2,0.2)[[3]](3,0.3)[[4]](4,0.4)
003
[[1]](1,0.1)[[2]](2,0.2)[[3]](3,0.3)
004
[[1]](1,0.1)[[2]](2,0.2)
2023 Jan 07
2
gmp::bigq vs. MASS::fractions
Hi,
has someone experience which routine should be used for creating
fractional numbers? The two conversion routines deliver different results
> x <- (0:7)/7
> MASS::fractions(x)
[1] 0 1/7 2/7 3/7 4/7 5/7 6/7 1
> gmp::as.bigq(x)
Big Rational ('bigq') object of length 8:
[1] 0
2573485501354569/18014398509481984 2573485501354569/9007199254740992
[4]
2023 Jan 07
1
gmp::bigq vs. MASS::fractions
On Sat, 7 Jan 2023 17:29:35 +0100
Sigbert Klinke <sigbert at wiwi.hu-berlin.de> wrote:
> > x <- (0:7)/7
>
> > MASS::fractions(x)
>
> [1] 0 1/7 2/7 3/7 4/7 5/7 6/7 1
>
> > gmp::as.bigq(x)
>
> Big Rational ('bigq') object of length 8:
>
> [1] 0
> 2573485501354569/18014398509481984 2573485501354569/9007199254740992
>
2007 Dec 05
1
[patch] Headers, unresolved footnotes, and fractions
Hi folks, thanks for the useful code!
I've added some functionality to PHP Markdown Extra and PHP
SmartyPants. Diffs attached.
For PHP Markdown Extra:
*A new config option, MARKDOWN_HEADER_BASE, which sets the largest
header level that Markdown can generate and defaults to 1; useful if
you use <h1> for site-wide elements and want Markdown-generated
headers to start at
2011 Oct 19
3
converting string fractions to numerics
Dear R People:
Suppose I have the following:
"pi/2"
and I would like it to be 1.57.....
Using as.numeric, here is my result:
> as.numeric("pi/2")
[1] NA
Warning message:
NAs introduced by coercion
>
Is there a way to produce the numeric result, please?
Thanks,
Erin
--
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of
2010 Jun 12
1
generating ordered, random decimal fractions
Greetings
How do I do this in R? Checking the Cran site produces a bewildering array
of packages that I can't seem to find to load. Surely the main program has
this function?
Cheers
Kurt
***************************************************************
Kurt Lewis Helf, Ph.D.
Invertebrate Ecologist
National Park Service
Cumberland Piedmont Network
P.O. Box 8
Mammoth Cave, KY 42259
Ph: