全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件
3848 1
2005-09-19

I use proc nlp command to run regression with truncated sample. My regression is to regress return on deps, a bivariate regression. Return is right-skewed with a fat tail and deps is left-skewed also with a fat tail.

Model: Return = a+ b*deps + error ; (return and deps are continuous normally distributed variables. Truncation point: return = 0

My SAS programme is:

proc nlp data = goodnews tech=congra;* goodnews group means all positive return observations, left-truncated sample; parms a b v =0.5; bounds v>0; max l; d = (0-a - b*deps)/v; t = (return - a - b*deps)/v; m = cdf ('Normal',d, 0,1); n = (2*constant ('pi'))**0.5; denom2 =1/(v*(1-m)*n); ex = exp(-0.5*t**2); prob = denom2 * ex; l = log (prob); run; For the right-truncated sample, it works well and produce the same results as I could get from Stata. But for the left-truncated sample, Sas program just cannot find MLE estimate or produce unstable estimate. For my research design, it would be very difficult to interpret the coefficient if I transform both variables into variables more close to normal distribution.How could I solve this problem?

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2005-9-19 07:28:00
I think that my first question would be: why are you using PROC NLP to do statistical modeling at all? PROC NLP is designed for operations research problems. Try using PROC NLMIXED instead. I also think you have made the problem a lot more complex than you would need if it were written in NLMIXED instead. HTH, David -- David L. Cassell mathematical statistician Design Pathways 3115 NW Norwood Pl. Corvallis OR 97330

[此贴子已经被作者于2005-9-19 7:46:43编辑过]

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群