search for: zxbar

Displaying 1 result from an estimated 1 matches for "zxbar".

Did you mean: xbar
2011 Apr 25
0
probit regression marginal effects
...lna$f025grouped) #I put variable "f025grouped" 9 times because this variable consists of 9 levels > ttt <- as.data.frame(ttt) > xbar <- as.matrix(mean(cbind(1,ttt[1:19]))) #1:19 position of variables in dataframe ttt > betaprobit4AKIE <- probit4AKIE$coefficients > zxbar <- t(xbar) %*% betaprobit4AKIE > scalefactor <- dnorm(zxbar) > marginprobit4AKIE <- scalefactor * betaprobit4AKIE[2:20] #2:20 are the positions of variables in the output of the probit model 'probit4AKIE' (variables need to be in the same ordering as in data.frame ttt), the...