Sunday, December 29, 2019

Maximum Likelihood Estimation Examples

Suppose that we have a random sample from a population of interest.  We may have a theoretical model for the way that the population is distributed.  However, there may be several population parameters of which we do not know the values.  Maximum likelihood estimation is one way to determine these unknown parameters.   The basic idea behind maximum likelihood estimation is that we determine the values of these unknown parameters.  We do this in such a way to maximize an associated joint probability density function or probability mass function.  We will see this in more detail in what follows.  Then we will calculate some examples of maximum likelihood estimation. Steps for Maximum Likelihood Estimation The above discussion can be summarized by the following steps: Start with a sample of independent random variables X1, X2, . . . Xn from a common distribution each with probability density function f(x;ÃŽ ¸1, . . .ÃŽ ¸k).  The thetas are unknown parameters.Since our sample is independent, the probability of obtaining the specific sample that we observe is found by multiplying our probabilities together.  This gives us a likelihood function L(ÃŽ ¸1, . . .ÃŽ ¸k)   f( x1 ;ÃŽ ¸1, . . .ÃŽ ¸k) f( x2 ;ÃŽ ¸1, . . .ÃŽ ¸k) . . .  f( xn ;ÃŽ ¸1, . . .ÃŽ ¸k) ÃŽ   f( xi ;ÃŽ ¸1, . . .ÃŽ ¸k).Next, we use Calculus to find the values of theta that maximize our likelihood function L.  More specifically, we differentiate the likelihood function L with respect to ÃŽ ¸ if there is a single parameter.  If there are multiple parameters we calculate partial derivatives of L with respect to each of the theta parameters.To continue the process of maximization, set the derivative of L (or partial derivatives) equal to zero and solve for theta.We can then use o ther techniques (such as a second derivative test) to verify that we have found a maximum for our likelihood function. Example Suppose we have a package of seeds, each of which has a constant probability p of success of germination.  We plant n of these and count the number of those that sprout.  Assume that each seed sprouts independently of the others.  How do we determine the maximum likelihood estimator of the parameter p? We begin by noting that each seed is modeled by a Bernoulli distribution with a success of p. We let X be either 0 or 1, and the probability mass function for a single seed is f( x ; p ) px (1 - p)1 - x.   Our sample consists of n  Ã‚  different Xi, each of with has a Bernoulli distribution.  The  seeds that sprout have Xi 1 and the seeds that fail to sprout have Xi 0.   The likelihood function is given by: L ( p ) ÃŽ   pxi (1 - p)1 - xi We see that it is possible to rewrite the likelihood function by using the laws of exponents.   L ( p )   pÃŽ £ xi (1 - p)n - ÃŽ £ xi Next we differentiate this function with respect to p.  We assume that the values for all of the Xi are known, and hence are constant.  To differentiate the likelihood function we need to use the product rule along with the power rule: L ( p )   ÃŽ £ xip-1 ÃŽ £ xi (1 - p)n - ÃŽ £ xi - (n - ÃŽ £ xi )pÃŽ £ xi (1 - p)n-1 - ÃŽ £ xi We rewrite some of the negative exponents and have: L ( p ) (1/p) ÃŽ £ xipÃŽ £ xi (1 - p)n - ÃŽ £ xi - 1/(1 - p) (n - ÃŽ £ xi )pÃŽ £ xi (1 - p)n - ÃŽ £ xi [(1/p) ÃŽ £ xi  - 1/(1 - p) (n - ÃŽ £ xi)]ipÃŽ £ xi (1 - p)n - ÃŽ £ xi Now, in order to continue the process of maximization, we set this derivative equal to zero and solve for p: 0 [(1/p) ÃŽ £ xi  - 1/(1 - p) (n - ÃŽ £ xi)]ipÃŽ £ xi (1 - p)n - ÃŽ £ xi Since p and (1- p) are nonzero we have that 0 (1/p) ÃŽ £ xi  - 1/(1 - p) (n - ÃŽ £ xi). Multiplying both sides of the equation by p(1- p) gives us: 0 (1 - p) ÃŽ £ xi  - p (n - ÃŽ £ xi). We expand the right hand side and see: 0   ÃŽ £ xi  - p ÃŽ £ xi  - p n pÃŽ £ xi   ÃŽ £ xi - p n. Thus ÃŽ £ xi p n and (1/n)ÃŽ £ xi   p.  This means that the maximum likelihood estimator of p is a sample mean.  More specifically this is the sample proportion of the seeds that germinated.  This is perfectly in line with what intuition would tell us.  In order to determine the proportion of seeds that will germinate, first consider a sample from the population of interest. Modifications to the Steps There are some modifications to the above list of steps.  For example, as we have seen above, is typically worthwhile to spend some time using some algebra to simplify the expression of the likelihood function.  The reason for this is to make the differentiation easier to carry out. Another change to the above list of steps is to consider natural logarithms. The maximum for the function L will occur at the same point as it will for the natural logarithm of L.  Thus maximizing ln L is equivalent to maximizing the function L. Many times, due to the presence of exponential functions in L, taking the natural logarithm of L will greatly simplify some of our work. Example We see how to use the natural logarithm by revisiting the example from above.  We begin with the likelihood function: L ( p )   pÃŽ £ xi (1 - p)n - ÃŽ £ xi . We then use our logarithm laws and see that: R( p ) ln L( p ) ÃŽ £ xi ln p (n - ÃŽ £ xi) ln(1 - p). We already see that the derivative is much easier to calculate: R( p ) (1/p)ÃŽ £ xi - 1/(1 - p)(n - ÃŽ £ xi) . Now, as before, we set this derivative equal to zero and multiply both sides by p (1 - p): 0 (1- p ) ÃŽ £ xi -  p(n - ÃŽ £ xi) . We solve for p and find the same result as before. The use of the natural logarithm of L(p) is helpful in another way.  It is much easier to calculate a second derivative of R(p) to verify that we truly do have a maximum at the point (1/n)ÃŽ £ xi   p. Example For another example, suppose that we have a random sample X1, X2, . . . Xn from a population that we are modelling with an exponential distribution.  The probability density function for one random variable is of the form f( x ) ÃŽ ¸-1 e -x/ÃŽ ¸ The likelihood function is given by the joint probability density function. This is a product of several of these density functions: L(ÃŽ ¸) ÃŽ   ÃŽ ¸-1 e -xi/ÃŽ ¸   ÃŽ ¸-n e -ÃŽ £ xi/ÃŽ ¸    Once again it is helpful to consider the natural logarithm of the likelihood function.  Differentiating this will require less work than differentiating the likelihood function: R(ÃŽ ¸) ln L(ÃŽ ¸) ln [ÃŽ ¸-n e -ÃŽ £ xi/ÃŽ ¸] We use our laws of logarithms and obtain: R(ÃŽ ¸) ln L(ÃŽ ¸) - n ln ÃŽ ¸Ã‚   -ÃŽ £xi/ÃŽ ¸ We differentiate with respect to ÃŽ ¸ and have: R(ÃŽ ¸)   - n / ÃŽ ¸Ã‚   ÃŽ £xi/ÃŽ ¸2 Set this derivative equal to zero and we see that: 0 - n / ÃŽ ¸Ã‚   ÃŽ £xi/ÃŽ ¸2. Multiply both sides by ÃŽ ¸2 and the result is: 0 - n ÃŽ ¸Ã‚   ÃŽ £xi. Now use algebra to solve for ÃŽ ¸: ÃŽ ¸ (1/n)ÃŽ £xi. We see from this that the sample mean is what maximizes the likelihood function.  The parameter ÃŽ ¸ to fit our model should simply be the mean of all of our observations. Connections There are other types of estimators.  One alternate type of estimation is called an unbiased estimator.  For this type, we must calculate the expected value of our statistic and determine if it matches a corresponding parameter.

