Questions tagged [multivariate-testing]

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

257 questions
0
votes
1 answer

Dataset for multivariate changepoint detection

I'm in my last year's way to a master's degree and my final project is about detecting changes in multivariate datasets (changepoint detection). I was looking for interesting datasets but couldn't find any :/ One of my ideas was for example number…
user14443915
0
votes
1 answer

Building a deep neural network that produces output that is distributed as multivariate Standard normal distribution

I'm looking for a way to Build a deep neural network that produces output that is distributed as multivariate Standard normal distribution ~N(0,1). I can use Pytorch or TensorFlow, whichever is easier for this task. I actually have some input X,…
0
votes
1 answer

Error with Anova function (car library) in R

I'm conducting a multivariate multiple regression. As response variable, I have a function [ y(t) ] that I have discretized on a grid of 27 points, and 3 scalar regressors (x1,x2,x3). I have replaced the response function with an nxq (q=27) matrix Y…
0
votes
1 answer

How to put findings of mvn tests in a table in R?

I am testing for multivariate normality in the Iris dataset. I want to compare the results of all the different tests under the MVN package (Mardia’s test, Henze-Zikler, Royston, Doornik-Hansen and Energy test) and have done the following…
daisybeats
  • 217
  • 1
  • 6
0
votes
1 answer

How to fix the error "argument "modelName" is missing, with no default" when using MVN package

I am using the MVN package, in R, to find whether each class of the dataset iris is multivariate normal or not. I used the below code earlier in the day and generated results from it. However, I went to revisit it and now keep getting the following…
daisybeats
  • 217
  • 1
  • 6
0
votes
1 answer

R vegan: adjusted p values for permanova (adonis2)

I am running an analysis of variances on a large distance matrix using adonis2 as described here: https://www.rdocumentation.org/packages/vegan/versions/2.4-2/topics/adonis That method is frequently used in microbiome analysis to calculate beta…
mucl
  • 113
  • 1
  • 6
0
votes
1 answer

How to do a two dimensional margin distribution?

I am ask to sample and then do a marginal distribution $f(x_1,x_5)$ and plot it. I have the following code which works but dnorm is used for one dimension so I was wondering if i need to change it to dmvnorm. If so, i change mu=mu.marginal,…
0
votes
1 answer

how to make loop for Johansen cointegration test for multivarite time series and get all possible combinations in Rstudio?

I am very new in R and statistics. I would like to perform the Johansen cointegration test for 75 columns by using a loop. And then to have the result as a data frame or a list sort out trace test and confidence levels 90% 95% 99% into data…
0
votes
2 answers

Quick way to transform data for NMDS in R?

I have a dataframe with 3 variables: ID, Taxa, and EstimatedNumber. I'm looking for an easy way to transform this data so it is ready for an NMDS. Essentially I want ID to remain as the first column, but then each subsequent column is each level in…
ljh2001
  • 391
  • 3
  • 17
0
votes
0 answers

Fitting multivariate mixed models with continuous and ordinal dependent variables

I would like to run a multivariate mixed regression MCMC model with two response (independent) variables, namely Boldness scores (continuous variable) and Aggression ranks (ordinal ranks). Trial numbers (integers) are the fixed effect while…
0
votes
1 answer

Scipy Normaltest with multi-columns dataset

I have a dataset with 100 rows and 21 columns where columns are the variables. I want to know if these variables came from a multivariate normal distribution. Thus, I've used de Normaltest from Scipy library but I can't understand the results. Here…
Jimena
  • 3
  • 4
0
votes
0 answers

Adding vectors in R

I have a multivariate data with 3 different groups, where d=2 and each group have 10 data point (n=10). I am trying to find for each group so the final output would be 3 vector of size 2. However, when I am trying to do this (code below), ## data…
H A
  • 81
  • 1
  • 1
  • 11
0
votes
1 answer

Conduct multivariate regression on every nth row of dataframe in R

I have a dataframe with 376 columns and 2700 rows, with 270 rows corresponding to each subject (hence, there are 10 subjects in this case). Every 270 rows are a single subject's data (i.e 1:270 - subject 1; 271:540 - subject 2). I have a separate…
0
votes
1 answer

A/B Test Duration & Sample Size Calculator Using pwr() Package in R

I am using the googleAnalyticsR package in R to pull some website visit stats and calculate conversion rates. No problem thus far. However, I have become stuck when trying to calculate the required population size and test duration using a package…
jimiclapton
  • 775
  • 3
  • 14
  • 42
0
votes
1 answer

Column names not showing in random number generation using function 'rmsn' in R package 'sn'

Using a dataframe, df, containing several S&P500 stocks monthly returns, I generated the inputs required for the multivariate random normal distribution function rmsn in the R package sn: library(moments) library(sn) muvec = apply(df, 2,…
sjedi
  • 43
  • 1
  • 7