Linked Questions

5 votes
2 answers
12k views

Generating a simulated dataset from a correlation matrix with means and standard deviations [duplicate]

I have a standard correlation matrix from an academic paper with means and standard deviations: ...
histelheim's user avatar
  • 3,063
2 votes
4 answers
8k views

Sampling data to have specific mean and standard deviation [duplicate]

I have a data that I want to sample such the resultant distribution of values should have specified mean and standard deviation. I can think of rejection sampling to achieve this however that seems to ...
avi's user avatar
  • 409
0 votes
1 answer
2k views

How to Simulate Random Multivariate Correlated Data and Uncorrelated Data for a given correlation coefficient and P value in R? [duplicate]

I want to simulate data with the same effect sizes and structure of my real data to perform sensitivity analysis for a pathway analysis(sem). Wesley has ...
Qingshan's user avatar
-1 votes
2 answers
150 views

how do you obtain a data set (around 10,000 data points) with a mean of 0 and standard deviation of 1. [duplicate]

I need a data set with a mean of 0 and stdv of 1. how do i get this?
chang duncan's user avatar
0 votes
1 answer
175 views

Generate data if parameters for population are known [duplicate]

I know the mean and standard deviation of a population, and its minimum and maximum value. How can I generate each data value from those parameters (using R) with the assumption that the data is ...
rasyidstat's user avatar
0 votes
0 answers
90 views

transforming simulated data to have the desired mean and variance [duplicate]

I am working on simulation of data, and this is just the first step of what I am trying to do. I am first simulating data based on a correlation matrix (as this is what I want). I used the R code ...
kristen's user avatar
  • 81
0 votes
0 answers
44 views

Get random numbers that sum to a value N and have a specific variance [duplicate]

As the title says, I need numbers that sum to a value N lets say 0.9 and have a specific variance. My background is not in mathematics so please be gentle with the terms. Any help is appreciated.
Laughing Man's user avatar
0 votes
0 answers
28 views

How to simulate two datasets that satisfy specific constraints such as having specific mean , standard deviation, and correlation coefficient? [duplicate]

I know that generating different random datasets having certain standard deviation and mean values are possible. However, I'm just wondering if it's also possible to generate, let's say 2 datasets, ...
ibrahim erkol's user avatar
23 votes
3 answers
14k views

What is the relationship between the Beta distribution and the logistic regression model?

My question is: What is the mathematical relationship between the Beta distribution and the coefficients of the logistic regression model? To illustrate: the logistic (sigmoid) function is given by $...
tomka's user avatar
  • 6,724
11 votes
2 answers
1k views

Why not perform meta-analysis on partially simulated data?

Background: A typical meta-analysis in psychology might seek to model the correlation between two variables X and Y. The analysis would typically involve obtaining a set of relevant correlations ...
Jeromy Anglim's user avatar
3 votes
2 answers
970 views

How to transform a normal random variable such that I can simulate normal samples between the range of 1 and 45?

How to transform a normal random variable such that I can simulate normal samples between the range of 1 and 45? Do I need to do a jacobian transformation ?
user1769197's user avatar
  • 1,256
3 votes
2 answers
2k views

Transform data to have specific mean, minimum and maximum?

I have found this in regards to transforming to specific mean and maximum, but I need to specify a minimum as well. Is there a way to do so? I believe it will be a more complicated solution similar ...
badminer's user avatar
3 votes
1 answer
5k views

Mann-Whitney U test when only summary data (mean, sd, sample size) are available

When raw data is not available, which normally occurs when we obtain our data from different scientific papers, how is it possible to perform a Mann-Whitney analysis to test whether two samples are ...
antecessor's user avatar
2 votes
1 answer
3k views

Generate data with skewed distribution and known percentiles, mean and median

I'm trying this one again as my imprecise use of language unfortunately confused my last attempt at this question... I am trying to recreate some data from a publication. The study was on levels of ...
Matt Ellis's user avatar
2 votes
4 answers
168 views

Simple Question regarding t-tests

I have the mean from a previous study (the Brief Symptom Inventory) that I would like to compare the mean found in my study. Both samples have a population over 100. I do not have the entire data set ...
user49003's user avatar

15 30 50 per page