# Revision history [back]

Please can you post your data and draft SHAZAM code so we can assist.

Please can In general the TOBIT capabilities in SHAZAM are relatively easy to use. Here is an rough approach based on the problem you post your have described.

* Set a sample size and read the data, the variable names are in the first row
* so use the NAMES option. Without the sample command SHAZAM will figure it
* out from the amount of data and draft SHAZAM code so we can assist.read in.
sample 1 100

* Perform the TOBIT regression. Use LIST to pront the value of the index,
* the density, the cumulative probabilities for index I and the observed,
* expected and conditional values of the dependent variable.
tobit credit location sector gender income collateral age size edu / list

* Perform some hypothesis tests to derive the standard error, and associated
* asymptotic norma test statistics for the regression coefficients. Note that
* the coefficient on the dependent variable (credit) is 1/sigma
test location/credit
test collateral/credit
test constant/credit


There are further details within the SHAZAM manual and a number of examples contained within the \help\manuals, \textbook and \help\examples subfolders of the SHAZAM installation directory. Examples include censored (double censored, left censored etc), multiplicative heteroskedasticity and the calculating of marginal effects.

In general the TOBIT capabilities in SHAZAM are relatively easy to use. Here is an rough approach based on the problem you have described.

* Set a sample size and read the data, the variable names are in the first row
* so use the NAMES option. Without the sample command SHAZAM will figure it
* out from the amount of data read in.
sample 1 100

* Perform the TOBIT regression. Use LIST to pront the value of the index,
* the density, the cumulative probabilities for index I and the observed,
* expected and conditional values of the dependent variable.
tobit credit location sector gender income collateral age size edu / list

* Perform some hypothesis tests to derive the standard error, and associated
* asymptotic norma normal test statistics for the regression coefficients. Note that
* the coefficient on the dependent variable (credit) is 1/sigma
test location/credit
test collateral/credit
test constant/credit


There are further details within the SHAZAM manual and a number of examples contained within the \help\manuals, \textbook and \help\examples subfolders of the SHAZAM installation directory. Examples include censored (double censored, left censored etc), multiplicative heteroskedasticity and the calculating of marginal effects.

In general the TOBIT capabilities in SHAZAM are relatively easy to use. Here is an rough approach based on the problem you have described.

* Set a sample size and read the data, the variable names are in the first row
* so use the NAMES option. N.B. Without the a sample command SHAZAM will attempt to
* figure it
* out from the amount of data read in.
sample 1 100

* Perform the TOBIT regression. Use LIST to pront print the value of the index,
* the density, the cumulative probabilities for index I and the observed,
* expected and conditional values of the dependent variable.
tobit credit location sector gender income collateral age size edu / list

* Perform some hypothesis tests to derive the standard error, and associated
* asymptotic normal test statistics for the regression coefficients. Note that
* the coefficient on the dependent variable (credit) is 1/sigma
test location/credit
test collateral/credit
test constant/credit


There are further details within the SHAZAM manual and a number of examples contained within the \help\manuals, \textbook and \help\examples subfolders of the SHAZAM installation directory. Examples include censored (double censored, left censored etc), multiplicative heteroskedasticity and the calculating of marginal effects.

In general the TOBIT capabilities in SHAZAM are relatively easy to use. Here is an a rough approach based on the problem you have described.

* Set a sample size and read the data, the variable names are in the first row
* so use the NAMES option. N.B. Without a sample command SHAZAM will attempt to
* figure it out from the amount of data read in.
sample 1 100

* Perform the TOBIT regression. Use LIST to print the value of the index,
* the density, the cumulative probabilities for index I and the observed,
* expected and conditional values of the dependent variable.
tobit credit location sector gender income collateral age size edu / list

* Perform some hypothesis tests to derive the standard error, and associated
* asymptotic normal test statistics for the regression coefficients. Note that
* the coefficient on the dependent variable (credit) is 1/sigma
test location/credit
test collateral/credit
test constant/credit


There are further details within the SHAZAM manual and a number of examples contained within the \help\manuals, \textbook and \help\examples subfolders of the SHAZAM installation directory. Examples include censored (double censored, left censored etc), multiplicative heteroskedasticity and the calculating of marginal effects.