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

Does PERMANOVA analysis (specifically adonis2 in the vegan package) allow for nested terms?

I am trying to run a PERMANOVA analysis on the bray-cutis dissimilarities between my samples, but I need to nest sample days within time of day. I read that the "strata" function in adonis2 constricts the permutations, but I can't get this code to…
Ayda L
  • 1
0
votes
0 answers

Disappearing independent varible in vegan::Adonis output

I am running a PERMANOVA using adonis2 from the vegan package. I have 52 vegetation plots within 4 study areas. I am interested in how exclosure, fire, and bear presence is impacting these vegetation plots. I also want to include a random effect for…
0
votes
0 answers

Issues with DeepChecks' Multivariate Drift

I'm experiencing some issues with the multivariate feature drift function in deepchecks. I'm trying to plot a running/rolling multivariate drift time series graph to look for instances of high drift scores. The running/rolling is extremely…
Tan Yu
  • 1
0
votes
1 answer

PERMANOVA - unbalanced design

I am new to statistical analysis and R. I have data of relative abundance (in percentage) of 5 taxa in 8 ponds. The number of samples in the 8 ponds ranges from 7 to 12 (making the design unbalanced). Can I use PERMANOVA (vegan::adonis2) and…
Aston
  • 3
  • 2
0
votes
0 answers

diffrence between ANOSIM and Deseq2

What is the difference between ANOSIM test and differential expression analysis like Deseq2? And what are the limitations of using ANOSIM over Deseq2 when comes to differential analysis between various sample groups ? Thank you
0
votes
0 answers

Trouble adding a baseline to the mult.chart function in MSQC package (R) - any suggestions?

I need help with the mult.chart function from package MSQC in R. I searched and tried to add a baseline to the chart, but I was not able to do it. Here is what I am trying to do: library(MSQC) variable1 <- 1:100 variable2 <- 1:100 data_MULTI <-…
MMH
  • 1
0
votes
0 answers

Multivariate linear hypothesis testing using statsmodels in Python

I am trying to run a multivariate regression model using statsmodels, but there appears to be no implementation of that yet, so in the meantime, what I did was to run a manova model on the data like below: # the modules import pandas as pd from…
GSA
  • 751
  • 8
  • 12
0
votes
0 answers

How to run a multivariate multilevel model in R using nlme or lme4 packages?

Multivariate multilevel model with R (nlme or lme4 packages) I am trying to run a multivariate multilevel model with R. We're analyzing an RCT study with four measurement points and two outcomes. We have already performed two separate MLMs but the…
0
votes
0 answers

iminuit high-dimension multivariate fit problem

I would like to perform multivariate fit using iminuit. Everything works fine when I use two dimensions but I get an 'ValueError: too many values to unpack (expected 2)' if I use more than two dimensions. Below is the working code for 2D fit: from…
0
votes
0 answers

i am trying to create a multivariable gradient descent function but i keep failing

import pandas as pd import numpy as np data = pd.read_csv("SuperMarketSales.csv") x = data.iloc[:,0:5] #features y = data.iloc[:,5:6] #results months = pd.DatetimeIndex(data['Date'], dayfirst=True).month x.iloc[: , 1:2] = months w =…
0
votes
0 answers

individuals variables are inverted in acm ir acp

Hy In the following dataset, columns and lines seem to be inverted for multivariate analysis using FActoMiner or ade4. The eighen values gives the number of lines as dimensions and not the number of columns. Columns as transformed in factors before…
catindri
  • 384
  • 5
  • 14
0
votes
0 answers

Python Packages for Multivariate (>1 DEPENDENT variables) Regression without Neural Networks?

I cannot find a python package that handles Multivariate Regression, and the internet is full of people who have confused the search by interchanging "Multivariate" (many DEPENDENT variables) with "Multiple" (many INDEPENDENT variables).…
0
votes
2 answers

Multiple Linear Regression Models with Bonferroni corrected p-values

Please see my sample data below: dad <- data.frame(type = c("new", "new", "old", "new", "old", "new", "old", "old", "new", "new"), outcome = c(68,76,57,67,89,98,99,120,99,67), loan1=c(98000…
T K
  • 383
  • 1
  • 9
0
votes
0 answers

Results of adonis2 vary depending on the order of my variables. How should I interpret these results?

I want to run adonis2() to look for differences in my distance matrix. My samples are grouped based on their type (category of 4), which is baseline non response, post non response, baseline response and post response. I also want to see if there is…
mrad
  • 173
  • 1
  • 11
0
votes
0 answers

How to compute linear regression using multivariate least squares method without using scikit-learn library?

My question is classification of the iris dataset using multi-variate linear regression without using the scikit-learn library. I have this formula that is needed to find the beta values for the dataset. enter image description…