normal scores transformation
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
-
nfmohammed
- Posts: 8
- Joined: Wed May 12, 2010 1:35 am
normal scores transformation
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
Would
be what you want?
Code: Select all
series z=(x-@mean(x))/@stdev(x)-
nfmohammed
- Posts: 8
- Joined: Wed May 12, 2010 1:35 am
Re: normal scores transformation
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
series z = @qnorm(@ranks(x)/(@obs(x)+1))
Who is online
Users browsing this forum: No registered users and 2 guests
