Questions tagged [multivariate-testing]

Multivariate testing (aka multi-variable testing) is hypothesis testing in the context of multivariate statistics

257 questions
0
votes
0 answers

Calculating AICc from glmnet Lasso Regression models in R?

I'm new to this site and also completely inept at statistics and R currently. I'm working on a project where I'm trying to determine significant predictors of growth in a multivariate model. It's been suggested to me to use Lasso Regression due to…
0
votes
1 answer

RDA triplot in R- plot only numeric explanatory variables as arrows; factors as centroids

I ran a distance-based RDA using capscale() in the vegan library in R and I am trying to plot my results as a custom triplot. I only want numeric or continuous explanatory variables to be plotted as arrows/vectors. Currently, both factors and…
LeahF
  • 13
  • 3
0
votes
0 answers

MVN package. NA data management

Trying to run normality test with MVN package. {MVN} https://cran.r-project.org/web/packages/MVN/index.html I always receive the same answer, i´ve tried several ways to omit these values in the analysis: na.omit, is.na, na.exclude etc. ***mvn(data,…
0
votes
0 answers

PERMANOVA - small and unequal sample sizes

I am comparing fish communities at 2 sites (upstream vs downstream) with data collected in two seasons (wet and dry) over several years (2017-2022), with data from the first pair of wet and dry seasons representing the period before a treatment and…
Reason
  • 15
  • 3
0
votes
0 answers

How can I model multiple numerical variables using a mixture of numerical and non-numerical predictors?

I have a dataset that looks like this: product_name brand price_change_percentage release_year Toy X X 20 2001 Toy Y Y -12 2020 I would like to use Tensorflow to predict price_change_percentage based on product_name, brand, and…
0
votes
0 answers

How do you fix incorrect predicted values ("pred") being used in the plot_model function in R?

I am trying to fix a plot that I generated that has the incorrect predicted values along the y-axis. The predicted values should be "Score," my outcome variable. For some reason, the "id" variable is along the y-axis instead. Everything else is…
0
votes
0 answers

t-SNE visualization getting (Error in UseMethod("mutate") : no applicable method for 'mutate' applied to an object of class "factor")

I'm new to R and I'm trying to do a PAM clustering analysis and visualize the results via t-SNE. However, I keep getting this error Error in UseMethod("mutate") : no applicable method for 'mutate' applied to an object of class "factor". The problem…
0
votes
0 answers

Empty OPLS object from R package ropls

I am performing opls-da analysis using R package ropls, but sometimes I get an empty opls result, particularly when the data size is very small. Is it normal and what should I do? Here is my demo code: DF = data.frame( ID1 =…
Wang
  • 1,314
  • 14
  • 21
0
votes
0 answers

Improving multivariate regression model in R

I recently conducted a survey within an IT company concering user satisfaction with a specific data management solution. There was one question about the overall satisfaction (dependend variable for my regression). And then various questions about…
0
votes
2 answers

Why I having problem on assigning data for NMDS in R?

I want learn Non-matric multidimensional scale, I have these data downloaded from https://cougrstats.wordpress.com/2019/12/11/non-metric-multidimensional-scaling-nmds-in-r/ data are library(vegan) dput(orders) structure(list(Amphipoda = c(0L, 0L,…
Kazi
  • 67
  • 7
0
votes
0 answers

Testing that an individual species in a matrix has a significant impact on the entire assemblage

I feel like this is kind of an elementary question but w/all my reading in and around the subject I have yet to arrive at a conclusive answer. I'm testing an ecological (site*species) data set as part of an investigation into an invasive species…
0
votes
0 answers

Hotelling T2 Test for Non Normal Samples

Is there an alternative to test if 2 samples come from the same population given that they don't pass normality tests? (this video assumes normality: https://www.youtube.com/watch?v=mkT3SaxoBJk, so it won't work for this question) For example, a…
Jorge Lopez
  • 467
  • 4
  • 10
0
votes
0 answers

Estimating Treatment Effect and robust standard errors after propensity score matching with two continuous outcomes

I am trying to estimate Treatment Effects and robust standard errors after propensity score matching with two continuous outcomes following this guide: https://cran.r-project.org/web/packages/MatchIt/vignettes/estimating-effects.html I performed…
0
votes
1 answer

How to create a matrix with for loop using qgcomp() in R

I always use a for loop to create a matrix of linear and logistic regression output, but I am having difficulty doing so with qgcomp(). If anyone has experience or advice, I would greatly appreciate it. I prefer this approach over functions since…
0
votes
1 answer

simulated annealing in python with multiple variables

I found this old stackoverflow article that essentially is exactly what I want. Algorithm to optimize multiple variables more efficiently than trial-and-error unforunately my more advanced maths are a bit lacking and I have some questions about the…
user1601716
  • 1,893
  • 4
  • 24
  • 53