Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Wild Bootstrap for Tobit

From   Maria Navarro <>
Subject   st: Wild Bootstrap for Tobit
Date   Thu, 18 Oct 2012 17:19:44 +0100

Hi all,

I would like to apply a wild bootstrap procedure to a non-linear
model, a Tobit to be more specific. I would appreciate if you could
help me with this (See below my program for a linear regression)

Thanks a lot in advance

Best regards,

forv i=1(1)400{

quietly reg y x z
predict xb
predict u, res
gen ustar=-0.618034*u
replace ustar=1.618034*u if runiform() > 0.723607
gen ystar=xb+ustar
quietly reg ystar x z

matrix b=_b[x]

if `i'==1 matrix mx=b

else matrix mx=(mx \ b)

svmat mx

sum mx
*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index