Saturday, December 21, 2019

Essay about The Spirit In Context - 1872 Words

What are the possible points of agreement and points of tension between different religious schools of thought on the body, in relation to the Holy Spirit? How might Christians respond to these? Introduction Scripture seems to contradict itself with regard to the human body. Sometimes the body is seen as precious, for instance in 1 Cor 6:19-30, and sometimes as a hinderance to unity with Christ, 2 Cor 5:6-8. This seeming ambiguity within scripture has created distinct and conflicting schools of thought among Christian thinkers regarding the body and spirituality. Some advocate that the body is an essential part of our spirituality and should be embraced; others that the body is a hinderance to it, and should be approached with suspicion†¦show more content†¦Anthony of the Desert, who is considered to be the father of Christian monasticism, is said to have experienced overwhelming shame at the prospect of food, rest and other bodily needs, so that he would not be seen taking care of his physical needs by others.5 St Francis of Assisi was equally undermining of his bodily needs. Even when close to death, he feared that accepting necessary treatment was an indulgence. It was only at the last minute that he was successfully persuaded to serve his body by caring for it in the same way that it had cared for him, by which point it was too late. Dualism continued through the ages in various forms, but was specifically revived during the Age of Enlightenment, which emphasized science and reason over faith and tradition. The movement sought to release man from God’s authority, resulting in a shift from Theism to Deism. Secularism took Deism one step further, suggesting that if God does not interact with mankind and is not near, He is not needed. This perspective unfolded throughout the western world,Show MoreRelatedContext And Imagery Of The Visionary Spirit Of Mark Weiser2484 Words   |  10 PagesContext and Capture in Healthcare Imagining a glimpse of the future beings with the spark of inspiration rooted in the visionary spirit of Mark Weiser. Despite his short life, Weiser initiated the beginning of what we know as ubiquitous computing. His transformative notion in the sense of what computing should provide to the experience of humans has resonated for decades throughout the research community. The bridge between humans and computers and the divide of the digital and physical world shouldRead MoreThe Opening Scene Of The Book Acts Essay1704 Words   |  7 Pageswith a commission: to be witnesses. In Acts 1:8, Jesus stated, â€Å"[Y]ou will receive power when the Holy Spirit has come on you, and you will be My witnesses in Jerusalem, in all Judea and Samaria, and to the ends of the earth.† Contextually, these last words of Jesus were remarkable to the immediate audience, and His last words are remarkable to those who properly interpret Acts 1:8. The context of Acts 1:8, the interpretation, and the practically of Acts 1:8 reveal effective principles for ChristiansRead MoreThe Holy Spirit : Who He Is, What He Does1515 Words   |  7 Pages The Holy Spirit: Who He is, What He Does Author: Robert Gromacki HOMI 860-397 LUO Jonathan Behler L23929745 â€Æ' In this paper, I will review Robert Gromacki’s book The Holy Spirit: Who He is, What He Does I will detail what I feel the book is about. I will emphasize various points given by the author that stood out to me. Finally, I will give my personal evaluation of the book. Gromacki’s book is comprised of fifteen chapters. The book focuses on the personality, deity, and symbols of the HolyRead MoreSpirit Baptism Is About The Restoration Of God s Covenant Community Essay1121 Words   |  5 Pages The subject of the baptism of the Holy Spirit has driven a wedge between Pentecostals and Evangelicals. However, both parties fail to understand the original meaning of spirit baptism. Therefore, this paper analyzes Lee’s argument that Spirit Baptism is about the restoration of God’s covenant community. First, I will examine the articles main point along with the information he used to support his argument. Next, this paper addresses the author’s assumptions that are in his article. This paperRead MoreTrinitarian Baptismal Formula1231 Words   |  5 Pagesbehold, the heavens were opened, and he saw the Spirit of God descending as a dove and lighting on Him, and behold, a voice out of the heavens said, â€Å"This is My beloved Son, in whom I am well-pleased.† At the end of his earthly ministry, Jesus gave the command to his disciples to â€Å"Go, therefore, and make disciples of all nations, baptizing them in the name of the Father, and of the Son, and of the Holy Spirit.† As soon as they received the Holy Spirit at Pentecost, the disciples began to carry outRead MoreMarcel Mausss Indian Gift1548 Words   |  7 PagesGift giving, particularly during the holidays, is regular facet of our daily lives. Whether or not all gifts carry the obligation of reciprocity is characterized by the gift’s cultural context. The Gift: The Form and the Reason for Exchange in Archaic Societies, (1925) Marcel Mauss’ ethnographic book, presents the necessity of reciprocation through analysing the gift giving practices of the Maori and the Kwakiutl. Jonathan Parry revisits Mauss’ theory in his essay, â€Å"The Gift, the Indian Gift andRead MoreThe Role Of The Church In Orthodoxy Is To Reconcile Man1329 Words   |  6 Pageshave a deep and profound meaning in the life of the believer. They are intended to guide each believer in their respective time and context. To deny the reality or the expression of the truth in the canons is to deny the influence of the Church Fathers. In addition, the person who holds this view is blatantly passing judgment on the faithful who lived in a different context and age. This inaccurate viewpoint often forces one to judge without a proper understanding of all the relevant facts. IronicallyRead MoreSummary Of The House Of The Spirits 1651 Words   |  7 Pages2017 The House of the Spirits, a Women’s World January 8, 1981, Allende begin writing a goodbye letter to her 99-year-old grandfather who was dying, she narrates in her biography, Paula, â€Å"I wanted to tell him not to worry, that nothing would be lost of the treasury of anecdotes he had told me through the years of our comradeship; I had forgotten nothing† (Levine). Once she started she could not stop, it quickly turned into her family story titled, The House of the Spirits. This book was a way toRead MoreThe Book Of Romans Is Identified As An Epistle1289 Words   |  6 Pagesits entirety in one sitting to understand the intent of the letter. It is particularly profitable to also consider paragraphs as being the main units of thought. Follow the logical development of the argument as the letter progresses. Historical context is of vital importance when studying an epistle. No serious scholar today questions that Paul is the author of Romans. Dating ancient letters is notably difficult, but in the case of Romans we can securely pinpoint the letter between A.D. 55 andRead MoreEssay on Authority in Lisa Cahill’s â€Å"Homosexuality1169 Words   |  5 Pagesshe values modern cultural context and general biblical themes over church tradition and specific biblical texts. Cahill sees Scripture as having three dimensions, which she defines as â€Å"the specific texts on the issue at hand, specific texts on related issues, and general biblical themes or patterns† (64). For specific texts, she mentions Leviticus, Deuteronomy, and Paul’s letters to the Corinthians, the Romans, and Timothy. Citing the historical and social contexts of the Old Testament texts

