Thanks in advance for any help. I basically have a mediation analysis of time-to-event data (time to death) in MPlus which has run perfectly etc. I am trying to work out ways that i could plot this in rstudio so I can modify its appearance etc. In my mind it would be great to have the typical cox regression plot with events across years, but then have bands to show the impact of either one or two mediators (or multiple mediators). I just dont know how to do this or plot the impact of a mediator across time to an event. My r knowledge is very limited to checking assumptions etc for cox regression. I havent worked out to run the mediation in time to event in r just yet so i stick to the running it in mplus as i know it is correct. I have the following results from mplus, direct (hazard ratio), indirect estimate 1 (mediator 1), total effect 1 (mediator plus direct 1), indirect estimate 2 (mediator 2), total effect 2 (mediator 2 put direct), and both indirect mediators together. Any advice on what i could do to plot this type of information really nicely? Any help greatly appreciated.
Plotting mediation in time to event data
44 Views Asked by ancova'd At
0
There are 0 best solutions below
Related Questions in PLOT
- R is ignoring xaxp while plotting data.table
- From Python to R: how can I plot a vector with 100 regression lines within a ggplot?
- 'plotAtlas' function in Morpho package
- Trying to plot two polygons on the same cartesian grid with a different color for each polygon
- Strange horizontal lines when transforming base-map shapefile?
- Adding white space around plot in Matplotlib
- Plot function issue - adding a line
- Seaborn boxplot color outliers by hue variable using seaborn =< 0.12.2
- how to add multiple plot in alternating plotly html file in python
- Manually set values shown in legend for continuous variable of seaborn/matplotlib scatterplot
- Set the color of the line with the same color of the marker
- Do not want scientific notation on plot axis again
- How to prevent Pandas from plotting index as Period?
- Change size of terminal_panel = node_barplot in ctree
- Excel VBA Macro Resizing the Plot Area
Related Questions in COX-REGRESSION
- I am trying to find brier score of survival data using risk regression pacakge, but its giving an error
- Penalized regression with cph() function of rms package in R
- Error in colMeans(hazard) : 'x' must be an array of at least two dimensions
- how to plot survival plots for piecewise cox model with variables that are stratified?
- Extract the position of knots from penalized spline in cox regression in R
- Survival analysis using cox returns "The truth value of a Series is ambiguous."
- how to find risk inflection point in a cox proportional model?
- Gene environment interraction analysis
- Error in smap[-1, ] when model diagnostics on stratified variable with coxph (survival package) in R
- Potential issue with regression model
- Error when using ggcoxfunctional() on a model that includes splines
- R Coxph Timescale at Risk
- How code a three-levels cox model for hierarchical data in R?
- Predicting survival and 95% confidence interval from a mixed effects Cox model (coxme)
- How to deal with exposure or outcome at time 0 in time-varying Cox model
Related Questions in LONGITUDINAL
- lcmm() Graphing Models Fit with Random Intercept Only or Random Intercept and Slope
- MicrobiomeTest::generate_alpha_trend_test_long() not recognising rownames and columns
- Goodness of fit in Hidden Markov models (Latent Transition Analysis) using LMest, assessing covariate effects
- lcmm() in R Error: Numerical problem by computing fn value of function is : NaN
- Latent change score using lavaan with observed variables measured at two time points (and comparing results with traditional repeated measures anova)
- I need help in estimates lme models
- Predicting outside of follow-up time with JMBayes2
- REDCap Longitudinal Survey Not Displaying Correctly via Email
- R - how to find out people whose event 1 disappeared after event 2 happened
- Transposing repeated measures data - can't create time variable correctly
- R - How to show multiple lines with different x-axis values (dates) in ggplot2?
- Transposing Health and Retirement Study variables into long format on SAS
- Mediation analysis with multiple mediators
- Group based trajectory modeling in R
- Using ggplot to reflect uneven spacing between time points
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?