Questions tagged [multivariate-partition]
23 questions
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…

BP86
- 1
- 1
0
votes
1 answer
Python One Hot Encode Multivariate Variable
Here is my dataframe:
Name Job
A Back-end Engineer
B Front-end Engineer;Product Manager
C Product Manager;Business Development;System Analyst
I want to transform that dataframe into dummy (one hot encoding) like this:
Name …

OctavianWR
- 217
- 1
- 16
0
votes
1 answer
How do you align time-date data across multiple subjects in R
I am trying to scale data from multiple subjects onto the same time-scale. The current data files have 3 months of data for each subject, but the time-stamps for each event for each subject reflect different begin-end dates.
df$ID <- c(1, 1, 1,…

Tom
- 31
- 4
0
votes
0 answers
0
votes
1 answer
Why need to alternate dimension in kd-tree construction
I have a question regarding the way to partition the spaces in kd-tree algorithm.
Assuming I have points in the plane, with (x,y) coordinate. Assuming we're not in a particular situation when points are in the same line. I was thinking why we need…

ctNGUYEN
- 241
- 2
- 6
0
votes
0 answers
Is it possible to do linear interpolation for a function of more than one variable in R?
In practice I need an extension of the approx function that already exist in R to the multivariate case. Something similar to the interp function in matlab but coded in R on in C.
Hope somebody can help me!

Sabrina Vettori
- 41
- 2
0
votes
1 answer
Event dif_time fixing last date occurrence
I have some events identified by id, var1, var2 and date.
The desired output for dif_time is as follow:
id var1 var2 date1 date2 dif_time
1 120 1 2014-06-03 2014-06-30 26
1 120 1 2014-06-04 2014-06-30 26
1 120 …

user3591356
- 95
- 2
- 9
0
votes
1 answer
Comparing multivariate distributions
I have a set of multivariate instances and I need to extract a representative set from these instances; for instance if I have 100,000 multivariate instances, I want to extract 1000 instances that would be representative of the original…

words_of_wisdom
- 163
- 3
- 16