Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results for generate normal variate
Search options not deleted
1 vote
2 answers
200 views

How to generate normal variates subject to mixed constraints?

I want to randomly generate 1000 normal variates (using rnorm, e.g.) that have mean 100. 25% of the 1000 numbers should be over 110. How can I do this in R? …
rlost's user avatar
  • 11
0 votes
1 answer
131 views

Generate contingency tables with bi-variate normal distribution

I want to generate r x c contingency tables using Bi-variate normal distribution. Most of the works deals with generating tables from multinomial distribution where the total frequency is fixed. … Suppose if i want to generate r x c tables from Bi-variate normal, Is it necessary that r and c should be equal? If so, How to generate as contingency tables using R? …
Sri Priya's user avatar
1 vote
1 answer
193 views

Can/should one generate Ginibre ensembles of random matrices using low-discrepancy normal va...

Each matrix ($\rho_{\frac{1}{2}}$ in the notation of the first ref.) requires 64 random unit normal variates for its generation. … Should I be able to speed convergence by using low-discrepancy series of normal variates, and if so how might that be effectively accomplished? …
Paul B. Slater's user avatar
1 vote
0 answers
36 views

Generability of log normal distributed variates

If I simulate the generation of measurements from a number of batches each sampled from log normal distribution but with varying parameters the complete ensemble again comes out log normal. … But can I know just from finding that the total of measurements is log normal that the individual batches also are this way? …
user37217's user avatar
1 vote
1 answer
93 views

Generate a syntetic log-normal two dimensional random field

In order to do that, I would like to generate a synthetic log-normal 2D random field. The idea is to extract from it some points with their two dimensional coordinates and (of course) their values. … I do not think that is enough to compute a bi-variate log-normal distribution. Am I right? …
diedro's user avatar
  • 111
2 votes
Accepted

How to interpret multiple calls of rnorm() function in R?

This question is really about R syntax and not about the normal distribution or sampling. So I guess it's 'off topic' here, and may be closed. I'm not quite sure what your difficulty is. … If you set the same seed before each program, then you should fill an $n\times p$ matrix by columns with exactly the same normal variates. n=5; p=2 set.seed(713) # set seed X = matrix(rnorm( …
BruceET's user avatar
  • 57.6k
6 votes
2 answers
2k views

Sampling from matrix-variate normal distribution with singular covariances? [duplicate]

The matrix-variate normal distribution can be sampled indirectly by utilizing the Cholesky decomposition of two positive definite covariance matrices. … Is it possible to adapt the SVD based sampling technique for the multivariate normal case that overcomes this difficulty to the matrix-variate case? …
baf84b4c's user avatar
  • 163
4 votes
Accepted

Mean and variance of a normally distributed random number created from the average of a set ...

FYI, there are much better ways to generate normal variates that do not require inversion of the normal CDF, such as the polar method. …
StasK's user avatar
  • 32.3k
1 vote
0 answers
67 views

Approximating a distribution with normal

I want to approximate this distirbution with a multi-variate normal. …
asifzuba's user avatar
  • 323
1 vote
2 answers
514 views

Probability distribution for proportions

When I plot historic data of productivity it suggest a Normal Distribution, however if I generate a normal random variate I will occasionally obtain negatives or even productivity values over one. … Can I use a Normal distribution -and implement some mechanism for invalid values- or there are more suitable distributions for proportion data? …
Carlos Gavidia-Calderon's user avatar
4 votes
1 answer
207 views

Generate nonnegative variates with mean 1 and specified variance-covariance

In the applications I have in mind (described below), typically the diagonal of $\Sigma$ has a few entries which are $1$ or even as large as $1.5$, so a multivariate Normal will easily generate negative … This R package vignette describes the generation of replicate weights for the "generalized survey bootstrap", and describes how multivariate normal distributions are used to generate replicate weights …
bschneidr's user avatar
  • 506
2 votes

Log-normal mean and standard deviation change after sampling

As a rule, I do not use any platform's method to generate lognormal variates, because the conventions about specifying parameters are so varied and confusing. … I always generate normal variates and exponentiate them, because then I know what I'm getting.) import numpy as np from statistics import mean from scipy.stats import norm N = 1000000 m = 1.75917e-7 …
whuber's user avatar
  • 334k
2 votes
3 answers
324 views

Generating random nos based on 'k' moments

How do I generate random nos based on say k moments? (no other constraints on support) When k = 2, we generate random nos. from a normal distribution defined by the 2 moments. … I have a uni variate sample and no more information about anything. Now, I want to try and simulate nos. from the distribution from which this sample was drawn. …
steadyfish's user avatar
  • 1,982
4 votes
1 answer
718 views

Irwin-Hall distribution scaling

From https://en.wikipedia.org/wiki/Irwin–Hall_distribution: The generation of pseudo-random numbers having an approximately normal distribution is sometimes accomplished by computing the sum of a number … How would you rescale, and what does “variate” mean here? A normal distribution has infinite support (theoretically if not practically) so it does not seem possible to rescale easily? …
Single Malt's user avatar
1 vote
Accepted

How to convert a Johnson normalized variable back to a marginal variable

You: Generate an iid uniform time-series Pretend it's Johnson-distributed Apply a transform that converts Johnson variates to standard normal variates, and does who-knows-what to your uniform variates … Fit an arima model to your (IID) data Simulate from an arima with the fitted parameters using normal errors (You didn't change the rand.gen arg in arima.sim; it defaults to standard normal.) …
eric_kernfeld's user avatar

1
2 3 4 5
11
15 30 50 per page