996
questions
0
votes
0
answers
16
views
Cox Proportional Hazard Regression Model Interaction Interpretation
I am new to using Cox proportional hazard regression models, and I have a few questions. I use R for my analysis.
First, my model is as below. The "time" indicates the time between ...
1
vote
0
answers
115
views
Difference in Standard Errors and p-Values in Two-Way Fixed Effects Logit Model with Interaction Terms using fixest Package in R
I'm working with a two-way fixed effects (TWFE) logit model in R using the fixest package. My model includes interaction terms between some fixed effects and a categorical variable called group. To ...
0
votes
0
answers
30
views
ol/interaction/Link: how to read a custom parameter?
Question about OpenLayers ol/interaction/Link:
I would like to set and later use a custom parameter.
The first part went OK:
link.update('ext', map.getView().calculateExtent(map.getSize()));
This ...
0
votes
0
answers
15
views
2-way interaction with emtrends or emmeans for a continues and categorical variable [migrated]
I have a dataset with a continuous outcome variable (curiosity) and three independent variables: age and accuracy (both categorical with two levels), and confidence that has a linear and quadratic ...
2
votes
0
answers
18
views
Interactive graph in D3.js - problems with adding/flagging elements
I wrote the code for making an interactive graph which have some major problems.
The idea is that first, I want to display three clickable SVGs. After clicking on one of them, the two unclicked SVGs ...
0
votes
0
answers
15
views
selection_interval gets stuck
I'm trying to create an interactive figure using interval_selection as shown in the example here. I can get the figures to load properly, but for some reason the value on x-axis at index 0 is getting ...
1
vote
1
answer
22
views
r - ANOVA on a distance matrix (nesting required?)
I have an experimental design intended to investigate the influence of two treatment factors (A with 2 levels and B with 8 levels) on the proportions in 8 groups. However, due to technical reasons, I ...
0
votes
1
answer
63
views
Discord.JS Invalid Form Body when creating a select menu
I'm new to menu selectors and I'm not really sure why I'm having problems getting started with it.
I've tried to make a test menu selector to get started.
const menu = new StringSelectMenuBuilder()...
0
votes
0
answers
43
views
Point and Teleport problem with XR Interaction Toolkit in Unity 2022.3.17f1
I have a problem with my VR Experience. Basically, I have setted my XR Origin component, with both left hand and right hand with their corrispective model. Both gameobjects have attached the ...
1
vote
0
answers
65
views
How can I implement interactive annotations on a map with MapKit in SwiftUI for visionOS?
I'm trying to make interactive annotations on a Map with MapKit and everything works fine on iOS 17. The only issue I have is that on visionOS, the tap gesture is not being recognised, so I when I ...
0
votes
0
answers
39
views
How to specify custom interactions (one binary variable with all other variables) for a caret model?
I am running a glmnet model in R using the caret package and doing repeated nested cross-validation with the nestedcv package. I need to include a "custom" interaction of a single one of my ...
0
votes
0
answers
33
views
Setting similar yaxis between 2 graphs for a ggplot code with an interaction
My problems is that I have two interaction plots, one for psychological and one for somatic complaints. I want to portray them next to each other using the code cowplot. I would like to have similar ...
0
votes
2
answers
125
views
How do I produce a customizable interaction plot using the estimated marginal means? [closed]
I am currently looking at how the effect of two factors (temperature, species) on the duration of the egg stage in insects using a linear model and ANOVA analysis as follows:
## Model
type3.egg <- ...
0
votes
1
answer
18
views
How can I check all the attributes (in same time) of some objects (same kind of) stored in a tuple?
I was trying to create a game.. (In Python) I made some objects with the same class. Then I made a function with (*) in the argument to get as many arg. as I want. But I guess, I got a tuple and now I ...
0
votes
1
answer
112
views
lmerTest::lmer: Creating an interaction term manually
Short version
factorC <- paste(factorA, factorB)
Is factorA*factorB equivalent to factorA+factorB+factorC in the formula of a linear mixed effects model?
Background
I use the function ancombc2() ...
0
votes
1
answer
50
views
Get actions from users for quiz bot on discord
I'm kind of new in coding. Thought, i'm working on my second bot. The first one is giving random prompt from a json file to let players imagine their character in new situation to help them to know ...
1
vote
0
answers
53
views
Html interaction (select and click-submit) with Selenium under C#
I am trying to interact with an html page with Selenium and I cannot perform the actions that I would like to.
I have a form to fill-in with two sets of actions that needs a final validation before ...
1
vote
1
answer
48
views
Trying to make an object clickable, turn "inactive" and another to turn active. Not sure what is wrong
Well.
I am constructing a 3D point n click slice as a project in Unity with C#.
It isn't meant to be complicated, and rather I have made it as simple as possible, to try and make it manageable for ...
0
votes
0
answers
42
views
Nesting a random factor in GLM(M) including interactions between fixed and random factors
I'd like to follow up on this post:
Nesting a random factor in GLM(M)
I have a similar situation - Genotypes (random) nested within origins (fixed), and then I impose a treatment (fixed; 2 levels) on ...
0
votes
0
answers
58
views
useEffect Not Properly Handling Focus on iOS Devices in React Application
I'm working on a React application where we use a custom hook (useFlipAnimation) to manage the flipping animation of a card component. When the card flips to its back side, we want to automatically ...
0
votes
0
answers
39
views
Difficulty Computing Simple Slopes with Reference Level "B" in Linear Regression Model
I need to check whether the interactions i have found are significant. When I follow this line of codes, I do not have any issues. The simple_slopes(model) command is working. I ahve three conditions, ...
0
votes
0
answers
29
views
julia Jupyter on() interaction error message
Trying to use three sliders and display the
sum of their values with Julia in a Jupyter notebook
I get some complicated errors
(the update of the textbox displaying the sum seems to work o.k.).
The ...
0
votes
1
answer
314
views
Change lines types in interact_plot function
I use interact_plot to visualise the interaction effect of my numerical moderator (mean; +1SD; -1SD).
The problem is that the lines for mean and +1SD are dashed and for -1SD solid.
I would like to ...
0
votes
1
answer
165
views
R forcing computation of interaction term estimates for reference level when it shouldn't
I am trying to run different sets of regression models with fixed effects uisng feols from the fixest package in R. I run into issues where R forces me to compute the interaction of the reference ...
0
votes
0
answers
61
views
Incomplete confidence intervals when using plot_model(type='pred') for an interaction
I am trying to visualize a 2-way interaction from the output of a glmer model. Using the following command, the confidence intervals do not cover the range of the x-axis
plot_model(mod, type = "...
1
vote
1
answer
51
views
Forward slash interaction term in R
I'm reading this vignette which states:
Most R users will be familiar with the base expansion operators for creating model interaction terms, e.g. x1*x2, x1:x2, and x1/x2
I know that x1:x2 is x1 ...
0
votes
0
answers
21
views
how can I write indirect and direct effects conditional on moderator, also index of moderated mediation?
I'm trying to run the attached model in lavaan since I will compare two groups.
structural model will be look like as following If I'm not wrong
model15 <- ' M ~ a.X
Y ~ c1*X + b1*M + c2*...
1
vote
0
answers
168
views
How to add reference level(s) for interaction in R
My question is connected with this:
How to add a reference level for interaction in gtsummary and sjPlot
for which I did not get a solution that I am still in need.
The code is as follows:
set.seed(...
2
votes
1
answer
127
views
Is there a way to customise panel titles in an effects plot?
I have created the plot below to visualize interactions but I was wondering if I can customize the parts of the plot that say education = College, education = Graduate, education = High School.
Code:
#...
0
votes
0
answers
66
views
multilevel modeling with two time points - centering?
I am currently working with a dataset that uses two waves in a longitudinal study (wave2 & wave 3).
I am trying to look at whether optimism (optim) and the number of life stressors (life_s) ...
0
votes
0
answers
58
views
Can I use partial dependency plot for lmer model?
Can I use a Partial dependency plot for lmer model using the stats package or another package? I want to plot partial dependency for continuous interaction predictors to visualize the interaction ...
0
votes
0
answers
60
views
How can I add the nextcord.ui.UserSelect to the Class?
This is the Error:
Ignoring exception in view <DropdownView timeout=180.0 children=1> for item <Dropdown placeholder='Wähle ein Thema für deine Supportanfrage' min_values=1 max_values=1 ...
0
votes
0
answers
19
views
Adding estimates to cat_plot function with a loop
I am trying to add RRs to to a cat_plot in r. I need to generate plots for 30 different cancer types. However, when I try to add the RRs to each plot, I somehow always end up with the RRs for the &...
0
votes
0
answers
236
views
Replacing Standard Errors in a GLM Model in R [Follow-up]
My post is a follow-up question to this one: Replacing Standard Errors in a Reg Model in R
I am in search of a way to directly replace the standard errors in a regression model with my own standard ...
0
votes
1
answer
69
views
Cat_plot in r: Does it work with a poisson regression?
I am considering using cat_plot in r to visualize interactions between two categorical variables.
However, do any of you know wheter it work on a poisson regression model?
e.g.:
model <- glm(event ~...
0
votes
0
answers
83
views
marginaleffects always giving the same estimates for a reference category when using two contrasts (R)
I am trying to calculate marginal effects of a triple interaction using the marginaleffects package in r. My regression looks like the following:
library(fixest)
library(marginaleffects)
fmla <- ...
0
votes
1
answer
61
views
How to solve "replacement has 0 rows" when using the InteractionR function?
I was trying to run a binary logistic regression with interaction effect between two variables with binary category.
My R code is below:
md1 <- glm(Diabetes_Cate_3 ~ Age_Years+factor(Gender)+
...
0
votes
0
answers
19
views
Creating an interaction varible with marks and submission date in regression with student performance as dependent variable in regression?
I am running a regression model where dependent variable is student performance. The independent variables are assignment marks and date of submission of assignment. I am not sure how to include date ...
0
votes
1
answer
117
views
Moving map while using draw/modify/translate interactions
I'm using draw/modify/translate interactions to allow users to draw features. But when the user drags a point outside the map, I want the map to move along.
At the moment I'm using version 6.15, but ...
0
votes
0
answers
79
views
Why do I get very large (100 percent) confidence intervals for predicted probabilities from logistic regression
I performed this logistic model:
Model2i <- glm(Child ~ Age +Age2 + Education + `Place of residence` +`Marital status` + `Multiple birth`+ Region + Period*`Conflict exposure` +`Sexual violence`+ ...
0
votes
0
answers
684
views
MySQL Workbench UBUNTU 22.04.3 LTS - Cannot Connect to Database Server "User interaction failed"
After clicking on MySQL Connection I'm getting the message:
Cannot Connect to Database Server "User interaction failed"
I tried to reset root password via ALTER USER but same message "...
-2
votes
1
answer
448
views
Allow user interaction in views behind a fullScreenCover in SwiftUI
I have a view that shows an animation briefly that needs to be in front of everything (including on top of any presented sheets which means a ZStack or .overlay will not work). .fullScreenCover works,...
0
votes
1
answer
59
views
C# WPF CanExecute for InvokeCommandAction
Is it possible to set a CanExecute on an InteractionTrigger?
This is my code, but I know in some instances the ButtonCommand will be NULL, So I want to be sure that I do not cause any issues.
<i:...
0
votes
0
answers
56
views
Passive imputation with categorical:continuous interaction in R
I am trying to do a passive imputation to deal with a continuous:categorical interaction in a linear regression model (total_sleep ~ mean_commute + sex + mean_commute:sex)
I have used the solution ...
0
votes
0
answers
82
views
calculate p-value for an interaction term at a specific time point from the results of an lme model in R
I am running a linear mixed model on a longitudinal dataset.
How do I go about calculating a p-value for the interaction term 'trt*Category' at time = 2 (years)? In other words, I need the overall ...
0
votes
1
answer
624
views
Cox regression with interaction term - which p value to use?
hoping the hive can help me understand this.
I want to study the effect of a continuous variable (x1) on survival, accounting for interaction between x1 and another continuous variable (x2). My full ...
1
vote
1
answer
76
views
How can I create a GAM that has two date scales that interact with a factor?
I want to model the relationship between my y variable and time. I suspect there's a seasonal effect of summer months and an overall trend that may be captured by year. I also want to explore the ...
0
votes
0
answers
34
views
Are there method that can extract interaction between person in text?
I want to extract interaction between persons in short text. For example, "Sally will buy a new phone. Ted will help her." contains interaction between persons. However, "Japanese ...
1
vote
1
answer
46
views
Interactive Ploting with Matplotlib
When I adjust the position slider, for example pdfReader X,Y,Z, the point(pdfReader) in the plot won't be updated accordingly. Instead, I would see <Figure size 640x480 with 0 Axes> in my ...
0
votes
0
answers
156
views
Running a code on Texmaker for the first time
I have just installed Texmaker to work with LaTeX and tried to run a simple code with a titel but it gives me this error. Is it an issue in the LaTeX instalation process, or in the Texmaker itself?
...