normal scores transformation

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason

nfmohammed
Posts: 8
Joined: Wed May 12, 2010 1:35 am

normal scores transformation

Postby nfmohammed » Wed May 12, 2010 1:51 am

How do I get the normal scores for the variables using eviews 7?

startz
Non-normality and collinearity are NOT problems!
Posts: 3798
Joined: Wed Sep 17, 2008 2:25 pm

Re: normal scores transformation

Postby startz » Wed May 12, 2010 6:41 am

Would

Code: Select all

series z=(x-@mean(x))/@stdev(x)
be what you want?

nfmohammed
Posts: 8
Joined: Wed May 12, 2010 1:35 am

Re: normal scores transformation

Postby nfmohammed » Wed May 12, 2010 5:07 pm

It is not really z scores, the transformation involves ranking the observations, then the ranks are being substituted by scores on the normal distribution. The scores are from the normal distribution by dividing the distribution into the number of observations plus one regions on the basis that each region has equal probability. For example, if there are six observations the normal distribution would be divided into seven equally probable parts so that the original value are replaced by normal scores (here -1.0676, -0.5659, -0.1800, 0.1800, 0.5659, 1.0676) rather than the ranks 1,2.....,6.

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: normal scores transformation

Postby EViews Glenn » Thu May 13, 2010 9:07 am

series z = @qnorm(@ranks(x)/(@obs(x)+1))


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests