Exploring maximum likelihood using graphs in TI Nspire

Consider a case of binomial process with n=10, exploring the likelihood function in TI Nspire using variable slider p:

mle1

For the log function, window settings has to be adjusted for a complete picture.

mle2

Besides graphical solutions, the maximum can also be obtained from differentiating with respect to p for a zero result:

mle3

For usage in logistic regression, the Nelder-Mead method can be applied for determining the maximum value.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s