Multivariate testing (aka multi-variable testing) is hypothesis testing in the context of multivariate statistics
Questions tagged [multivariate-testing]
257 questions
0
votes
0 answers
PROC PHREG Clustering
I have a dataset on eyes with 2 eyes per patient. The data is clustered because the covariates such as age, gender, and ethnicity are the same for both eyes for that one patient.
This is my code so far:
PROC PHREG data = eyes covs(aggregate)…

ybao
- 147
- 8
0
votes
1 answer
Extract R2 values from multiple adonis results
I am wondering if there is some way how to extract results from adonis function in vegan package and possibly save it by write.table?
I mean other way than print results to console and copy-past R2 value to Excel.
This can be especially useful when…

tlask
- 198
- 9
0
votes
1 answer
How can I implement multivariate linear regression?
I have built a simple linear regressor below...
import numpy as np
x = np.array([[0.0], [0.33], [0.66], [1.0]])
y = np.array([[1.0, 2.0, 3.0, 4.0]]).T
w = np.random.random((1, 1))
for j in xrange(100000):
a2 = np.dot(x, w) + 1
w +=…

Finn Williams
- 151
- 8
0
votes
0 answers
Within-individual multivariate analysis
I have three continuous variables that represent the wintering habitat of a species. For most individuals, I have those three variables in two (often) consecutive years; however, for ~10-25% of the population, I have those three variables in three…

tnt
- 1,149
- 14
- 24
0
votes
1 answer
Comparing all variables in PCR function from pls package, R
I am trying to conduct a Principal Components Regression Analysis (PCR) in R. Usually I would do a PCA (Principal Components Analysis), however I have multi-collinearity and have read that PCR can handle this.
I am using the pcrfunction from the pls…

J.Con
- 4,101
- 4
- 36
- 64
0
votes
1 answer
Can NMDS be used to check for linearity of data by comparing Eucladion - BrayCurtis ordination results?
I want to do a PCA (in R) but I dont know if my data is linear. I conducted an NMDS for Eucladian and Bray-Curtis distance. After removal of 1 variable with many zeros, the NMDS plots are roughly equal.
My assumption is that linear data plotted in…

Els
- 1
- 1
0
votes
1 answer
How to remove observation's correlation loading points in correlation loading plot in SAS?
Correlation Loading Plot from Pro PLS in SAS
Hi All,
I used Proc PLS to do a multivariate analysis and got a plot as attached. How can I remove the green colored points in the picture? I think they are the observations' correlation values. For…

Tina Gao
- 5
- 3
0
votes
1 answer
Alternative example for capscale function in vegan package
I have been learning multivariate analyses in PRIMER, yet now want to convert to R using the vegan package. I wish to use the capscale() function in vegan, yet am not sure how my data should be formatted beforehand.
In the example in the vignette…

J.Con
- 4,101
- 4
- 36
- 64
0
votes
2 answers
Python function for multivariate regression using data from csv
Do you know how i can fit the first part into rest of the function to get a regression analysis.
import numpy as np
import matplotlib.pyplot as plt
from numpy import *
from matplotlib.pyplot import * #for the graph
data =…

hxalchemy
- 366
- 1
- 10
0
votes
1 answer
Joint plots with vectors from a subset of the data
I'm generating NMDS ordination plots from community data using the R package, vegan, and want to include vectors (ie arrows from the origin) whose lengths correspond to the importance of selected species. How can I limit the arrows displayed to only…

Peter Nelson
- 85
- 1
- 2
- 7
0
votes
0 answers
Incremental variance explained in multivariate multiple linear regression
I try to calculate incremental variance explained by variables in multivariate multiple linear regression model, but I don't have Sum of squares parameters like multiple linear regression. I'd like something like:
library(car)
#Create variables…

Leprechault
- 1,531
- 12
- 28
0
votes
0 answers
Heteroscedastic test in multivariate analysis in r
I have different models (linear (lm), gls, GARCH) where I would like to check them for Heteroscedasticity.
However for the lm-model it is very easy, visually and with tests as follows:
fit1 <- lm(formula = X0~X1 + X5 + X7 + X8 + X9 + X10 + X11 +…

Marz
- 15
- 6
0
votes
1 answer
Matlab - Find points in vicinity
Lets say I have a dataset like below.
X = [170,85;
165,75;
180,100;
190,120;
160,80;
170,70];
a distance vector
Y = [10,20];
a data point
Z = [166,77];
I want to find all the points of X that fall within the distance Y from the point Z
Answer should…

moCap
- 969
- 1
- 14
- 31
0
votes
1 answer
Determine sample size for A/B testing, more than 2 variants
What R function should we use if we want to decide the sample size for such a test:
10 ads, we want to use a test to decide which ads has the best click through rate. We are able to count the flow and click throughs.

StayLearning
- 601
- 2
- 7
- 18
0
votes
0 answers
Multivariate regression in R Kullback test not working
At the risk of this being a somewhat vague question, I am going ahead and ask it anyways:
I am running a multivariate regression in R with two outcome variables and would like to assess the homogeneity of covariance matrices, but, alas, the Kullback…

Primesty
- 107
- 1
- 10