how to estimate a probit model in matlab?

Hi, guys, suppose my data is generated by the following model
, where is the indicator function, and e follows a normal distribution with mean 0 and variance 1.
This is a probit model.
How to estimate β using maximum likelihood in matlab?
Thanks!

1 Comment

Seth Smith
Seth Smith on 10 Feb 2023
Edited: Seth Smith on 10 Feb 2023
"glmfit" is the fucntion you probably want. But the correct answer is use a better and cheaper tool than matlab.

Sign in to comment.

Answers (0)

Asked:

on 28 Sep 2020

Edited:

on 10 Feb 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!