factor based on deviation from mean
Moderators: EViews Gareth, EViews Jason, EViews Steve, EViews Moderator
-
- Posts: 1
- Joined: Fri Mar 09, 2018 2:04 pm
factor based on deviation from mean
I have an equal-weighted index of the z-score for 10 variables. For each variable, I want to associate a constant for that variable's z-score relative to the mean z-score of all other variables. For instance, X1 = 2.5 mean(X2-X10) = 2.0 if abs(X1 - mean(X2-X10)>1 then 0.2, >0.5 then 0.4, etc. Basically I want to reduce the weight of variables that significantly deviate from the mean. Does anyone know a code that will facilitate this?
-
- EViews Developer
- Posts: 2672
- Joined: Wed Oct 15, 2008 9:17 am
Re: factor based on deviation from mean
You want the comparison to the mean of the other variables for each observation?
Who is online
Users browsing this forum: No registered users and 32 guests