Thursday, March 31, 2011

Single, Series, Lastest, NEWS, Standard, Generate, Numbers, Mean, SPSS, particular, deviation
Series
by riptheskull

Question by Henry M:

How do I generate a series of numbers in SPSS with a particular standard deviation or mean?



Your Ad Here





I have economic data plotted against time and am relating it to political data. I would like to run some simulations so that I can compare findings against artificially generated data. In other words I'd like to create new series of data that is in the same range as my real data and which has the same standard deviation and/or mean. Ideally I'd like to this in SPSS or Excel. Thanks.




Best answer:


Your Ad Here


Answer by Matt
Not familiar with SPSS (I'm a Stata user), but here's how I'd do it in excel:

Put your mean in cell E1 and your st. Dev in cell F1

In A1, enter the following function:
=rand()

This generates a random number between 0 and 1

In B1, enter the following function
=normsinv(A1)

This interprets the value in A1 as a probability and returns the Z score associated with that probability

In C1, enter the following function:

=E1+B1*F1

This gives you a value in the same range as your real data

Highlight A1-C1 and drag the fill bar down until you have the number of observations you want.

Voila, you have a dataset in your C column that is normally distributed with the standard deviation and mean of your real data.

Before using the data you generated, you probably want to highlight all of the cells you are using in the A:C columns and do a paste special - values, so you don't paste the formulas.

Hope this helps.





Know better? Leave your own answer in the comments!

Your Ad Here



Other posts like this, by keyword:

Single:

How can touching a single cell lead to a relatively large number of cells exhibiting a response to that touch? ...
Light Scattering Reviews, Vol. 6: Multiple and Single Light Scattering Reviews ...
Single mom, should I stay home, start a home business, or go to work? ...
Buying Solo : The Single Woman’s Guide to Buying a First Home ...
Prescription for Romance. Marie Ferrarella. Love and the Single Dad (Mills & Boon Cherish) ...
Government sets out proposals for single competition body ...
Single Engine Training Course Beech Bonanza Aircraft DVD ...
Managing Your Money: a Guide for Single Parents Reviews ...
Classic Poetry: three books by Robert Frost in a single file, improved 8/25/2010 ...
Single. Women. Entrepreneurs. ...
Series:

Come Look With Me: Exploring Landscape Art With Children (Come Look With Me Series) ...
When is the new series of american chopper repeated on discovery? ...
Fuzzy and Neural Approaches in Engineering (Adaptive and Learning Systems for Signal Processing, Communications and Control Series) ...
Modularity: Understanding the Development and Evolution of Natural Complex Systems (Vienna Series in Theoretical Biology) ...
Village Diary (The Fairacre Series #2) Reviews ...
Missing in Death (In Death Series) Reviews ...
Water Management in Islam (Water Resources Management and Policy Series) Reviews ...
Doing Family Therapy, Second Edition: Craft and Creativity in Clinical Practice (The Guilford Family Therapy Series) ...
Biology and Creation: An Introduction Regarding Life and Its Origins (Creation Research Society Reader Series, No. 4) ...
SF Giants World Series Parade ...
Lastest:

Q&A: What books on Judaism would you recommend? ...
Shooting & Selling Your Photos: The Complete Guide to Making Money with Your Photography ...
Royal Danish Ballet will live stream and tweet weekend’s Guggenheim performances ...
Q&A: What determines if an airport is considered Regional or International? ...
[Eddie Cicotte, Chicago AL, at Polo Grounds, NY (baseball)] (LOC) ...
Wind power generating set displayed in Shandong ...
Memoirs of a Blackened Sky – 03-13-10 (19) ...
Q&A: What could you invent to improve television programmjng and viewership? ...
From Neurons to Neighborhoods : The Science of Early Childhood Development ...
EASYRIDERS DECEMBER 1999 STURGIS MADNESS BILL GOLDBERG THE DAY I MET ELVIS AND HOT TOPLESS CHICKS! ...
NEWS:

Q&A: What books on Judaism would you recommend? ...
Shooting & Selling Your Photos: The Complete Guide to Making Money with Your Photography ...
Breaking News on Supplements & Nutrition – North America EU edition ...
Royal Danish Ballet will live stream and tweet weekend’s Guggenheim performances ...
Q&A: What determines if an airport is considered Regional or International? ...
[Eddie Cicotte, Chicago AL, at Polo Grounds, NY (baseball)] (LOC) ...
Wind power generating set displayed in Shandong ...
Memoirs of a Blackened Sky – 03-13-10 (19) ...
Q&A: What could you invent to improve television programmjng and viewership? ...
From Neurons to Neighborhoods : The Science of Early Childhood Development ...
Standard:

Housing sales flat in Santa Clara County ...
English Standard Version Bible with Apocrypha ...
Reading Comprehension GMAT Strategy Guide 7, Fourth Edition (Manhattan GMAT the new standard) ...
Further Mathematics for the IB Diploma Standard Level ...
Build Your Own Wood PICNIC TABLE Family Size Park Style Indoor or Outdoor Standard 7 with Attached Benches Pattern DIY PLANS; So Easy, Begin ...
Standard C: A Reference (Prentice Hall Series on Programming Tools and Methodologies) ...
KJV Standard Lesson Commentary 2007-2008: International Sunday School Lessons ...
Generate:

Numbers:

Numerology is the symbolic meaning of numbers and has a surprisingly large influence on our lives. ...
What are the official numbers for saving internet radio? ...
Charles Dickens’ Christmas Numbers (Vol. 2) – illustrated edition and links to download FREE audiobooks Reviews ...
Gulf women taking up sports in growing numbers, their success fueling dreams of Olympic glory ...
Makin’ Numbers: Howard Aiken and the Computer (History of Computing) ...
Mean:

What does necesito estudiar espanol hoy mean? ...
What does “Yo espero en la estacion de autobuses” mean in espanol (spanish)? ...
Mean Girls All Grown Up: Surviving Catty and Conniving Women ...
SPSS:

particular:

deviation:

No comments:

Post a Comment