Thread Subject: to convert non-normal distribution into normal

Subject: to convert non-normal distribution into normal

From: Adhithya Plato

Date: 4 Jul, 2009 02:56:01

Message: 1 of 2

hello,

I will pleased to know, whether there is any command in MATLAB to convert, non-normal data into normal data.....but without changing the mean and standard deviation more than 1 to 2% ?

Subject: to convert non-normal distribution into normal

From: Peter Perkins

Date: 6 Jul, 2009 15:46:02

Message: 2 of 2

Adhithya Plato wrote:

> I will pleased to know, whether there is any command in MATLAB to convert, non-normal data into normal data.....but without changing the mean and standard deviation more than 1 to 2% ?

Stop worrying about the mean and the variance. You can adjust those however you want.

You've posted at least twice about this. Here, you seem to have asked for a transformation; earlier you described computing the mean and variance and generating samples from a normal distribution. If your data are not normal, then simply fitting a normal to them isn't going to help with anything. It is often possible to transform data to normality. The simplest, most common transformation is the log, and Box-Cox transformations are also common. A Johnson transformation (see JOHNSRND in the Statistics Toolbox) might also be helpful.

But what transformation you would need depends entirely on what you data look like. You will need to experiment on your own.

But step back a minute. You need to decide what you're trying to accomplish, and what you are going to do with the transformation.

Hope this helps.

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com