Skip to main content

All Questions

Tagged with
0 votes
0 answers
12 views

Simulate Gaussian copula with negative pair-wise correlations

I am now trying to simulate a multidimensional (let's say 4 dimensions) Gaussian copula. Given software restrictions, I can only use Excel for this simulation. That is why I am trying to implement the ...
S. Z.'s user avatar
  • 1
0 votes
0 answers
37 views

How to guess a random walk to achieve max sample correlation?

Define this 1-D discrete random walk start from 0: roll a die (the die may or may not be fair, the fixed probability of each face is unknown to the observer/guessor)...
cat's user avatar
  • 53
0 votes
0 answers
21 views

How to evaluate an Earth system model in light of the spatial variability of observed variables?

Context My effort is to evaluate the performance of a physics-based numerical model to determine how well it simulates different state variables of a soil column (1D inside the model). The temporal ...
Alireza Amani's user avatar
1 vote
1 answer
64 views

Input-Output Correlations using PCA

I want to understand the correlation between a set of $\color{red}{\textrm{inputs}}$ and a set of $\color{blue}{\textrm{outputs}}$ deriving from numerical simulations, and possibly reduce dimensions ...
lukewarn's user avatar
1 vote
1 answer
136 views

Simulating correlated data with Categorical and Continuous Variables [closed]

I am trying to simulate correlated data using the 'anysim' package in R. The software allows for correlations to be specified between categorical and continuous distributions. There are intermediate ...
BasMts's user avatar
  • 23
1 vote
1 answer
66 views

Create a data set with correlated variables [duplicate]

I am trying to create a dataset where columns 2,3,4 are correlate (0.98,0.97,0.96, respectively) to column 1. Right now I have this code: ...
Caeli's user avatar
  • 11
0 votes
0 answers
24 views

How to simulate data with ties in R

I am using R to investigate the effect of tied values on rank-based correlation statistics I wish to simulate correlated bivariate standard normal data with some specified proportion of tied values (...
stweb's user avatar
  • 437
2 votes
1 answer
230 views

How to simulate data conditional on variables and respecting correlation structure in R [closed]

I am trying to simulate data to benchmark a multi-dimensional data method (referred to as a multi-omics approach) with a specific correlation structure and multiple confounding variables. For the ...
Mangnier Loïc's user avatar
1 vote
0 answers
51 views

How to simulate IV model?

Suppose I have a structural equation $$y=\beta D+\alpha X+\epsilon,\;\epsilon\sim N(0,1)$$ and a first-stage equation $$D=\gamma Z+\eta X+\xi,\;\xi\sim N(0,1)$$ where $D$ is a continuous endogenous ...
Ludwig Gershwin's user avatar
1 vote
2 answers
454 views

Classical Confidence Intervals vs. Bootstrap Confidence Intervals

Suppose I have some data that includes height and weight measurements for 1000 people - I am interested in calculating the Correlation Coefficient to see if there exists some correlation between ...
stats_noob's user avatar
1 vote
2 answers
179 views

Simulate correlated Bernoulli variables where the sample distribution is exactly the same as the population distribution

Is there a way to generate two correlated variables with a Bernoulli distribution where the sample distribution is exactly the same as the population distribution? I can easily generate a pair of ...
David B's user avatar
  • 1,677
1 vote
0 answers
45 views

How to generate two matrices with given (constrained to) column-wise and row-wise correlations in R? [closed]

I would like to generate two matrices X and Y, of the same dimensions (n x ...
user369341's user avatar
1 vote
1 answer
43 views

Why do I get the exact same matrix when changing the correlation?

I'm trying to create artificial correlated data using the genCorData function, in the simstudy package. I'm running the following in R: ...
user19904's user avatar
  • 144
1 vote
1 answer
76 views

Simulating "Realistic Data" for Statistical Problems [closed]

My friend is working on his Sociology Thesis and is currently waiting for the researchers to finish running their experiments and collecting the data that will be used in his project (socio-...
stats_noob's user avatar
3 votes
1 answer
195 views

Generating data in the desired correlation structure from the multivariate normal distribution in R

I want to derive 200 variables from the multivariate normal distribution. I will divide these 200 variables into 3 blocks. The 1st block will consist of 40 variables and will be low-moderately ...
Buğra Varol's user avatar

15 30 50 per page
1
2 3 4 5 6