Friday, December 13, 2019

The AIDS Epidemic Outbreak Free Essays

Who would have ever thought that a disease, possibly brought to America by infected African monkeys, would affect the country forever? This is exactly what happened in the late nineteenth century when the Acquired Immune Deficiency Syndrome (AIDS) was introduced to America. The unpredictable epidemic caused a huge outrage for years to come. The outbreak of the HIV virus, AIDS, in the early 1980†³s resulted in medical research, public misconceptions, and ultimately growing awareness. We will write a custom essay sample on The AIDS Epidemic Outbreak or any similar topic only for you Order Now Appearing first only in homosexual men, AIDS was an unfamiliar virus to the entire United States. Reports of unknown and unexplainable symptoms caused much confusion among patients and even doctors. In 1981, the first reports explained that 41 homosexual men in the San Fransisco area had â€Å"†¦ a rare and often rapidly fatal form of cancer† (Altman n. p. ). After years of researching these cases and millions of others appearing later in the decade, scientists discovered that it was not cancer they were dealing with. They called it HIV (Human Immune Virus) which leads to AIDS (Acquired Immune deficiency Syndrome) that â€Å"†¦ rogressively destroys the body†s ability to fight infections and certain cancers† (ARIC n. p. ). With minimal research there was nothing to initially â€Å"combat† the virus; but, thanks to time and funding, there were some drugs that seemed to help stop the spread of the virus in ones body. These anti-retroviral drugs still don’t constitute as cures ! for the virus, but have definitely helped and continue to help patients live longer (ARIC n. p. ). Since a vaccine to â€Å"†¦ evoke an immune system response that will prevent infection or disease development† still has not been found, other treatments have been tested. Accupuncture, stress management, hypnosis, exercise, good nutrition, and an overall positive attitude all seem to alleviate symptoms even if they are not proven cures of the virus (Packer 78-88). Although AIDS is a life threatening disease, there were many people living with it by keeping healthy and staying safe. Scott Fried had not tried any of the aniviral drugs; however, practices such as taking 80 herbs and vitamins a day, staying physically fit, visiting the doctor every three months, and being happy have kept him alive with the virus for thirteen years (Fried speach). Most victims have not lived as long as he which is why AIDS has lead to some extensive research. Investigators supported by private and public funds continued to search for a cure or even an explanation of HIV/AIDS for two decades because like the â€Å"b! lack plague†, AIDS has killed off millions of people in a short time. Also like the black plague did, AIDS carried with it a long string of misconceptions. In the Middle Ages anyone carrying the â€Å"black plague† was to be avoided. Similarly, the public would often avoid people with AIDS. There were fabrications that AIDS could be caught by another human being from sneezing, coughing, hugging, kissing or even any â€Å"casual contact† ; so, people stayed away from those who were infected by AIDS. Another lie was that AIDS was caused by something magical or mystical (Taylor 23-24). Though some were overly careful of â€Å"catching† the virus, others were not careful enough. Since the initial outbreak was among gay men it was simply assumed that only gay men could be affected. Then reports of IV drug users having the disease still seemed to eliminate the chance of the common person being infected. Next, hemophiliacs and people who had had blood transfusions were reported followed by blacks, Hispanics, lesbians, straight women and finally white, heterosexual, males. Still everyone said â€Å"It can†t happen to me,† until it did (Fried speech). This assumption that AIDS only affected few amounts of people and only minorities was the basis of all misconceptions about that virus. People did not believe the virus could have any impact on their lives; but, it did impact everyones lives directly and or indirectly. Now that â€Å"AIDS is the second leading cause of death in the United States among people aged 25 to 44†³ (ARIC n. p. ), the misconceptions have been proven to be false. Although it was statistically correct that 66% of people infected by AIDS were homosexual males, 24% were IV drug users, and only 4% were heterosexual males or females (Packer 17) it was still a fact that AIDS can affect anyone. After years of research and statistical reports there were finally people relaying these messages to the public. Motivational speakers, like Scott Fried, continue to reach out to teens and adults about AIDS and sex. Information about these subjects can also be found easily, not only at hospitals or doctors† offices; but in books, magazines, pamphlets, and even on the internet. Conducting a simple search on http://www. yahoo. com came up with 164 â€Å"category matches,† 1,206 â€Å"web site matches,† and 237,000 web page matches. This means that HIV/AIDS appears at least 238,370 times on th! e world wide web and it shows that AIDS in an important component of modern life. Not only are people becoming aware of the AIDS epidemic, but they are becoming aware of sexuality through learning about AIDS. Before the outbreak of this fatal virus sex was only spoken about discretely. Now even kids are being made aware of the dangers of sex and spreading HIV. In this way HIV/AIDS had a positive affect on the country. People are aware of the facts and probably make better decisions. Some experts have said that AIDS will remain the way it is now and others predict it growing into a â€Å"huge epidemic† (Taylor 28). Hopefully due to this expansion of knowledge and recognition, he AIDS virus will not spread as quickly and infect as many people as it has in the past. HIV positive, homosexual, male, Scott Fried, said, â€Å"Ironically one of the blessings that HIV/AIDS has brought me is the abundance of love. . . † and perhaps that is true. Pertaining to the eighties and the early onset of the virus, AIDS caused much more commotion than love. However, every cloud has a silver lining and the hysteria has finally cleared up some myths. It has opened up the public to not only HIV/AIDS awareness, but sexual cognizance as well. How to cite The AIDS Epidemic Outbreak, Essay examples